Writing effective Gatling simulations requires knowing the SDK, structuring user journeys correctly, and choosing the right injection profiles and checks. Gatling’s AI extensions accelerate every part of that process by bringing AI-powered assistance directly into your editor — whether you use VS Code, Cursor, Windsurf, or any other IDE that supports the Model Context Protocol. The extensions can generate new simulations from scratch, explain complex expressions, refine existing scenarios, and even deploy and run tests on Gatling Enterprise Edition without leaving your editor.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.
What the AI Extensions Provide
Gatling AI assistance is packaged in two complementary forms:IDE Assistants
Extensions for VS Code, Cursor, and Windsurf that add an AI chat panel, contextual code explanation, and refine-selection capabilities directly in your editor.
MCP Server
A Model Context Protocol server that exposes your Gatling Enterprise Edition resources (teams, packages, simulations, locations) to any MCP-compatible AI assistant.
IDE Assistants
VS Code
The Gatling AI Assistant for VS Code integrates into your editor’s activity bar and supports JavaScript, TypeScript, Java, Scala, and Kotlin simulations.Installation
From the VS Code Marketplace:Configure an API Key
The extension communicates directly with your chosen AI provider — no data passes through Gatling servers.Choose your provider
Select one of:
- OpenAI (
gpt-4o-2024-11-20) — recommended for general use - Anthropic Claude (
claude-3-5-sonnet-20241022) — strong for complex reasoning - Azure OpenAI — enterprise deployments with data residency requirements
Key Features
| Feature | How to use |
|---|---|
| Create simulation | Click the Gatling icon in the activity bar and ask the chat to generate a simulation |
| Explain code | Select any Gatling code → right-click → Explain Code |
| Refine selection | Select code → right-click → Refine Selection → describe your goal |
| Ask questions | Open the Gatling panel and type any question about Gatling concepts |
| Persistent chat | Conversations are saved per workspace and restored across sessions |
Privacy
- API keys and conversations never touch Gatling’s servers
- Code sent to AI providers is automatically redacted — API tokens, passwords, and secrets are stripped before submission
- Each workspace has an isolated conversation history
Cursor
The Gatling AI Assistant for Cursor is identical in scope to the VS Code extension. Install from the Cursor Marketplace:- Open Cursor
- Go to Extensions
- Search for Gatling AI Assistant
- Click Install
Ctrl+Shift+P → Gatling: Set API Key, exactly as in VS Code. All features — create, explain, refine, chat — work identically.
Windsurf
The Gatling AI Assistant for Windsurf is also feature-equivalent to the VS Code extension. Install from the Windsurf Marketplace:- Open Windsurf
- Go to Extensions
- Search for Gatling AI Assistant
- Click Install
Ctrl+Shift+P → Gatling: Set API Key) to configure your preferred AI provider.
MCP Server
The Gatling MCP Server exposes your Gatling Enterprise Edition resources — teams, packages, simulations, and load generator locations — to any AI assistant that supports the Model Context Protocol. This enables natural-language queries like “list my simulations” or “start simulation X in region Y” without opening the Gatling Enterprise web UI.Prerequisites
- A Gatling Enterprise Edition account
- An API token with at least the Configure role
- Node.js v24+ (for the
npxinstallation method) or Docker
Claude CLI (Recommended)
Claude Desktop
Add toclaude_desktop_config.json (location varies by OS):
- NPX
- Docker
VS Code MCP Integration
Add to your VS Codesettings.json or .vscode/mcp.json:
Available MCP Tools
| Tool | Description |
|---|---|
list_gatling_enterprise_teams | List all teams in your Gatling Enterprise organisation |
list_gatling_enterprise_packages | List all uploaded simulation packages |
list_gatling_enterprise_tests | List all configured simulations (tests) |
list_gatling_enterprise_locations | List all public and private load generator locations |
Claude Code Plugin (One-Step Setup)
The quickest way to get all Gatling AI capabilities — IDE skills and MCP server — in Claude Code is through the Gatling plugin in the Claude Marketplace:- Bootstrap project — create a new Gatling project from scratch
- Build tools — deploy and start tests on Gatling Enterprise
- Configuration as code — generate or update
.gatling/package.conf - Convert from JMeter — convert
.jmxtest plans to Gatling - Convert from LoadRunner — migrate LoadRunner scripts to Gatling