|
本帖最后由 让爱一起飞 于 2012-11-21 18:53 编辑
录制的脚本回放没有错误,这是一个登录脚本,登录成功后需要加载很多数据页的数据内容,我不知道那些需要关联,登录页面后加载数据的请求参数也一样。我已经把验证码让开发屏蔽了,我想知道那些需要关联,为什么出现错误。
录制脚本如下:
web_url("192.168.0.21:8022",
"URL=http://192.168.0.21:8022/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_form("Login.aspx",
"Snapshot=t2.inf",
ITEMDATA,
"Name=userName", "Value=zhls", ENDITEM,
"Name=passWord", "Value=00", ENDITEM,
"Name=validateCode", "Value=", ENDITEM,
"Name=imgBtnClick.x", "Value=178", ENDITEM,
"Name=imgBtnClick.y", "Value=17", ENDITEM,
web_url("HomePage.aspx",
"URL=http://192.168.0.21:8022/HomePage.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/logo_xiantiao.jpg", ENDITEM,
LAST);
web_url("Enterprise_OpenApply.aspx",
"URL=http://192.168.0.21:8022/AdminData/EnterPrise/Enterprise_OpenApply.aspx?op=Province&_dc=1353381401829",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_url("PublicStore.aspx",
"URL=http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=SubtractReason_Enterprise&_dc=1353381401855",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_url("PublicStore.aspx_2",
"URL=http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=NumFeeType&_dc=1353381401834",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
web_url("Sys_ServerInfoList.aspx",
"URL=http://192.168.0.21:8022/AdminData/SysRunMgr/Sys_ServerInfoList.aspx?op=GetServerInfo&_dc=1353381401841",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_url("PublicStore.aspx_3",
"URL=http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=eptype&_dc=1353381401838",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
web_url("PublicStore.aspx_4",
"URL=http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=telservice&_dc=1353381401832",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.21:8022/desktop.aspx",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
错误部分日志如下:
Action.c(126): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=telservice&_dc=1353381401832"
Action.c(126): Error -26612: HTTP Status-Code=500 (Internal Server Error) for http://192.168.0.21:8022/AdminData/PublicStore.aspx?op=telservice&_dc=1353381401832 |
|