Forum Discussion

BA_Service_Haus's avatar
BA_Service_Haus
Regular Contributor
15 years ago

Who to read response SLA error message

Hi,

I'm evaluation soapUI Pro 3.6.1.
When checking assertion type "Response SLA" I was wondering how to read the error message like:
"Response did not meet SLA 3/1"

What does this (3/1 or 3/2) mean?

Best regards
Nico

2 Replies

  • Hello,

    When a Response SLA assertion fails, you should get something like the following:

    Step 3 [Test Request: login] FAILED: took 283 ms
    -> [Response SLA] Response did not meet SLA 218/200

    The first value, 283 in this example, is the total time that the TestStep execution took, including building the requesta nd evaluating the assertions, etc. The second line show two other values, 218 and 200.
    The first of these, 218, is the time taken for the actual request, and this is the value that the SLA is evaluated against. The second value, 200, is the SLA that is configured. So, the above TestStep took a total of 283 ms. The actual request took 218 ms, which is greater than the given SLA of 200 ms, so it failed.

    In your case, it seems that the SLA is set to 1 or 2 ms (which is a very low value), and this is failing when the request takes longer than that, 3 ms. Hope this clears things up!

    Regards,
    Dain
    eviware.com
  • BA_Service_Haus's avatar
    BA_Service_Haus
    Regular Contributor
    Hi Dain,

    thanks for answering.
    Yes the value is very low indeed, but I needed it to check what happens, when the assertion fails.

    Now everything is clear to me.

    Best regards
    Nico