一、环境

https://xxx.xxx.svc?wsdl

用户名:username

密码:password

对其中的GetProduct接口进行测试

备注:GetProducts.xml文件内容和SoapAction的获取方法,参考我的另一篇文章: http://www.cnblogs.com/Jourly/p/6893472.html

 

二、在lr中生成脚本

1.新建一个lr脚本,选择webservice协议

    

2.点击创建,点击Import SOAP

 

3.导入GetProducts.xml文件,填写url和action,Response Parameters默认response选项。

 

 

4.点击OK,即可生成脚本,可对脚本进行参数化、插入集合点等操作。

  

 
posted on 2017-05-23 13:35  Jourly  阅读(298)  评论(0编辑  收藏  举报