Skip to content

Latest commit

 

History

History
 
 

performance-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to run performance tests

Run all simulations

./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

Run specific test

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

Verify Gatling scenarios compile

./gradlew :performance-test:compileGatlingJava

Gatling Documentation

Gatling Quickstart Gatling Advanced Simulations Passing Command Line Parameters Gatling Gradle Plugin

Building performance test simulation documentation