I 'm quite new to gatling (version = 2.2.2) / scala but looks like a great tool so far.
For one of my cases I would like to have an additional assertion in which I compare mean response time of 2 scenarios/groups of requests.
The idea is to check that mean response time of GET_detailsBatch (1 request to get details of 50 items) is always less than mean response time of GET_DetailsOneByOne (50 requests to get details of 1 item)
How can this be achieved?
setUp( GetDetailsBatch.inject(atOnceUsers(1)), GetDetailsOneByOne.inject(atOnceUsers(1)) ).protocols(httpProtocol) .assertions(details("GET_DetailsBatch").responseTime.mean.lessThan(40))