27796错误,录制回放出现[10057] Socket is not connected这个错误
Action.c(4): Error -27796: Failed to connect to server "192.168.5.47:80": Socket is not connectedAction.c(4): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)
Action.c(4): web_url("ysportal") highest severity level was "ERROR", 0 body bytes, 0 header bytes
录制好脚本以后,回放脚本进入页面就显示这个错误,有谁遇到过吗?请高人帮忙解决啊
下面是脚本
web_url("ysportal",
"URL=http://192.168.5.47/ysportal/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=images/title.swf", "Referer=http://192.168.5.47/ysportal/homepage.action", ENDITEM,
"Url=images/bcastr3.swf", "Referer=http://192.168.5.47/ysportal/homepage.action", ENDITEM,
"Url=images/clody.swf", "Referer=http://192.168.5.47/ysportal/homepage.action", ENDITEM,
"Url=images/daqiao1.gif", "Referer=http://192.168.5.47/ysportal/images/bcastr3.swf", ENDITEM,
"Url=images/daqiao2.gif", "Referer=http://192.168.5.47/ysportal/images/bcastr3.swf", ENDITEM,
"Url=images/daqiao3.gif", "Referer=http://192.168.5.47/ysportal/images/bcastr3.swf", ENDITEM,
"Url=images/daqiao4.gif", "Referer=http://192.168.5.47/ysportal/images/bcastr3.swf", ENDITEM,
LAST);
web_submit_form("login.action",
"Snapshot=t2.inf",
ITEMDATA,
"Name=userName", "Value=admin", ENDITEM,
"Name=password", "Value=admin", ENDITEM,
LAST);
web_link("注销",
"Text=注销",
"Snapshot=t3.inf",
LAST); 楼主换个底层协议,试试
页:
[1]