|
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. |
|