Jmeter-soap接口

1、soap协议就是http+xml 

测试网址:http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?op=getRegionCountry

所以soap的取样器,就是http请求

1、取样器为http

2、消息头写入消息头,假如多个接口消息头不同,直接挂接口下

3、服务器为-host

4、路径为 post下

5、方式post

6、请求体复制过去就行

 

 

2、有参数的soap

http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?op=getSupportCityDataset

3、测试网址

http://www.webxml.com.cn/zh_cn/weather_icon.aspx

http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?op=getRegionCountry

 

posted @ 2023-02-14 23:55  依羽杉  阅读(254)  评论(0)    收藏  举报