Gatling performance testing
Scenario level over all assersation
/ Assert that the max response time of all requests is less than 100 ms
setUp(scn).assertions(global.responseTime.max.lt(100))
// Assert that every request has no more than 5% of failing requests
setUp(scn).assertions(forAll.failedRequests.percent.lte(5))
// Assert that the percentage of failed requests named "MyRequest" in the group "MyGroup"
// is exactly 0 %
setUp(scn).assertions(details("MyGroup" / "MyRequest").failedRequests.percent.is(0))
// Assert that the rate of requests per seconds for the group "MyGroup"
setUp(scn).assertions(details("MyGroup").requestsPerSec.between(100, 1000))