152-java-performance-gatling

Solid

Use when you need to set up Gatling performance testing for a Java Maven project — including adding Gatling dependencies and the Gatling Maven plugin, creating Java simulations, running gatling:test, configuring a simulation class, and reviewing generated reports. This should trigger for requests such as Add Gatling performance testing; Apply Gatling performance testing; Create a Gatling simulation; Add Gatling support. Part of cursor-rules-java project

AI & Automation 404 stars 81 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 92/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Run performance tests based on Gatling Provide a complete Gatling performance testing setup for Java Maven projects by adding the required test dependencies and Gatling Maven plugin configuration, creating or guiding Java simulation placement, and explaining how to run simulations and inspect reports. **What is covered in this Skill?** - Add Gatling dependencies and the `gatling-maven-plugin` to `pom.xml` - Project structure: `src/test/java` for Java simulations and `src/test/resources` for Gatling configuration, feeders, templates, and logging - Run simulations with `./mvnw gatling:test` - Select a simulation with `-Dgatling.simulationClass=<FullyQualifiedClassName>` when multiple simulations exist - Use `./mvnw gatling:help -Ddetail=true -Dgoal=test` to inspect available plugin options - Review generated Gatling run output and reports under the build output directory **Scope:** Use Gatling through the Maven plugin for Java simulations. Prefer project-local Maven wrapper commands when available. ## Constraints Gatling setup must be Maven-based, reproducible, and compatible with Java project conventions. Prefer official Gatling Maven plugin behavior and avoid inventing unsupported command-line options. - **PREREQUISITE**: Verify the project is Maven-based and prefer `./mvnw` when the Maven wrapper exists - **BUILD CONFIGURATION**: Add Gatling dependencies with test scope and configure `io.gatling:gatling-maven-plugin` in `pom.xml` - **VERSION SELECTION**: Use the pro...

Details

Author
jabrena
Repository
jabrena/cursor-rules-java
Created
1 years ago
Last Updated
today
Language
Java
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category