Forum Discussion

BA_Service_Haus's avatar
BA_Service_Haus
Regular Contributor
12 years ago

assertion duration included in LoadTest values

Hello everyone,

when executing a loadtest in soapUI Pro, the measured values do not only show the response time, but also include the required time for executing the test step assertions.

To check this out, just add an script assertion to a test step and fill in "sleep(1000)". As you will see, the response time will be at least 1000 ms.

This can be avoided by using assertion test steps, but that's no workaround for our users as we are still using 4.0.1.
And even with 4.6.0 this behaviour exists.

I wonder why it is possible to exclude "request write" and "response read" from beeing added to the response time, but not assertions.

Would you please tell me, if this is wanted (and why) or if it will be fixed?

Best regards
Nico
  • Hi,

    I wasn't able to reproduce this. I created a simple load test that tested a request with a sleep(1000) in an assertion script but it averages at 3 ms per request.

    Could you please provide a sample project file that we could try this with?

    Regards,
    Joel Jonsson
    SmartBear Sweden
  • Hi

    Thanks for the project file. I am able to reproduce the behavior. When I tested earlier I tested with a REST request. It seems like this behavior only affects SOAP requests.
    I have created an issue about this (SOAP-890) and put it to our backlog for prioritizing.

    Thanks for the bug report!

    Regards,
    Joel Jonsson
    SmartBear Sweden