Gatling base setup performance project
Welcome to the performance engineering workspace. This project uses Gatling with the Java DSL to define and execute repeatable load, stress, and soak scenarios.
- Ensure you have Java 17+ and Maven 3.8+ installed.
- Review
pom.xmlfor plugin versions and adjust organization-specific coordinates. - Run a smoke test locally:
./scripts/run-local.sh
config/ # Gatling/generic configuration overrides
docs/ # SLA baselines, report analysis guides
scripts/ # Execution helpers for local and CI pipelines
src/main/java/ # Java sources (config, feeders, scenarios)
src/test/resources/data/ # CSV/JSON feeders consumed by simulations
src/test/resources/bodies/ # HTTP request payload templates
target/gatling/ # Generated reports (ignored in VCS)
mvn gatling:test– run the selected simulation (config viagatling.simulationClass)mvn clean verify– full build; bundles test + performance profiles./scripts/run-ci.sh– opinionated CI wrapper with headless options
- Tailor feeder data under
src/test/resources/data. - Extend
HttpProtocolFactorywith headers, base URLs per environment. - Model nuanced journeys in
scenarioand expose runnablesimulationclasses. - Capture SLA targets in
docs/results-guide.mdto track regression thresholds.
Happy profiling!