LR 测试webservice 脚本录制问题
我在录制webservice脚本的时候报错!有哪个有经验的帮我解决下 ! 现在就是对soap_request感觉有点问题,有个输入requstfile 不清楚怎么弄
那个地方报错,错误如下
Action.c(5): Error: Internal error, please call customer support. Details: Request envelope is empty in CWsSoapRequest::invoke
Action.c(5): Error: SOAP request "SOAP Request" execution failed
脚本代码如下soap_request("StepName=SOAP Request",
"URL=http://test.xx.189.cn",
"SOAPEnvelope="
, "SOAPAction=xx",
"ResponseParam=response",
"Snapshot=t1259246007.inf",
LAST);
web_service_call( "StepName=AccountInfoQuery_101",
"SOAPMethod=UDBCommon|UDBCommonHttpPort|AccountInfoQuery",
"ResponseParam=response",
"Service=UDBCommon",
"ExpectedResponse=SoapResult",
"Snapshot=t1259245085.inf",
BEGIN_ARGUMENTS,
"xml:AccountInfoQueryRequest="
"<AccountInfoQueryRequest>"
"<SrcSsDeviceNo>351</SrcSsDeviceNo>"
"<QuerySsDeviceNo>351</QuerySsDeviceNo>"
"<UserID>18904160416</UserID>"
"<QueryInfoType>0</QueryInfoType>"
"</AccountInfoQueryRequest>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
其次webcall 参数配置好了应该没的问题 soap消息必须要有Envelope元素……
页:
[1]