回放脚本,错误信息HTTP Status-Code=500 ,解决方法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
回放脚本,提示错误信息:
Action.c(21): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://localhost:808 0/hwgps/frame/portal/portal.jsp" [MsgId: MERR-26612]
Action.c(21): web_submit_form("acegi_login.jsp") highest severity level was "ERROR", 622786 body bytes, 9337 header bytes, 145 chunking overhead bytes [MsgId: MMSG-26387]
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
录制新增界面提交信息:
web_submit_form("acegi_login.jsp",
"Snapshot=t2.inf",
ITEMDATA,
"Name=j_username", "Value=zxywglk", ENDITEM,
"Name=j_password", "Value=ywgl88", ENDITEM,
"Name=", "Value=<OFF>", ENDITEM,
EXTRARES,
"Url=/hwgps/walle/js/datepicker/skin/WdatePicker.css", "Referer=http://localhost:8080/hwgps/frame/de fault/top.jsp", ENDITEM,
"Url=../default/images/cyhw_logo.jpg", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", EN DITEM,
"Url=../default/images/login.gif", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITE M,
"Url=../default/images/help.png", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITE M,
"Url=../default/images/user.png", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITE M,
"Url=/hwgps/walle/themes/default/image/grid/down.gif", "Referer=http://localhost:8080/hwgps/frame/de fault/onlineUser.jsp", ENDITEM,
"Url=/hwgps/walle/themes/default/image/button/magnifier.png", "Referer=http://localhost:8080/hwgps/f rame/default/onlineUser.jsp", ENDITEM,
"Url=/hwgps/walle/themes/default/image/popwin/dialog-title.gif", "Referer=http://localhost:8080/hwgps/f rame/default/onlineUser.jsp", ENDITEM,
"Url=../default/images/nav-bg-sel.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.js p", ENDITEM,
"Url=/hwgps/oa/chat/images/icon.gif", "Referer=http://localhost:8080/hwgps/frame/default/onlineUser.js p", ENDITEM,
"Url=../default/images/nav-bg.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.jsp", ENDITEM,
"Url=../default/images/call_right.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.jsp ", ENDITEM,
"Url=../default/images/nav-line.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.jsp", ENDITEM,
"Url=../default/images/call_up.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.jsp", ENDITEM,
LAST);
录制脚本后,回放时,提示错误信息:
Action.c(21): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://localhost:80 80/hwgps/frame/portal/portal.jsp" [MsgId: MERR-26612]
Action.c(21): web_submit_form("acegi_login.jsp") highest severity level was "ERROR", 622786 body bytes, 9337 header bytes, 145 chunking overhead bytes [MsgId: MMSG-26387]
这个错误提示信息,我没看到,经网上查找解决方法,方法如下:
却掉web_submit_form函数中语句" "Name=", "Value=<OFF>", ENDITEM, "去掉(注释掉)
脚本重新回放,回放成功!!!。