agentsclimarketplace

Gatling

Skill G1Joshi/Agent-Skills/skills/testing/gatling

Gatling load testing for APIs. Use for load testing.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill gatling

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.9 KB, 433 tokens by cl100k_base, as published. Nobody here has run it

Gatling

Gatling is a powerful load testing tool. It is designed for ease of use, maintainability, and high performance. It uses an asynchronous (Akka/Netty) architecture that allows generating huge load from a single machine.

When to Use

  • High Throughput: When you need to simulate 10k+ users from a single laptop.
  • Complex Scenarios: The DSL (Domain Specific Language) allows describing very complex user journeys.
  • JVM Shops: If your team uses Java/Scala/Kotlin.

Quick Start (Java)

import static io.gatling.javaapi.core.CoreDsl.*;
import static io.gatling.javaapi.http.HttpDsl.*;

public class BasicSimulation extends Simulation {

  HttpProtocolBuilder httpProtocol = http
    .baseUrl("http://computer-database.gatling.io")
    .acceptHeader("application/json");

  ScenarioBuilder scn = scenario("BasicSimulation")
    .exec(http("request_1").get("/computers"));

  {
    setUp(
      scn.injectOpen(atOnceUsers(10))
    ).protocols(httpProtocol);
  }
}

Core Concepts

Simulation

The definition of the load test. Contains the HTTP configuration, the Scenario (steps users take), and the Injection Profile (how users arrive).

Feeders

Mechanisms to inject data (valid usernames, search terms) from CSV/JSON into the virtual users so they don't all look identical.

Best Practices (2025)

Do:

  • Use the Java/Kotlin DSL: Scala was the default, but Java/Kotlin SDKs are now first-class and easier for most teams.
  • Record User Journeys: Use the Gatling Recorder (proxy) to capture browser interactions, then clean up the code.

Don't:

  • Don't ignore reports: Gatling generates beautiful HTML reports at the end. Open index.html to see the response time distribution graphs.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.