讨论下参数化中加入循环后,多并发用户后,出现大量失败
本帖最后由 lunahaha527 于 2014-5-27 17:54 编辑背景:原脚本测试并发用户没问题
需要测试长时间,参数需要大量5000万以上,加入循环语句后,出现大量失败!
for(i=1;i<=50000000;i++){
itoa(i,str,10);
lr_save_string(str,"aa");
web_reg_save_param("responsetoken",
"LB=token=",
"RB=",
"SaveLen=11",
LAST);
web_reg_find("Text=success",
"Fail=NotFound",
"SaveCount=tokencheck1",
"Search=Body",
LAST);
web_set_max_html_param_len("999999");
web_custom_request("HTTPRequest1",
"URL=http://X.X.X.X:080/getPayToken?appuser=D.jsp&amt=1000.0¤cycode=RMB&billid={aa}&desc=size%3a+two+24-piece+boxes",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
LAST); 没人知道吗?用循环如何设置参数递增
页:
[1]