|
loadrunner使用webservices协议,调用WCF服务。
源代码:
web_service_call( "StepName=BeginUpLoad_104",
"SOAPMethod=FileOperateService|WSHttpBinding_IFileOperateService|BeginUpLoad",
"ResponseParam=response",
"Service=FileOperateService",
"ExpectedResponse=SoapResult",
"AsyncEvent=",
"WSAReplyTo=autodetect",
"Snapshot=t1341989042.inf",
BEGIN_ARGUMENTS,
"xml:context="
"<context>"
"<FileLength>13896322</FileLength>"
"<FileName>iisxpi386</FileName>"
"<FilePath nil=\"true\"></FilePath>"
"<MD5>B06E3F6C503D89989EA4C6D04D1D7A1C</MD5>"
"<guid>K06E3F6C503D89989EA4C6D04D1D7A1C</guid>"
"</context>",
END_ARGUMENTS,
BEGIN_RESULT,
"BeginUpLoadResult/CurrentOffset=Param_CurrentOffset",
"BeginUpLoadResult/FileFullPath=Param_FileFullPath",
"BeginUpLoadResult/Guid=Param_Guid",
"BeginUpLoadResult/RequestCode=Param_RequestCode",
END_RESULT,
LAST);
错误:
|
|