回放脚本,提示错误信息:
Action.c(21): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "
http://localhost:8080/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/default/top.jsp", ENDITEM,
"Url=../default/images/cyhw_logo.jpg", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITEM,
"Url=../default/images/login.gif", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITEM,
"Url=../default/images/help.png", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITEM,
"Url=../default/images/user.png", "Referer=http://localhost:8080/hwgps/frame/default/top.jsp", ENDITEM,
"Url=/hwgps/walle/themes/default/image/grid/down.gif", "Referer=http://localhost:8080/hwgps/frame/default/onlineUser.jsp", ENDITEM,
"Url=/hwgps/walle/themes/default/image/button/magnifier.png", "Referer=http://localhost:8080/hwgps/frame/default/onlineUser.jsp", ENDITEM,
"Url=/hwgps/walle/themes/default/image/popwin/dialog-title.gif", "Referer=http://localhost:8080/hwgps/frame/default/onlineUser.jsp", ENDITEM,
"Url=../default/images/nav-bg-sel.gif", "Referer=http://localhost:8080/hwgps/frame/default/control-top.jsp", ENDITEM,
"Url=/hwgps/oa/chat/images/icon.gif", "Referer=http://localhost:8080/hwgps/frame/default/onlineUser.jsp", 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:8080/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, "去掉(注释掉)
脚本重新回放,回放成功!!!