Build fails on Jenkins even though Gatling seems to pass

I am running a Gatling scenario that seems to pass according to the console output. However, Jenkins reports it as a failure. Here is the end console output:



Simulation finished.
Parsing log file(s)...
Parsing log file(s) done
Global percentage of requests OK is equal to 100 : true
Global : max response time is less than 2000 : false
Simulation failed.
Generating reports...

You have set 2 assertions in your simulations, and one is false, hence the build fail:

Global percentage of requests OK is equal to 100 : true
Global : max response time is less than 2000 : false

Oh, duh! Sorry for the oversight.

No pro, I’m glad that sometimes things work as expected :slight_smile: