gatling
Installation
SKILL.md
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-Concurrency Load Testing: Simulating tens of thousands of concurrent virtual users with minimal CPU and memory footprints.
- Performance Regression Gates in CI/CD: Running automated performance assertions against staging environments on every release.
- Scala / Java / Kotlin / TypeScript Load DSLs: Writing programmatic, version-controlled load testing scenarios as code.
- Protocol Benchmarking: Stress testing HTTP, WebSockets, Server-Sent Events, and JMS message queues.
Quick Start
import static io.gatling.javaapi.core.CoreDsl.*;
import static io.gatling.javaapi.http.HttpDsl.*;
public class BasicSimulation extends Simulation {