SOAP is a messaging protocol specification for exchanging structured information in the implementation of web services. Its purpose is to induce extensibility, neutrality, and independence. It uses XML Information Set for its message format and relies on application layer protocols.
SOAP is used in a variety of messaging systems. It is delivered via a variety of transport protocols and the initial focus of SOAP is remote procedure calls transported via HTTP.
Many applications run on web services in today’s world. Some of them runs on SOAP services, some of them on RESTFUL services which support the JSON messaging format. That’s why performing a load test on these messaging protocols is crucial.
We’ll explain how to test these kinds of web services via, open source, Apache JMeter testing tool. We’ll use a simple calculator web services as an example. You can do simple Add, Subtract, Multiply and Divide operations. http://www.dneonline.com/calculator.asmx
Create Your First Service Call
- Create a Thread Group and Add an HTTP sampler as a child element to it.
- In this HTTP Sampler, you have to fill some fields;
- The protocol must be filled out to specify if it’s an HTTPS or HTTP.
- The server name must be filled out with the IP address or the domain name.
- A method is the most crucial one. You have many options. You need to know which method you are able to run on that web services. The method can be POST, GET, PUT, DELETE etc…
- The path must be filled out to specify the endpoint of the web services.
Note: It would be the best practice to separate the server name and path from each other. In case there’s any change in the test environment, server name may change but the method is likely to stay as the same.