Gatling Community Edition is a load testing tool where scenarios are written as code. Runs produce HTML reports with timings, throughput, and errors, and can fail CI builds on thresholds.
Overview
Gatling lets teams define load test simulations in Java, JavaScript, TypeScript, Kotlin, or Scala, version them like application code, and execute them on a workstation or in continuous integration. Each run yields an HTML report with percentiles, throughput over time, and per-request errors, plus assertions that can break the build when limits are exceeded.
The engine uses a non-blocking design built on Netty, modeling virtual users as lightweight messages rather than one thread per user. The same simulation can run locally or in CI through Maven, Gradle, sbt, or npm plugins. Community Edition covers HTTP/1.1, HTTP/2, WebSocket, Server-Sent Events, and JMS without caps on duration or virtual users for those protocols.
Authoring tools include a Recorder that turns browser sessions or HAR files into simulations, feeders for CSV, JSON, and databases, and checks on status codes, bodies, headers, and timings. Open and closed workload models are supported. Additional protocols and enterprise-oriented load generation are offered separately from the core open-source edition.
Gatling is aimed at developers who want performance tests kept alongside application code, reviewed in pull requests, and wired into existing build pipelines without a proprietary scenario format.
Key features
- Simulations written as code
- Netty-based non-blocking engine
- HTML reports with percentiles
- Maven, Gradle, sbt, npm plugins
- HTTP/2 and WebSocket support
- Recorder from HAR or browser
- Build-failing assertions
- CSV, JSON, and database feeders
Use cases
- CI performance regression gates
- API and web load testing
- Throughput and latency analysis
- Pre-release capacity checks