# I can run using num of users and amount of time to run. how can i specify to run 100 requests?

**URL:** <https://community.gatling.io/t/i-can-run-using-num-of-users-and-amount-of-time-to-run-how-can-i-specify-to-run-100-requests/6987>\
**Category:** Gatling (Open-Source)\
**Created:** [July 28, 2022, 1:46pm UTC](https://community.gatling.io/t/i-can-run-using-num-of-users-and-amount-of-time-to-run-how-can-i-specify-to-run-100-requests/6987 "2022-07-28T13:46:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shobithbv.2](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shobithbv.2](https://community.gatling.io/u/shobithbv.2)\
**Post date:** [July 28, 2022, 1:46pm UTC](https://community.gatling.io/t/i-can-run-using-num-of-users-and-amount-of-time-to-run-how-can-i-specify-to-run-100-requests/6987/1 "2022-07-28T13:46:08Z")

</div>

I can run using num of users and amount of time to run. how can i specify to run 100 requests?

---

<div class="post-metadata">

**Author:** ![shoaib42](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/shoaib42/32/844_2.png) [@shoaib42](https://community.gatling.io/u/shoaib42)\
**Post date:** [July 28, 2022, 2:21pm UTC](https://community.gatling.io/t/i-can-run-using-num-of-users-and-amount-of-time-to-run-how-can-i-specify-to-run-100-requests/6987/2 "2022-07-28T14:21:05Z")

</div>

Try `repeat`, following snippet is in Scala, check docs for repeat in java/kotlin

```auto
val scn = scenario ("foobar")
  .repeat(100)(
    exec(myhttpcall)
  )

```
