Performance of a web service is really important especially if the response has huge volume of data returned. soapUI has a nice feature named "Load Test" to do this task. In this section, we will see how we can use soapUI to do load test/ performance test for web services.
In soapUI, every test case has a section named "Load Test" to create test cases for doing load test/ performance test. Right click on it and select "New LoadTest". This will create a test case for load test for that specific test case. Double click on the load test test case and you can see all the test steps in that test case are grouped together and ready for load test. Basically it uses the web service functional test case/ test steps for load/performance tests. If you are doing this on your web services automation test case, then make sure you don't have any heavy validations attached to your test requests or other steps. This can impact the calculation of the response time of the web services. I would suggest to create a new test case with only the test request test step and the required step need to parameterize the requests.
In soapUI, every test case has a section named "Load Test" to create test cases for doing load test/ performance test. Right click on it and select "New LoadTest". This will create a test case for load test for that specific test case. Double click on the load test test case and you can see all the test steps in that test case are grouped together and ready for load test. Basically it uses the web service functional test case/ test steps for load/performance tests. If you are doing this on your web services automation test case, then make sure you don't have any heavy validations attached to your test requests or other steps. This can impact the calculation of the response time of the web services. I would suggest to create a new test case with only the test request test step and the required step need to parameterize the requests.
Eventhough the load test includes all the test steps in the test case, it displays the performance numbers/ response time for each test steps individually. So, one should be able to tell exactly what is the response time of individual test steps including the test request.
Now we have a test case to do performance/ load testing of web services, but we have to configure them based on our specific needs. To do that soapUI provide different Load Test Strategies. We will see those in detail on later posts, but will list it here just to keep that in mind.
- Burst
- Fixed-Rate
- Grid
- Script
- Simple
- Thread
- Variance
We have to also understand few terms in the results as well.By the way all the timings in this report are displayed in milli seconds.
- min - Minimum response time
- max - Maximum response time
- avg - Average response time
- last - response time of the last run
- cnt - Total number of times a step executed
- tps - Transactions per second
- bytes - Total bytes transferred/ processed
- bps - Bytes per second
- err - Error occured
It's too good!
It's very nicely described in simple words so every level of person can understand easily.
I am looking for the further posts on SOAPUI Load testing.
Regards,
BSK
Thank you for your comment. I will include more posts on the load testing using soapUI in the near future. Do check back..
After study a number of of the weblog posts on your website now,
and I actually like your way of blogging. I bookmarked it to my bookmark
website record and will probably be checking again soon.
Pls check out my website online as properly and let me know what you think.
My web page :: free grocery manufacturer Coupons
We have webservice developed in .NET and running on IIS 7.5 . We are sending 5 requests per second but our IIS is not executing all those. We are logging the request start and end in the database. We can see that the sever is executing only 2 requests at a time even if we are sending more.
How can we make IIS to execute 5 or 10 requests concurrently ?
Hello,
The Article on Web services Load Test Using soapUI, gives detailed information about it. Thanks for Sharing the information about Load Testing in Web Services, For More information check the detail on the load testing here Software Testing Services
Thanks for sharing this useful information.
Load testing companies in UAE
Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Visit here for Penetration testing services and Software testing services
This comment has been removed by the author.