# rampUsersBySec went way far from defined as max.

**URL:** <https://community.gatling.io/t/rampusersbysec-went-way-far-from-defined-as-max/3458>\
**Category:** Gatling (Open-Source)\
**Created:** [December 19, 2016, 10:24am UTC](https://community.gatling.io/t/rampusersbysec-went-way-far-from-defined-as-max/3458 "2016-12-19T10:24:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nei\_Rauni\_Santos](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@Nei\_Rauni\_Santos](https://community.gatling.io/u/Nei_Rauni_Santos)\
**Post date:** [December 19, 2016, 10:24am UTC](https://community.gatling.io/t/rampusersbysec-went-way-far-from-defined-as-max/3458/1 "2016-12-19T10:24:05Z")

</div>

Hi Everyone,

I am new to gatling and I had this situation that seems weird… I had this setup:

setUp(  
browsing.inject(rampUsersPerSec(3) to(180) during(60 minutes))  
).protocols(httpProtocol)

I have this test running simultaneously in two different server so I was expecting having the maximum of 360 users.

[![](https://lh3.googleusercontent.com/-TNpQcZS3v8g/WFe1B05bBxI/AAAAAAAAbzo/lbMeF4bx-YEp4Qjq1YXlq8SVutvl64EeACLcB/s1600/Screen%2BShot%2B2016-12-19%2Bat%2B10.21.49.png)](https://lh3.googleusercontent.com/-TNpQcZS3v8g/WFe1B05bBxI/AAAAAAAAbzo/lbMeF4bx-YEp4Qjq1YXlq8SVutvl64EeACLcB/s1600/Screen%2BShot%2B2016-12-19%2Bat%2B10.21.49.png)

But as you can see it went far from it.

Is this expected?

Thank you,

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [December 19, 2016, 10:25am UTC](https://community.gatling.io/t/rampusersbysec-went-way-far-from-defined-as-max/3458/2 "2016-12-19T10:25:22Z")

</div>

You’re confusing injectionRate and the number of concurrent users inside your system.

---

<div class="post-metadata">

**Author:** ![Nei\_Rauni\_Santos](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@Nei\_Rauni\_Santos](https://community.gatling.io/u/Nei_Rauni_Santos)\
**Post date:** [December 19, 2016, 10:47am UTC](https://community.gatling.io/t/rampusersbysec-went-way-far-from-defined-as-max/3458/3 "2016-12-19T10:47:35Z")

</div>

Thank you _Stéphane,_

_All right! It makes sense now. it wasn’t that clear on documentation at least for me._

_How could I simulate 1 up to 360 users by second during 60 minutes and have 360 as total by the end of the test?_

_rampUsers(360) over(60 minutes) ?_

_Nei_
