录制的登录脚本无法回放
我录制了登录脚本,什么都没改,回放时提示错误,请大家帮我看看是哪里出了问题提示出错的脚本:
web_custom_request("Login.aspx_2",
"URL=http://hg-wangyz/CS2/Pages/General/Login.aspx",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://hg-wangyz/CS2/Pages/General/Login.aspx",
"Snapshot=t2.inf",
"Mode=HTML",
"Body=ctl00$ScriptManager2=ctl00$ContentPlaceHolder1$UpdatePanel2|ctl00$ContentPlaceHolder1$btnLogin&passID=ctl00_ContentPlaceHolder1_txtPassword&UserID=ctl00_ContentPlaceHolder1_txtUserName&js=1&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE={Siebel_Analytic_ViewState2_URL}&ctl00$ContentPlaceHolder1$txtUserName=csuser&ctl00$ContentPlaceHolder1$txtPassword=finsys1&__SCROLLPOSITIONX=0&__SCROLLPOSITIONY=0&__EVENTVALIDATION="
"%2FwEWBwLkz4CqBQL%2B54f7DgKQ5Jn%2BDwLJ4fq4BwL90KKTCAKO9e%2BRAQLv%2FPO%2BDMGkfih355IqZP0ZWGl0FoIp5UFt&ctl00$ContentPlaceHolder1$btnLogin=Login",
LAST);
错误:
Action.c(51): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://hg-wangyz/CS2/Pages/General/Login.aspx"
Action.c(51): web_custom_request("Login.aspx_2") highest severity level was "ERROR", 7575 body bytes, 352 header bytes 500错误,请先检查服务器日志。
回复 2# 的帖子
在哪里查看服务器日志?个人见解
http://hg-wangyz/CS2/Pages/General/Login.aspx我试了下你录的网址,根本无法访问。这个网页的服务器如果在你机子上,请开通权限。
页:
[1]