Load Testing using SoapUI!

Lets use the SoapUI tool to generate traffic.

SoapUI is one of the best tools which can be used to send and receive soap requests and it does not require any kind of programming knowledge. It is a very simple tool and used widely all over the world for API functionality as well as load testing.

Today in this article we will see how we can make use of this soapUI tool to perform load testing or to generate traffic.

Well, starting a load test using SOAP UI tool is fairly easy and would only take couple of minutes to get it going. If you have used SOAP UI tool for functional testing then you can configure the tool quickly to generate traffic.


#1. Connect the soapUI tool with the application by creating a project and providing appropriate WSDL url.

There are two ways to generate new project:

Select “File” -> “New soapUI Project (Ctrl-N)” menu or form left Navigator pane right click on“Projects” root item and select “New soapUI project” from the dropdown list.

New soapUI Project dialog box should popups where you have to provide project name and valid WSDL. Make sure that “Create sample requests for all operations?” check box and “Creates a TestSuite for the imported WSDL & WADL” checkbox is checked.

Click on OK button or press Enter key. Once connected, it will automatically generate test cases (sample requests and test suite)

#2. After you click on OK button, one more window will pop up for generating test suite and on that window there will be one “TestSuite:” dropdown.

Select ” “ from the dropdown, select “One TestCase for each Operation” radio button for“Style:” and for “Request Content” select “Create new empty requests” radio button.

In “Operations:” list you will see all available methods in youw WSDL, you have to select methods for which you want to generate TestSuite and want to do load test.

At the bottom of the window there will be one more checkbox called “Generate Load Test: Generates a default LoadTest for each created TestCase”, don’t forget to select it.

Click OK button.

#3. There would be one tree view on left side of the main soapUI window where there will be some testcases with load testing testcases.

#4. Now, you can try running a load test in the following manner.

First of all try with single functional test step. Double click on the method and then fill up the data as appropriate in the request XML and try to send the request. After you receive response successfully, try to run Load Testcase by clicking on LoadTest from left side of the windows.

#5. Go to load test case and double click on it. It will open one more session for the previously created test case.

You can change the values as per your load test requirement.

+ No of threads is total number of concurrent connections and request
+ Test delay is the delay in sending request (after receiving response for the first request.
+ Limit is the count of either number of transactions per thread or duration (from the drop down menu)

Once everything is done, you can click on the Green arrow button at the top to start the load test.

Now you can play around and have all different types of soap request in the same test case, or you can run concurrent load test scenario from different window simultaneously.

For implementing some scripting to auto-increment the test data, you will have to use groovy.

Please refer below pages for more details.


Leave a Reply

Your email address will not be published. Required fields are marked *