偶是测试新手,希望前辈们能多多指教。

LR 录制 ajaxpro 协议 回放时的问题

上一篇 / 下一篇  2013-01-04 10:30:14 / 个人分类:LoadRunner学习日志

执行场景时,报错:

Error -26612: HTTP Status-Code=500 (Internal Server Error) for http://192.168.1.28/webgis_gz/AjaxCall/GegSeriaIdHandler.ashx

解决方法如下:

加上 web_add_header("x-ajaxpro-methond","CheckUserName"); 这句

 web_custom_request("WebGis.Map,WebGis.ashx_6",
  "URL=http://192.168.1.98/webgis_gz/ajaxpro/WebGis.Map,WebGis.ashx",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/plain",
  "Referer=http://192.168.1.98/webgis_gz/Map.aspx",
  "Snapshot=t94.inf",
  "Mode=HTTP",
  "EncType=text/plain; charset=utf-8",
  "Body={\"cmd\":\"PowerCut\",\"vw\":\"1596\",\"vh\":\"755\",\"type\":\"2\",\"cate\":\"0\",\"visible\":\"visible\"}",
  LAST);

 


TAG:

 

评分:0

我来说两句

Open Toolbar