webservice协议回放时候的错误信息
LR9.1,使用webservice协议,输入WSDL的URL,Add service call之后生成脚本。回放的时候出现错误提示,不该是什么意思,好像是和WDSL文件的描述内容有关的。
以下是脚本信息,以及LOG信息
Action()
{
web_service_call( "StepName=DealRequest_103",
"SOAPMethod=HanoiBankService|wsHttpBinding|DealRequest",
"ResponseParam=response",
"Service=HanoiBankService",
"ExpectedResponse=SoapResult",
"Snapshot=t1328081392.inf",
BEGIN_ARGUMENTS,
"inputDealRequest=D:\\Test\\Interface_Bank\\Release\\deal07.xml",
END_ARGUMENTS,
BEGIN_RESULT,
"DealRequestResult=Param_DealRequestResult",
END_RESULT,
LAST);
return 0;
}
LOG:
Virtual User Script started
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Web service call "DealRequest_103" started
Action.c(4): Error: InvokeMethod failed: Did not understand "MustUnderstand" header(s):{http://www.w3.org/2005/08/addressing}Action
Action.c(4): Error: InvokeMethod failure: AXIS engine threw an exception.
Action.c(4): Error: Web service call "DealRequest_103" execution failedEnding action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated. 是不是ws的头文件有问题。检查下。 换个soapui看是否能正常识别。不行的话就换soapui或者jmeter 回复 2# archonwang
头文件应该不会有问题,我已经通过一个客户端程序发送成功过,成功通过接口,入库。
感觉像是LR兼容的问题 回复 4# wensy
这种问题常见么? JDR版本问题
你用的是9.5吗?
页:
[1]