LoadRunner??????HTTP????
???????????? ???????[ 2013/9/26 15:20:14 ] ????????
?????????????????HTTP/HTMLЭ?鷢?????????????????vuser?????????LoadRunner??ν???HTTP??????
??????????????????????????????????????????????????????????????????????????????????????????????з?????
????1?????????
??????Action??漲???????????????
????????
merc_timer_handle_t timer;
double wasteTime=0;
char *ActualBuffer;
int NumberOfBytes;
char *tmp;
char tmpcode[24]={0};
//iterator
int i=0;
int j = 0;
int m = 0;
//mobile
char codearray[100][24]={0}; //?洢mobile????????????????????24????
char* code;
short codelen; //?洢mobile????????????
short codenum; //????????
int retUL = -1; //????????
//int lenUL = 0; //??????????
int retDL = -1; //????????
int lenDL = 0; //??????????
int flag = 0; //?????code????
//pc
//char retcodeUL[10]={0};
//char retcodeDL[2048]={0};
char* pcretUL;
char pccode[24]={0};
char pccodearray[1024][24]={0};
short pccodelen=0;
????2???????????????
????????????????????????????????й?????
????????
web_set_max_html_param_len("2000000");//????????????????????????????????????????С
//??ù???????????????????????????????????????磬??÷??????????????????
web_reg_save_param("filecontent"??
"LB="??
"RB="??
"Search=BODY"??
LAST);
lr_rendezvous("Re_UL_PC");
lr_start_transaction("UL_PC");
//pc???
web_url("create"??
"URL=http://10.15.107.112:9089/sys/userdata/create?userid={userid}&content={'group0':[{'data':'{code1}.stk'??'time':1376904823299640}??{'data':'{code2}.stk'??'time':1376904823299647}??{'data':'{code3}.stk'??'time':1376904823299651}??{'data':'{code4}.stk'??'time':1376904836969909}]}&fileName=mystock.json&rawtype=true&Accept=json"??
"Resource=0"??
"RecContentType=text/html"??
"Referer="??
"Snapshot=t1.inf"??
"Mode=HTTP"??
LAST);
pcretUL = lr_eval_string("{filecontent}");
if(NULL != strcmp(pcretUL??"{"state":1"))
lr_end_transaction("UL_PC"??LR_PASS);
else
lr_end_transaction("UL_PC"??LR_FAIL);
???????????????У?web_reg_save_param?????????????????????????web_url?????????????????????????????????????web_reg_save_param("filecontent"?? "LB="?? "RB="?? "Search=BODY"?? LAST);???LoadRunner????????????????HTTP?????BODY???????磨LB???磬RB???磩??????????浽????filecontent?С?????????????ο??????????
????filecontent??????????????????????????????????????????????????pcretUL = lr_eval_string("{filecontent}");??????filecontent??????????????????????????pcretUL?????????????
????????????????????????????????ж???????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11