./gradlew :performance-test:gatlingRun
If you need to run a task several times in a row (with different environment or configuration), you may use the --rerun-tasks flag.
example:
./gradlew --rerun-tasks :performance-test:gatlingRun
To run TargetRpsSimulation. Source code available at ./performance-test/src/gatling/java/org/opensearch/dataprepper/test/performance/TargetRpsSimulation.java
# ./gradlew gatlingRun-<simulation-class-path>
./gradlew :performance-test:gatlingRun-org.opensearch.dataprepper.test.performance.TargetRpsSimulation
./gradlew :performance-test:compileGatlingJava
Gatling Quickstart Gatling Advanced Simulations Passing Command Line Parameters Gatling Gradle Plugin