【Loadrunner_WebService接口】对项目中的GetProduct接口生成性能脚本

一、环境

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,即可生成脚本,可对脚本进行参数化、插入集合点等操作。

  

 
原文地址:https://www.cnblogs.com/Jourly/p/6893718.html