← All Prompt Categories

📚 LLM HUB · 1 PROMPTS

Gatling Script Generation

1 copy-ready AI prompts for gatling script generation in JMeter, k6, and Gatling. Part of the JMeter.AI LLM Hub.

Gatling Simulation for HTTP API

Generate a Gatling simulation in Java DSL for:

Base URL: [https://api.example.com]
Endpoints:
  1. [GET /endpoint] with header [key: value]
  2. [POST /endpoint] with body: [JSON]

Load profile:
- Ramp [N] users over [N] seconds
- Hold for [N] seconds

Include:
- Session variable extraction with jsonPath
- Checks on status and response body
- Feeder for CSV test data
- Assertions on p95 and error rate
- Protocol configuration with baseUrl and headers