I am having issues using rampUser()
method in my gatling script. The request is getting stuck after the following entry which had passed half way through.
Version : 3.3
I am having issues using rampUser()
method in my gatling script. The request is getting stuck after the following entry which had passed half way through.
Version : 3.3
That’s the expected behavior.
“rampUsers(2) during(1 minute)” means “a total count of 2 users started uniformly over 1 minute” = “1 user at t=0 and 1 user at t=1 minute”
But it stops and keep on looping… instead of completing… this was not happening for the previous version
The logs you provided show you only waited 45s. Have you waited 2 minutes for the last user to be started?
Here’s a sample showing correct behavior (Gatling 3.3.1) : https://gist.github.com/slandelle/ce4e0b400b237064510345273616617e
Please provide a reproducer of your problem we can run on our side.
Our scenario is in this format, can you try any use case in this format
I got the same loop issue when I tried at my side with specific chain builders
<<<<<<<<<<<<<<<<<<<<<<<<<
10:36:23.759 [gatling-http-1-2] DEBUG io.gatling.core.action.Exit - End user #1
10:36:23.763 [GatlingSystem-akka.actor.default-dispatcher-2] DEBUG io.gatling.core.controller.inject.Injector - End user #1
10:36:24.346 [GatlingSystem-akka.actor.default-dispatcher-6] DEBUG io.gatling.core.controller.inject.open.OpenWorkload - Injecting 0 users in scenario scenario, continue=true
10:36:25.347 [GatlingSystem-akka.actor.default-dispatcher-5] DEBUG io.gatling.core.controller.inject.open.OpenWorkload - Injecting 0 users in scenario scenario, continue=true
10:36:26.347 [GatlingSystem-akka.actor.default-dispatcher-6] DEBUG io.gatling.core.controller.inject.open.OpenWorkload - Injecting 0 users in scenario scenario, continue=true
def protocolBuilder: HttpProtocolBuilder = {
http
.baseUrl("https://gatling.io/")
.acceptEncodingHeader("gzip, deflate")
}
val scenarioBuilder: ScenarioBuilder =
scenario("scenario")
.exec(
repeat(1, "i") {
group("graphql") {
//graphql chainBuilder
}
}
I’ve asked for a fully actionable sample, not a partial one. Nothing we can do with this.