Hi,
I’ve a simulation where I have some trouble to hold the load for a specific timeframe.
Simulation-Snippet:
`
val scn = scenario(getClass.getSimpleName)
.during(270 seconds, exitASAP = false) {
feed(csv(userFeeder).circular)
// User login
.exec(login)
.exitHereIfFailed
// Repeat some random actions
.repeat(10) {
randomSwitch(
…
…
…
)
}
.exec(logout)
}
setUp(scn.inject(rampUsers(users) over (30 seconds)))
`
I would expect that the simulation duration is (approximately) 5 minutes with a total ramp up/down of 30 seconds. But my simulation only takes about two minutes, see screenshot.
Any ideas?
Greetz
Niko
My environment:
java version “1.7.0_71”
Java™ SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot™ 64-Bit Server VM (build 24.71-b01, mixed mode)
Scala version 2.10.4-20140210-000000-b66a39653b – Copyright 2002-2013, LAMP/EPFL
Gatling version 2.0.3