Hi,
I’ve been trying out different workloads to understand how Gatling user & load patterns form
I’ve been using the below code
val httpProtocol = http
val userScn = scenario(“users”)
.forever(
pace(1)
.exec(http(“getUsers”)
.get(“https://reqres.in/api/users?page=2”))
)
setUp(
userScn.inject(
constantConcurrentUsers(3).during(20)
).protocols(httpProtocol)
).maxDuration(20)
My understanding here is that I should get 3 users executing the request every 1 second for 20 seconds max, so in total, I should get 60 requests
But I’m getting only 3 requests triggered overall
is my understanding wrong here?
if so, pls explain how it works
Thanks
Sujin Sam