Hi,
I am using Gatling 3.3.1 and running a simple test
`
object TestOnly{
val TestOnly=
feed(CSV1)
.feed(CSV2)
.exec(http(“TestOnly”)
.get("/somePath")
.check(status.in(200, 404))
)
}
`
`
val TestScenario = scenario(“Test Only”).exec(TestOnly.TestOnly)
`
`
setUp(
TestScenario.inject(
constantConcurrentUsers(10) during (9 seconds)
)
).protocols(theHttpProtocolBuilder).maxDuration(9)
`
I would expect a constant 10 active users will be generated for 9 seconds linearly ( I am doing closed model).
But what I see in the report is
- The initial generated users are 12 users and then it increases to nearly 20 users
- The users are generated for duration of 8 seconds only (expected 9 seconds)
Is there something wrong with my code ? How to achieve my expectation?
Cheers.