Jmeter3.2 发送soap请求
2017-08-28 本文已影响55人
弦外之音_32fd
3.0之前的版本可直接添加“SOAP/XML-RPC Request Sampler” 调soap接口;3.2去掉了这个Sampler。
1、添加"HTTP请求"
![](https://img.haomeiwen.com/i7459569/d2638d50d3c55179.png)
2、添加“HTTP信息头管理器”
设置Content-Type=text/xml;charset=UTF-8
设置SOAPAction="http://tempuri.org/...."
![](https://img.haomeiwen.com/i7459569/d9e44454fc7f1474.png)
3.0之前的版本可直接添加“SOAP/XML-RPC Request Sampler” 调soap接口;3.2去掉了这个Sampler。
1、添加"HTTP请求"
2、添加“HTTP信息头管理器”
设置Content-Type=text/xml;charset=UTF-8
设置SOAPAction="http://tempuri.org/...."