Gatling can be installed and run entirely on your own machine or CI infrastructure, independent of Gatling Enterprise’s cloud control plane. The open-source distribution is the foundation on which test scripts are written and validated locally before being packaged and deployed to Gatling Enterprise Edition for scaled cloud execution. This page covers the available installation methods, prerequisites, IDE configuration, and how to run your first simulation locally.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gatling/gatling.io-doc/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
JVM languages (Java, Kotlin, Scala)
Gatling runs on the Java Virtual Machine. Before installing, ensure you have:- Java: 64-bit OpenJDK LTS, versions 11 through 25. 32-bit JVMs and OpenJ9 are not supported. The Azul JDK is recommended.
- Language support: Java, Kotlin, and Scala are supported from Gatling 3.7 onward. Earlier versions support Scala only.
Unless you are an experienced Scala or Kotlin developer, choose Java as your simulation language.
JavaScript / TypeScript
Gatling’s JavaScript SDK requires:- Node.js v24 or later (LTS versions only)
- npm v11 or later (bundled with Node.js)
The JavaScript SDK currently covers the HTTP protocol only. Other Gatling protocols (JMS, MQTT, etc.) require the JVM distribution.
Installation methods
- Maven (recommended)
- Gradle
- sbt (Scala)
- JavaScript / TypeScript
- Standalone Bundle
Maven is the recommended build tool for Java (and Kotlin) users. A Maven wrapper (
mvnw) is included, so you do not need to install Maven separately.IDE setup
IntelliJ IDEA
IntelliJ IDEA Community Edition includes Java, Kotlin, Maven, and Gradle support by default. For Scala and sbt, install the Scala plugin (available in the Community Edition). Increase the Scala compiler stack size to avoidStackOverflowError during compilation:
- Open Settings → Build, Execution, Deployment → Compiler → Scala Compiler
- Set the
XssJVM option to100M
VS Code
Install the appropriate language extension for your chosen language:- Java: Java Extension Pack
- Kotlin: Kotlin plugin
- Scala: Metals
Running your first simulation locally
The demo projects include a pre-configured simulation you can run immediately to experience Gatling’s reports feature.Starting the Gatling Recorder
The Gatling Recorder captures browser interactions and converts them into a Gatling script.JAVA_HOME considerations
Next steps
After validating your simulation locally, deploy it to Gatling Enterprise Edition for scaled, multi-location cloud runs:Package Generation
Learn how to package your simulation for upload to Gatling Enterprise.
Test as Code
Create and configure a test-as-code run in the Enterprise UI.