# Throttling question

**URL:** <https://community.gatling.io/t/throttling-question/1785>\
**Category:** Gatling (Open-Source)\
**Created:** [December 4, 2014, 7:54pm UTC](https://community.gatling.io/t/throttling-question/1785 "2014-12-04T19:54:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chaitali\_Phadnis](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@Chaitali\_Phadnis](https://community.gatling.io/u/Chaitali_Phadnis)\
**Post date:** [December 4, 2014, 7:54pm UTC](https://community.gatling.io/t/throttling-question/1785/1 "2014-12-04T19:54:34Z")

</div>

I am using version 2.0.1. I am trying to configure 2 scenarios. Both have different RPS. The scenario definition looks like this:

scenar.scn.inject(constantUsersPerSec(5) during (40 minutes)).throttle(reachRps(40) in(10 minutes), holdFor(30 minutes))

scenar1.scn.inject(constantUsersPerSec(5) during (40 minutes)).throttle(reachRps(10)) in(10 minutes), holdFor(30 minutes))

But I see that for both the scenarios, RPS generated at run time, is the same. Am I missing something here?

Thanks!

---

<div class="post-metadata">

**Author:** ![Chaitali\_Phadnis](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@Chaitali\_Phadnis](https://community.gatling.io/u/Chaitali_Phadnis)\
**Post date:** [December 4, 2014, 9:16pm UTC](https://community.gatling.io/t/throttling-question/1785/2 "2014-12-04T21:16:24Z")

</div>

In the report, for the section, number of requests, does it show a combined graph? It shows 10 requests consistently.

---

<div class="post-metadata">

**Author:** ![Alex\_Bagehot](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Alex\_Bagehot](https://community.gatling.io/u/Alex_Bagehot)\
**Post date:** [December 4, 2014, 10:02pm UTC](https://community.gatling.io/t/throttling-question/1785/3 "2014-12-04T22:02:42Z")

</div>

Hi

Throttle, per the documentation, should only be used if you cannot set the throughput based on the user arrival rate constantUsersPerSec ().

What calculations do you have that shows that 5 ups will generate 40 rps?

If for example a scenario sends 1 request in total then 1 ups will generate 1 rps.

Thanks  
Alex

---

<div class="post-metadata">

**Author:** ![Chaitali\_Phadnis](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@Chaitali\_Phadnis](https://community.gatling.io/u/Chaitali_Phadnis)\
**Post date:** [December 4, 2014, 11:08pm UTC](https://community.gatling.io/t/throttling-question/1785/4 "2014-12-04T23:08:18Z")

</div>

So I increased the constantUsersPerSec(5) to constantUsersPerSec(10). In the report, it is showing me the requests/sec as 8.46
