To execute a SOAP request in a Jmeter:
1. Add a thread group to a test plan.
2. Add a sampler - SOAP/XML-RPC Request
3. Add a listener - View Results Tree, Aggregate Report etc.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhko6woMAY60B_dNbX6TBL1RW3OtPsbPVk-Hg5mkNEFsnOmGikYV4qlQr1cjvaamFr6QENjxaSLHbAnJZjRWNWNdd29OrGndHyefH90DhWcjPMj_qaCRcMlhj7au1ZH2Yk_zw-umZhyliqz/s400/Screen_Shot1.png)
4. Now I am going to take an example SOAP request and perform the action
Let’s have the WSO URL Location: http://webservices.daehosting.com/services/TemperatureConversions.wso where the actual web services are hosted.
You can add your web “.wso” file extension in the URL location
5. Now add a sample SOAP/XML-RPC Data like100
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjhCibM1PF-JhAd2olszmrLPEPvheucDvyY3IwzZqtF7XfpxJ0rNxSmEpNvY2q1DRjhPaTGgIv-75rEBE2goq2WRSs2iRC2Az4Hl-B8WT5iUdJjNYD3-jYZ_JjYGkzLeq49gPcsUEv2RjE/s400/Screen_Shot1.png)
Note:
Ø The “100” represents the Fahrenheit value for which the Celsius value has to be found.
Ø You can also parameterise the value “100” from an excel file, text file etc
Ø The XMLNS can be obtained from the Web service file.
1. Add a thread group to a test plan.
2. Add a sampler - SOAP/XML-RPC Request
3. Add a listener - View Results Tree, Aggregate Report etc.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhko6woMAY60B_dNbX6TBL1RW3OtPsbPVk-Hg5mkNEFsnOmGikYV4qlQr1cjvaamFr6QENjxaSLHbAnJZjRWNWNdd29OrGndHyefH90DhWcjPMj_qaCRcMlhj7au1ZH2Yk_zw-umZhyliqz/s400/Screen_Shot1.png)
4. Now I am going to take an example SOAP request and perform the action
Let’s have the WSO URL Location: http://webservices.daehosting.com/services/TemperatureConversions.wso where the actual web services are hosted.
You can add your web “.wso” file extension in the URL location
5. Now add a sample SOAP/XML-RPC Data like
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjhCibM1PF-JhAd2olszmrLPEPvheucDvyY3IwzZqtF7XfpxJ0rNxSmEpNvY2q1DRjhPaTGgIv-75rEBE2goq2WRSs2iRC2Az4Hl-B8WT5iUdJjNYD3-jYZ_JjYGkzLeq49gPcsUEv2RjE/s400/Screen_Shot1.png)
Note:
Ø The “100” represents the Fahrenheit value for which the Celsius value has to be found.
Ø You can also parameterise the value “100” from an excel file, text file etc
Ø The XMLNS can be obtained from the Web service file.