51Testing软件测试论坛
标题:
LR 测试webservice 脚本录制问题
[打印本页]
作者:
xiao75516030
时间:
2009-11-27 15:44
标题:
LR 测试webservice 脚本录制问题
我在录制webservice脚本的时候报错!
有哪个有经验的帮我解决下 ! 现在就是对soap_request 感觉有点问题,有个输入requst file 不清楚怎么弄
那个地方报错,错误如下
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 参数配置好了应该没的问题
作者:
puchonghui
时间:
2009-11-30 21:36
soap消息必须要有Envelope元素……
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2