Jmeter26:web _service接口

 1.WebService 就是 http请求    post接口

2.需要加 请求头信息

Content-Type: text/xml;
3.需要把占位符换成需要的字符串

webservice接口可以直接使用http协议post请求来测试
练习wsdl
http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl
接口描述
http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx

要点
1、添加header Content-type:text/xml
2、请求报文为xml格式,直接放在body中,报文内容可以查看接口文档,或者通过soupUI工具导入wsdl地址,可以看到请求报文


更多webservice接口,请见
http://www.webxml.com.cn/zh_cn/web_services.aspx

loanrunner 中使用

web_custom_request函数  post接口即可

 
原文地址:https://www.cnblogs.com/zhenyu1/p/10647490.html