Search code examples
testingloadgatling

Gatling: Set the report directory name?


I'd like to customize the Gatling report directory created as a result of a test execution.

By default, report directories are written (using gatling-maven-plugin) under :

target/gatling/<simulation-class-name>-<timestamp>

Is it possible to configure the report directory name like:

target/gatling/<my-dynamically-determined-name>-<timestamp>

?

Thanks.


Solution

  • you can override in the command you use to kick off the simulation execution.

    eg: passing -Dgatling.core.outputDirectoryBaseName=abc results in an output folder with the name abc-<timestamp>