# Is it possible to run all Simulations present under a custom directory ?

**URL:** <https://community.gatling.io/t/is-it-possible-to-run-all-simulations-present-under-a-custom-directory/5016>\
**Category:** Gatling (Open-Source)\
**Created:** [May 10, 2019, 7:12pm UTC](https://community.gatling.io/t/is-it-possible-to-run-all-simulations-present-under-a-custom-directory/5016 "2019-05-10T19:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suresh\_Naik](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Suresh\_Naik](https://community.gatling.io/u/Suresh_Naik)\
**Post date:** [May 10, 2019, 7:12pm UTC](https://community.gatling.io/t/is-it-possible-to-run-all-simulations-present-under-a-custom-directory/5016/1 "2019-05-10T19:12:24Z")

</div>

Hi,

I am new to Gatling, and trying to set up Gatling workspace using SpringBoot and Gradle.

I could able to run single simulation using “-s com.gatling.simulations.MySimulation1”

Is there any way I could run all simulations present under a directory ? I did try passing "-sf ", but that didn’t help.

Any thoughts ?

Gatling Version: 3.0.0  
This is how my Gradle task looks like :

```auto
task loadTest(type: JavaExec) {
    args = [
            //"-s", "com.gatling.simulations.MySimulation1", --> This Works for single simulation
            "-sf", "src/test/scala/com/gatling/simulations/",

```

```auto
    ]
}

```

```auto

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Evgeny\_Shepelyuk](https://avatars.discourse-cdn.com/v4/letter/e/eada6e/32.png) [@Evgeny\_Shepelyuk](https://community.gatling.io/u/Evgeny_Shepelyuk)\
**Post date:** [September 6, 2019, 6:15pm UTC](https://community.gatling.io/t/is-it-possible-to-run-all-simulations-present-under-a-custom-directory/5016/2 "2019-09-06T18:15:02Z")

</div>

Hello

Just give a chance to dedicated gradle plugin

[https://github.com/lkishalmi/gradle-gatling-plugin](https://github.com/lkishalmi/gradle-gatling-plugin)

пʼятниця, 10 травня 2019 р. 22:22:30 UTC+3 користувач Suresh Naik написав:
