Skip to content

sumanmaity112/gatling-example

Repository files navigation

Gatling Example

Sample repository with Gatling scenarios.

How to build executable jar

./gradlew fatJar

How to run simulations

export LIMIT=<Number of requests needs to invoke>
export DURATION_IN_SECONDS=<How long performance tests should run>
java -jar build/libs/gatling-example-1.0-SNAPSHOT-all.jar # to run all simulations sequentially
java -jar build/libs/gatling-example-1.0-SNAPSHOT-all.jar <simulation name(s)> # to run specific simulation(s)

example 1

export LIMIT=5
export DURATION_IN_SECONDS=5

java -jar build/libs/gatling-example-1.0-SNAPSHOT-all.jar

example 2

export LIMIT=5
export DURATION_IN_SECONDS=5

java -jar build/libs/gatling-example-1.0-SNAPSHOT-all.jar GetPhotosSimulation

example 3

export LIMIT=5
export DURATION_IN_SECONDS=5

java -jar build/libs/gatling-example-1.0-SNAPSHOT-all.jar GetPhotosSimulation GetTodosSimulation

About

Repository with sample Gating scenario

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages