Inject Requests

Hi All,

Please help me with below scenario:

I want to send 400 requests/sec and increase 400 requests every second for 5 seconds.

setUp(data.inject(constantUsersPerSec(400) during(5 seconds))).throttle(reachRps(400) in (1 second), holdFor(4 second))

is above correct?


If you are planning to increase RPS like 400,800,1200… for each second
throttle as below

.throttle(reachRps(400) in (1 second), reachRps(800) in (1 second), reachRps(1200) in (1 second))

if its 400 for every second, use what you have mentioned

Also, adjust users as per your requirement.

Sujin Sam