free seo tool

Web services Load Test Using soapUI


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. 
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 


8 comments:
  • BSK says:
    May 08, 2012

    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

  • Sudeesh says:
    May 08, 2012

    Thank you for your comment. I will include more posts on the load testing using soapUI in the near future. Do check back..

  • Anonymous says:
    September 21, 2012

    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

  • Sandeep Pathak says:
    September 28, 2012

    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 ?

  • Software Development Company says:
    May 30, 2017

    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

  • Eiwaa Groups says:
    February 01, 2020

    Thanks for sharing this useful information.
    Load testing companies in UAE

  • Chad says:
    July 26, 2021

    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.
    Evincedev says:
    May 31, 2022

    This comment has been removed by the author.

Post a Comment

This is a new website mainly for SOA Testers using soapUI. Let me know your thoughts/ suggestions.