51Testing软件测试论坛
标题:
loadrunner Error 26631问题求大佬提点
[打印本页]
作者:
jing130
时间:
2022-11-18 15:47
标题:
loadrunner Error 26631问题求大佬提点
loadrunner的web services+web(http)协议,录制好以后,回放时候报错,错误 -26631:对于“
http://10.10.9.28:7708/StatisticsService
",Http状态码=400(Bad Request)[Msgid:MERR-26631],求大佬提点一下,以下为报错脚本的代码
Action()
{
web_add_auto_header("Accept-Encoding", "gzip, deflate");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_add_header("SOAPAction",
"\"http://tempuri.org/IStaffService/GetFreeTimeOut\"");
下面这一块代码开始报错:
web_custom_request("StaffService",
"URL=http://10.10.9.28:7708/StaffService",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t44.inf",
"Mode=HTTP",
"EncType=text/xml; charset=utf-8",
"Body=8B\r\n<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><GetFreeTimeOut xmlns=\"http://tempuri.org/\"/></s:Body></s:Envelope>\r\n0\r\n\r\n",
LAST);
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2