51Testing软件测试论坛

标题: web services接口压测 [打印本页]

作者: hujian0815    时间: 2010-3-10 16:14
标题: web services接口压测
做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>

没有报异常错误!
作者: hujian0815    时间: 2010-3-10 16:35
没有人回啊,走过路过的朋友们,看一下,给个宝贵的意见哈。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2