152 java performance gatling

From jabrena/plinth · View interactive version

152 java performance gatling is an AI agent skill from the GitHub repository jabrena/plinth. 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 su

How to use this skill

Skill file

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?

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.

When to use this skill

Workflow

  1. Inspect the Maven project

Check for pom.xml, the Maven wrapper, existing test dependencies, dependency management, plugin management, and any existing Gatling configuration.

  1. Add Gatling build configuration

Add the Gatling test dependency and io.gatling:gatling-maven-plugin using the project's existing version and plugin configuration style.

  1. Create or adapt Java simulations

Create Java simulation classes under src/test/java or adapt existing simulations, keeping scenario names, base URLs, injection profiles, and assertions explicit.

  1. Configure resources

Add optional Gatling resources under src/test/resources, including gatling.conf, feeders, request body templates, and logback-test.xml only when the project needs them.

  1. Run and explain Gatling execution

Use ./mvnw gatling:test to run simulations and -Dgatling.simulationClass=<FullyQualifiedClassName> when a specific simulation must be selected.

  1. Verify reports and next steps

Confirm the Gatling run completed, point to the generated report location from the command output, and summarize any failed assertions or performance findings.

Reference

For detailed guidance, examples, and constraints, see references/152-java-performance-gatling.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.