Load testing framework for web applications.
## Gatling MCP Server: High-Performance Load Testing The **Gatling MCP Server** integrates enterprise-grade load testing capabilities into Google Antigravity, enabling high-performance testing of web applications with detailed metrics and AI-assisted scenario development. ### Why Gatling MCP? - **High Performance**: Handle millions of concurrent users with efficient resource utilization - **Code-Based Tests**: Define tests as code in Scala, Java, or Kotlin for version control and reuse - **Detailed Reports**: Generate comprehensive HTML reports with percentile distributions and trends - **Protocol Support**: Test HTTP, WebSocket, JMS, and MQTT protocols out of the box - **Real-Time Metrics**: Monitor test execution with live graphs and instant feedback ### Key Features #### 1. Load Test Execution ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Run Gatling simulation with 1000 users ramping up over 10 minutes against the API" }] ) ``` #### 2. Scenario Design ```python # Create scenarios response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Design Gatling scenario simulating user browsing, search, and purchase workflow" }] ) ``` #### 3. Report Analysis ```python # Analyze results response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Analyze Gatling report and identify requests with p99 latency above SLA threshold" }] ) ``` #### 4. Comparison Testing ```python # Compare runs response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Compare performance between current release and previous version under load" }] ) ``` ### Configuration ```json { "mcpServers": { "gatling": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-gatling"], "env": { "GATLING_HOME": "/opt/gatling", "GATLING_REPORTS_DIR": "./gatling-reports" } } } } ``` ### Use Cases **Capacity Planning**: Determine system limits and plan infrastructure scaling appropriately. **Performance Regression**: Detect performance degradation before production deployments. **SLA Validation**: Verify applications meet performance requirements under expected load. **Stress Testing**: Push systems beyond normal limits to understand failure modes. The Gatling MCP Server enables enterprise-grade load testing, ensuring your applications perform reliably under any traffic conditions.
{
"mcpServers": {
"gatling": {}
}
}