Search code examples
performanceweblogicsoapuiload-testing

Loadtesting until server fails


We have an application which we want to load test and the specific question we want to be answered is as follows:

How many requests can our server handle?

To be even more specific:

Is it possible (with SOAPUI for example) to increase the load until the server breaks (out of memory) and stop the load test on that very instant (or after the first response that is empty)?

It's concerning a web service which runs on WebLogic.


Solution

  • It can be done for instance with Apache JMeter which provides:

    1. Possibility to stop test on any error on Thread Group level

      Thread Group Action Sampler Error

    2. Possibility to conditionally fail tests based on wide criteria range via Assertions
    3. AutoStop Listener extension allows to stop the test when i.e. average response time exceeds, or error rate certain threshold

    JMeter is a multi-protocol load testing tool which for sure can be used for APIs testing as it evidenced by Testing SOAP/REST Web Services Using JMeter article, besides it has much better reporting capabilities than SoapUI does.