public void updateRequest(UserTabpage oPage)
        {
            if (this.oSession.HTTPMethodIs("POST") && oPage.getRequestType_cb().Text == "POST" && this.oSession.uriContains(oPage.getUrlTextBox().Text) && this.oSession.GetRequestBodyAsString().Contains(oPage.getRequestbody_tb().Text))
            {
                oSession.utilSetRequestBody(this.setRequestBody(oSession.GetRequestBodyAsString(), oPage));

                string ori_url = oSession.url;
                string new_url = this.setRequestUrl(ori_url, oPage);
                oSession.url = new_url;

            }
            else if (this.oSession.HTTPMethodIs("GET") && oPage.getRequestType_cb().Text == "GET" && this.oSession.uriContains(oPage.getUrlTextBox().Text))
            {
                string ori_url = oSession.url;
                string new_url = this.setRequestUrl(ori_url, oPage);
                oSession.url = new_url;
            }
        }
 /*更新返回值和json预览*/
 public void updateResponseBody(UserTabpage oPage)
 {
     if (this.oSession.HTTPMethodIs("POST") && oPage.getRequestType_cb().Text == "POST" && this.oSession.uriContains(oPage.getUrlTextBox().Text) && this.oSession.GetRequestBodyAsString().Contains(oPage.getRequestbody_tb().Text))
     {
         //oPage.updatepPreview_response1();
         oSession.utilSetResponseBody(setResponseBody(oPage.getResponseTextBoxValue().Text, oPage.getPara_list(), oSession, oPage));
     }
     else if (this.oSession.HTTPMethodIs("GET") && oPage.getRequestType_cb().Text == "GET" && this.oSession.uriContains(oPage.getUrlTextBox().Text))
     {
         //oPage.updatepPreview_response1();
         oSession.utilSetResponseBody(setResponseBody(oPage.getResponseTextBoxValue().Text, oPage.getPara_list(), oSession, oPage));
     }
 }