51Testing软件测试论坛

标题: 录制脚本总是包含web_custom_request函数并且运行时就报错是什么原因 [打印本页]

作者: 没头脑    时间: 2016-10-14 15:57
标题: 录制脚本总是包含web_custom_request函数并且运行时就报错是什么原因
使用loadrunner11版本,
浏览器默认IE11
录制webtours登录退出脚本
包含
web_custom_request("urs.asmx",
  "URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=kB2phjyMGp8beFQi8wTtxQ%3d%3d&MSURS-MAC=VMKvdI1K%2b0M%3d",
  "Method=POST",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=text/xml",
  "Referer=",
  "Snapshot=t2.inf",
  "Mode=HTML",
  "EncType=text/xml; charset=utf-8",
  "Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>40D86424-E473-475B-9C1B-8FE234158883</O><DID>/yjN/HWMqgv2KXsGPnmy1jY4/OOlL+6jSi5n5SEV1kA=:0</DID><UID>w:F2456EA7-7970-8177-5D4D-ACEB4E808FEF</UID><D>10.0.8110.6</D><C>11.00.10586.545</C><OS>10.0.10586.0.0</OS><I>9.11.10586.0</I><L>zh-Hans-CN</L><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzLw==</RU><RI>127.0.0.1</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2hlYWRlci5odG1s</URL><O>PRE</O><T>TOP</T><HIP>127.0.0.1</HIP></"
  "Rq></R><WA/><PRT>1898</PRT></RepLookup>",
  LAST);
运行脚本时每次到这就报错
Action.c(23): Error -27780: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "urs.microsoft.com" failed: [10054] Connection reset by peer   [MsgId: MERR-27780]
Action.c(23): Warning -26000: Empty or no response for URL="https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=kB2phjyMGp8beFQi8wTtxQ%3d%3d&MSURS-MAC=VMKvdI1K%2b0M%3d"   [MsgId: MWAR-26000]
Action.c(23): web_custom_request("urs.asmx") highest severity level was "ERROR", 0 body bytes, 0 header bytes   [MsgId: MMSG-26388]
是什么原因呢?
新手小白请指教







欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2