|
我用的版本是:Virtual User Generator 7.5
录制时采用的是Web (HTTP/HTML)协议的HTML-based scrip,其余都是默认选项
录制内容:登陆->打开查询页面->进行查询
录制时没有出现任何问题,也没有网页错误,录制脚本如下(发生错误的部分,仅仅是打开登陆页面):
web_url("qsxt",
"URL=http://10.4.7.138:7001/qsxt",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/qsxt/css/controls.css", "Referer=http://10.4.7.138:7001/qsxt/app/logon.jsp", ENDITEM,
"Url=/qsxt/images/max.gif", "Referer=http://10.4.7.138:7001/qsxt/app/logon.jsp", ENDITEM,
"Url=/qsxt/images/min.gif", "Referer=http://10.4.7.138:7001/qsxt/app/logon.jsp", ENDITEM,
"Url=/qsxt/images/close.gif", "Referer=http://10.4.7.138:7001/qsxt/app/logon.jsp", ENDITEM,
LAST);
可是录制后未经任何修改就运行该脚本时却提示如下错误:
Action1.c(6): Error: HTTP status code is invalid (not a decimal integer between 100 and 599) or missing
小弟实不知错在何处,请教各位大侠指点。多谢多谢! |
|