# Canot get constant VUSERS during a test run

**URL:** <https://community.gatling.io/t/canot-get-constant-vusers-during-a-test-run/1953>\
**Category:** Gatling (Open-Source)\
**Created:** [January 30, 2015, 10:07am UTC](https://community.gatling.io/t/canot-get-constant-vusers-during-a-test-run/1953 "2015-01-30T10:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amature](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Amature](https://community.gatling.io/u/Amature)\
**Post date:** [January 30, 2015, 10:07am UTC](https://community.gatling.io/t/canot-get-constant-vusers-during-a-test-run/1953/1 "2015-01-30T10:07:29Z")

</div>

Hi All,  
i have created a scenario sertup as mentioned below,

setUp(read\_api\_get.inject(  
rampUsersPerSec(1) to(5) during(15 seconds),  
constantUsersPerSec(10) during(20 minutes)  
).protocols(httpConf))

but instead of having a constant vuser of 10 during the test run,i am getting users injected every seconds.  
Kindly suggest.

---

<div class="post-metadata">

**Author:** ![Amature](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Amature](https://community.gatling.io/u/Amature)\
**Post date:** [January 30, 2015, 10:16am UTC](https://community.gatling.io/t/canot-get-constant-vusers-during-a-test-run/1953/2 "2015-01-30T10:16:17Z")

</div>

[![](https://lh6.googleusercontent.com/-rPBV9CirIzI/VMtZ6Cz26GI/AAAAAAAAAEs/fQ7Qqnjl6_E/s320/gating1.png)](https://lh6.googleusercontent.com/-rPBV9CirIzI/VMtZ6Cz26GI/AAAAAAAAAEs/fQ7Qqnjl6_E/s1600/gating1.png)

---

<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:** [January 30, 2015, 11:17am UTC](https://community.gatling.io/t/canot-get-constant-vusers-during-a-test-run/1953/3 "2015-01-30T11:17:45Z")

</div>

> but instead of having a constant vuser of 10 during the test run,i am getting users injected every seconds.  
> Kindly suggest.

That’s the intended behavior: open load model.  
What you want is a close model which is unrealistic except for very specific use cases (such as call centers). You’d have to make your vu loop, and clean cache and cookies on each iteration.
