0
votes

for API performance testing using Gatling, whenever I setup a user or QPS, I use below configuration to manage my max QPS and to have consistent QPS throughout test duration.

setUp( scn.inject(constantUsersPerSec(2) during (UserRampup seconds)) ) .throttle( reachRps(TotalQPS) in (QPSRampup seconds), holdFor(60 minutes) ) .protocols(httpProtocol) .maxDuration(Duration minutes)

Now this is working fine, but in one of the scenario, I need to add pause between 2 requests. What I observed is, that when I use "throttle", it does not take any pause or sleep or pace in consideration. Is there any way in which I can use pause while having "throttle" in place

1

1 Answers

0
votes

No, that's not possible. throttle disables pauses so it can take over throughput generation.