Compound assertions

Hi all,

I am trying to figure out how to create an assertion that checks for something like:

Response time less than 3 seconds at least 95% of the time

and am not really understanding how I would accomplish that using the Assertions API. I can see how to check response time less than 3 seconds, but not how to also apply 95% of the time to it. Does anyone have any guidance around how I would accomplish this? I am using Gatling 2.1.7. Thanks!

Rich

Hi Rich,

Base your assertion on the percentile measurement representing the 95th percentile response time - e.g. responseTime.percentile3

Cheers,
Barry

Ahh, so something like:

global.responseTime.percentile3.lessThan(3000)

Is that what you mean? Thanks much for the help!

Rich