|
做web services的接口压测,在调试脚本时,打出结果,数据查询是空,但是通过页面测试是有数据结果输出的,这是为什么呢?
Action()
{
web_service_call( "StepName=getPhonic_101",
"SOAPMethod=PCClientServiceImplService.PCClientService.getPhonic",
"ResponseParam=response",
"WSDL=http://218.200.229.213:9080/chm_webservice/services/pcClientService?wsdl",
"UseWSDLCopy=1",
"Snapshot=t1268014671.inf",
BEGIN_ARGUMENTS,
"pid=100000000020",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
return 0;
}
打出结果:
Notify: Saving Parameter "response = <?xml version="1.0" encoding="GB2312" standalone="no"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getPhonicResponse xmlns:ns1="http://service.webservice.chm.com/"><return><flag>-500</flag><price>0</price></return></ns1:getPhonicResponse></soap:Body></soap:Envelope>"
参数结果为空:<flag>-500</flag>
没有报异常错误! |
|