Does the counter incrementing stop when I use “.pause(3)” in a session before the counter increment? Example is given below:
exec(http(“repeatDeployIdSequenceRequests”)
.get("/vers/deploy/${DeployId}").check(status.in(200))
.check(
jsonPath("$.deployStatus").saveAs(“DeployStatus”))
.check(status.is(200))).pause(6)
.exec(session => {
DeployStatus = session(“DeployStatus”).as[String]
println(“Line 100” + DeployStatus)
session.set(“DeployStatus”, DeployStatus)
})
.exec(session => {
session.set(“counter1”, counter1.getAndIncrement)
})
Here, does the counter increment even if increase the pause duration?? I am facing issues here when increase the number of users in the simulation(Eg: atOnceUsers(10))
Any help is appreciated.
Thanks,
Sanhita