首页 > 代码库 > LoadRunner脚本问题

LoadRunner脚本问题

  录制了一段loadrunner测试脚本,但是回放的时候总是跑不通,总是报错12002。报错的位置是在请求ajax文件的web_custom_request函数处。    

报错的代码位置:
         
 web_custom_request("ReverseAjax.dwr",         "URL=http://10.133.210.49:9011/khyx/dwr/call/plainpoll/ReverseAjax.dwr",         "Method=POST",         "Resource=0",         "RecContentType=text/javascript",         "Referer=http://10.133.210.49:9011/khyx/um/umtmenu/prepareAll.do",         "Snapshot=t70.inf",         "Mode=HTTP",         "EncType=text/plain",         "Body=windowName=main\ncallCount=1\nbatchId=2\ninstanceId=0\npage=%2Fkhyx%2Fum%2Fumtmenu%2FprepareAll.do\nscriptSessionId=3vg0y$s*wR9Y3tSH81LnfXFslBk/yLFslBk-iLQy*g2fy\npartialResponse=0\n",         LAST);

 

--------------------------------------------------------------------------------------------------
        
报错内容:
Action.c(603): Error -27492: "HttpSendRequest" failed, Windows error code=12002 and retry limit (0) exceeded for URL="http://10.133.210.49:9011/khyx/dwr/call/plainpoll/ReverseAjax.dwr" [MsgId: MERR-27492]

 

--------------------------------------------------------------------------------------------------
录制的时候用的url-based 方式,reverseAjax使用的comet模式。有没牛人遇到过这个问题,求高手

LoadRunner脚本问题