simulationsFolder property in maven plugin seems to be ignoed

Hi,

We try to enable just one folder of simulations.

our current approach is this:

<plugin>
    <groupId>io.gatling</groupId>
    <artifactId>gatling-maven-plugin</artifactId>
    <executions>
        <execution>
            <phase>test</phase>
            <goals>
                <goal>execute</goal>
            </goals>
            <configuration>
                <runMultipleSimulations>true</runMultipleSimulations>
                <includes>
                    <include>simulations.performance.SIM1</include>
                    <include>simulations.performance.SIM2</include>
                </includes>
            </configuration>
        </execution>
    </executions>
</plugin>

We would like to change this, but we cannot get the ‘simulationsFolder’ property to work. We tried:

<plugin>
    <groupId>io.gatling</groupId>
    <artifactId>gatling-maven-plugin</artifactId>
    <executions>
        <execution>
            <phase>test</phase>
            <goals>
                <goal>execute</goal>
            </goals>
            <configuration>
                <runMultipleSimulations>true</runMultipleSimulations>
                <simulationsFolder>${project.basedir}/src/test/scala/simulations/performance</simulationsFolder>
            </configuration>
        </execution>
    </executions>
</plugin>

but this one seems to run all simulations, including the ones in other subfolders of ‘simulations’.

So my question is: what do we do wrong?

Thanks,
Ruth

Hello,

Your configuration seems ok, which version of the plugin are you using?

Did you try to execute maven using the -X parameter in order to get debug logs and check the value of the “simulationsFolder” parameter? (for instance: [DEBUG] (f) simulationsFolder = D:\dev\workspace\gatling-maven-plugin-demo\src\test\scala\computerdatabase)

Stephen

Hi there

Any progress on this?

I am also trying same thing as you, with same results.
I simply want to specify folder with sumulations to run… not to include them one by one.

Thanks