loadrunner Webservice 读取返回值

 web_service_call( "StepName=getSupportCityString_101",
  "SOAPMethod=WeatherWS|WeatherWSSoap|getSupportCityString",
  "ResponseParam=response", //默认的
  "Service=WeatherWS",
  "ExpectedResponse=SoapResult",
  "Snapshot=t1356588642.inf",
  BEGIN_ARGUMENTS,
  "theRegionCode=上海",
  END_ARGUMENTS,
  BEGIN_RESULT,
  "getSupportCityStringResult/*[1]=result",
  END_RESULT,
  LAST);
lr_output_message("============================%s",lr_eval_string("{response}"));

 

lr_eval_string("{response}") 将action中的参数转换为字符串...

 

posted on 2012-12-27 15:45  babyblue  阅读(180)  评论(0)    收藏  举报