|
请问下;我使用lr并发1000用户;测试WEB
我录制场景: 首页点击注册;注册成功返回首页;退出;
我在代码中插入了3个事务和3个集合点;
在注册和邮箱;设置了属性:1000个不同的数据;
在属性中设置: 选择下一行: Unique 当超出值时:Continue With Last Value
自动分配块大小;
Vuser 数 1000
开始执行场景; 在运行不到半分钟;出错如下错误:
1. 错误-27792:将数据传输到网络失败:【10054】 Connection reset 不要 peer
2. 错误-27791:服务器“192.168.1.2”已过早关闭连接
3. 错误 -27740: 将请求的传输重叠到 URL“http://192.168.1.2:8080/boeshop/index.html”的“192.168.1.2”时失败: WSA_IO_PENDING
4 错误 -26631: 对于“http://192.168.1.2:8080/bshopop/index.html”,HTTP 状态代码=400 (No Host matches server name 192.168.1.2)
5 错误 -26631: 对于“http://192.168.1.2:8080/bshopop/index.html”,HTTP 状态代码=400 (No Host matches server name 192.168.1.2)
前面三次出现在Action(15),后面出现在Action(153)
Action(15)脚本为:
web_url("index.html",
"URL=http://192.168.1.2:8080/boeshop/index.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=imgs/menu.gif", ENDITEM,
"Url=imgs/menu_line.gif", ENDITEM,
"Url=imgs/serach.gif", ENDITEM,
"Url=imgs/serach-menu.gif", ENDITEM,
"Url=css/bcastr.swf?bcastr_xml_url=bcastr_xml.jsp", ENDITEM,
"Url=imgs/banner_bj.gif", ENDITEM,
"Url=imgs/icon1.gif", ENDITEM,
"Url=imgs/icon2.gif", ENDITEM,
"Url=imgs/icon4.gif", ENDITEM,
"Url=imgs/icon3.gif", ENDITEM,
"Url=imgs/pcenter_icon_bj.gif", ENDITEM,
"Url=imgs/pright_bj1.gif", ENDITEM,
"Url=imgs/pc1_bj.gif", ENDITEM,
"Url=imgs/pright_bj.gif", ENDITEM,
"Url=imgs/NO.png", ENDITEM,
LAST);
Action(153)脚本为:
web_submit_data("addMember",
"Action=http://192.168.1.2:8080/boeshop/appController/addMember",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.2:8080/boeshop/member/register.html?backurl=/boeshop/index.html",
"Snapshot=t15.inf",
"Mode=HTML",
ITEMDATA,
"Name=backurl", "Value=/boeshop/index.html", ENDITEM,
"Name=account", "Value={Test_name}", ENDITEM,
"Name=pwd", "Value=123", ENDITEM,
"Name=pwd2", "Value=123", ENDITEM,
"Name=email", "Value={Test_Email}", ENDITEM,
"Name=licence", "Value=1111", ENDITEM,
"Name=name", "Value=", ENDITEM,
"Name=province", "Value=", ENDITEM,
"Name=postcode", "Value=", ENDITEM,
"Name=address", "Value=", ENDITEM,
"Name=tel", "Value=", ENDITEM,
"Name=mobile", "Value=", ENDITEM,
"Name=imageField.x", "Value=67", ENDITEM,
"Name=imageField.y", "Value=16", ENDITEM,
EXTRARES,
"Url=../imgs/icon5.gif", "Referer=http://192.168.1.2:8080/boeshop/index.html", ENDITEM,
LAST);
请问下;错误到底出现在那里呀。。谢谢高手指点; |
|