Does several requests in one scenario work with throttle?

Hi!
I’m testing out throttle (using version 2.2.2) but cannot get it to work when I have several requests in one scenario.
If I have more than one requests, only the first is executed. If i remove the throttling part, all requests are executed.

Is it supposed to work like this, or is it me that have misunderstood something?

Here is some reproducable code.

`

import scala.concurrent.duration._
import io.gatling.core.Predef._
import io.gatling.http.Predef._

class RecordedSimulation extends Simulation {

val scn = scenario(“scn1”)
.exec {
http(“google home page”)
.get(“http://google.com”)
}
.exec {
http(“google norwegian home page”)
.get(“http://google.no”)
}

setUp(
scn.inject(atOnceUsers(1000))) //I know, a lot of users, I just added many to test out throttling
.throttle(
reachRps(4) in (1 second),
holdFor(1 minute)
)
}

`

Here is the results, the second request is not executed. In the result html report I see that the first request gets hit by 4 rps.

Hey guys!

I ran into the same case. If I use throttling in a script that consists of several queries (in different exec sections), the requests run unevenly something like:

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

Global (OK=6529 KO=0 )
/first (OK=605 KO=0 )
/second (OK=512 KO=0 )
/third (OK=432 KO=0 )

/last (OK=105 KO=0 )

Also I see that the number of active users is increasing rapidly, and the number of “done” users is growing very slowly. If I don’t use throttling, the queries are executed one after another as planned.

Can anyone explain, please, how this should work?