TA的每日心情 | 开心 2017-2-21 16:15 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
脚步是通过scan an existing WSDL file创建的。如下:
web_service_call( "StepName=getUser_104",
"SOAPMethod=GetUserServiceService.GetUserService.getUser",
"SOAPHeader=<soap:Header><CredentialSoapHeader xmlns=\"http://schemas.xmlsoap.org/wsdl/\""
"><UserName>username</UserName><PassWord>p"
"assword</PassWord></CredentialSoapHeader></soap:Header>",
"ResponseParam=response",
"WSDL=D:/train/loadrunner/GetUserService.wsdl",
"UseWSDLCopy=1",
"Snapshot=t1204008423.inf",
BEGIN_ARGUMENTS,
"LoginUserId=userid",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
运行后报错:
Starting action vuser_init.
vuser_init.c(4): web_service_call "getUser_104" started.
vuser_init.c(4): Using working copy of the WSDL file "D:/train/loadrunner/GetUserService.wsdl"
vuser_init.c(4): Using client emulation General
vuser_init.c(4): Web headers not matching emulated client removed.
vuser_init.c(4): Warning: HTTP status code 500 returned by server
vuser_init.c(4): Error: The reason of SOAP fault is : ""
vuser_init.c(4): Error: web_service_call "getUser_104" execution failed
Abort was called from an action.
请高手指点一下这些错误的原因。谢谢! |
|