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

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 :

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


Hello

Just give a chance to dedicated gradle plugin

https://github.com/lkishalmi/gradle-gatling-plugin

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