# Pause and throttling

**URL:** <https://community.gatling.io/t/pause-and-throttling/1978>\
**Category:** Gatling (Open-Source)\
**Created:** [February 5, 2015, 11:14pm UTC](https://community.gatling.io/t/pause-and-throttling/1978 "2015-02-05T23:14:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Bo](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brian\_Bo](https://community.gatling.io/u/Brian_Bo)\
**Post date:** [February 5, 2015, 11:14pm UTC](https://community.gatling.io/t/pause-and-throttling/1978/1 "2015-02-05T23:14:35Z")

</div>

I’m on version 2.1.4

I want to know if there is a way to add pauses when I’m doing throttling.

I understand why pauses are disabled when throttling is enabled - but in my use case, I need to pause my loop between each iteration. Without pauses the busy looping causes 100% CPU usage.

What I’m trying to achieve is making a request every 5 second, for a duration of 20 seconds.

Thanks,  
Brian

---

<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:** [February 6, 2015, 10:54am UTC](https://community.gatling.io/t/pause-and-throttling/1978/2 "2015-02-06T10:54:36Z")

</div>

Have you tried forcing the pause: [http://gatling.io/docs/2.1.4/general/scenario.html#pause](http://gatling.io/docs/2.1.4/general/scenario.html#pause)

---

<div class="post-metadata">

**Author:** ![Brian\_Bo](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brian\_Bo](https://community.gatling.io/u/Brian_Bo)\
**Post date:** [February 6, 2015, 11:02pm UTC](https://community.gatling.io/t/pause-and-throttling/1978/3 "2015-02-06T23:02:54Z")

</div>

Sorry what do you mean by forcing the pause? How do you do that?

I have “exec(pause(5 seconds))” in my loop, but it does nothing if I have throttling enabled for my scenario.

Brian

---

<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:** [February 6, 2015, 11:08pm UTC](https://community.gatling.io/t/pause-and-throttling/1978/4 "2015-02-06T23:08:02Z")

</div>

[http://gatling.io/docs/2.1.4/general/scenario.html#pause](http://gatling.io/docs/2.1.4/general/scenario.html#pause) :

“Note  
All those methods also have an optional force parameter that overrides the pause type defined in the set up. Possible values are the[_same ones than for global definition_](http://gatling.io/docs/2.1.4/general/simulation_setup.html#simulation-setup-pause).”
