Hi,
I have some simulations where I use assertions like this → .assertions(global.successfulRequests.percent.between(95, 100)) but the simulation is always marked as failed.
I’m using Gatling 2.2.3 and here are the steps to reproduce this issue:
Simulation:
`
class Dummy extends Simulation {
val scn = scenario(“dummy”)
.exec(http(“req1”).get(“http://www.example.com”))
.exec(http(“req2”).get(“http://www.example.com”))
setUp(scn.inject(atOnceUsers(1)))
.protocols(http.baseURL(“127.0.0.1”)
.disableCaching
.maxConnectionsPerHostLikeChrome)
.assertions(global.successfulRequests.percent.between(95, 100))
}
`
Output:
`