No Requests when Throttling - 2.2.0-M3/M2

Hello,

I’ve tried the following code block on both 2.2.0-M3 and 2.2.0-M2 and never see a request get carried out:

setUp(templateTest.inject(constantUsersPerSec(1) during (5 minutes))
  .throttle(
    reachRps(1) in (10 minutes),
    holdFor(10 minutes)
  ))
  .protocols(httpProtocol)

I see the active users continue to climb but none ever carry out a request.

================================================================================

2016-04-11 18:20:33 60s elapsed

---- templates -----------------------------------------------------------------

[--------------- ] 0%

waiting: 241 / active: 59 / done:0

---- Requests ------------------------------------------------------------------

Global (OK=0 KO=0 )

================================================================================

The test works just fine without the Throttle in place, so I’m at a lost as to why adding it suddenly causes this issue.

Thanks for any help!

Could you please try with latest snapshot? See download page.

I noticed I had the reachRps time at 10 minutes and just to show that is not the issue, I tried changing it to 1 second but still see no requests going through.

reachRps(1) in (1 second),

Moved everything over to 2.2.0-SNAPSHOT and that seems to have fixed my problem. I was apparently using old packages from http://mvnrepository.com/.

Thanks for the help and the awesome application, really glad to have a useful alternative to Jmeter.

Moved everything over to 2.2.0-SNAPSHOT and that seems to have fixed my
problem.

Great! Thanks for your feedback.

I was apparently using old packages from http://mvnrepository.com/.

We plan on releasing 2.2.0 this week.

Thanks for the help and the awesome application, really glad to have a
useful alternative to Jmeter.

Spread the word, then :slight_smile:

*Stéphane Landelle*
*GatlingCorp CEO*
slandelle@gatling.io