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


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 :

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


Just give a chance to dedicated gradle plugin

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