I have created a small API load test (using Java + gatling v3.8.4), which should check rate limits on an API. The checks I do look like:
exec(http("rate limit 1")
.post("/limited")
.check(status().in(200,429),status().not(408),status().not(500)))
I can see on the generated report that things work by checking the response times (see attached image) but I have not found a way to show how many requests get a 429 or a 200 response code...
I can get the count if I do the checks like:
exec(http("rate limit 1")
.post("/limited")
.check(status().is(200),status().is(429),status().not(408),status().not(500)))
Which, will add a section to the report with the error count, like:
status.find.is(200), but actually found 429 6894 63.283 %
status.find.is(429), but actually found 200 4000 36.717 %
But it will not show any info about response time percentiles, which is as well interesting for me.
Is there a way to get the count of successful checks and show this info in the generated html report? Or maybe in the console report?