因为想拥有,所以要不断努力

回放脚本,错误信息HTTP Status-Code=500 ,解决方法

上一篇 / 下一篇  2013-04-24 14:12:53 / 个人分类:应用程序

 
 
回放脚本,提示错误信息:
   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, "去掉(注释掉)
   脚本重新回放,回放成功!!!

TAG:

小乖乖 引用 删除 小乖乖   /   2013-04-26 10:38:44
我没有试过的啊 你可以试试啊
zengl&软件测试 引用 删除 zengl   /   2013-04-24 15:29:59
那如果是验证码,可以这样注释掉吗
 

评分:0

我来说两句

Open Toolbar