Plan load and performance testing
Load test scenarios, targets, tooling, and how to read the results.
The prompt
Help me plan load and performance testing.
System: [API/web app, architecture, environment to test]
Critical user journeys or endpoints: [LIST]
Expected traffic: [normal and peak requests per second or concurrent users]
Performance targets: [e.g. p95 under 300ms, error rate under 0.1%]
Tool preference: [k6 / JMeter / Locust / Gatling / Artillery]
Deliver:
1. Test types to run — baseline, load, stress, spike, soak — and what each answers.
2. Scenarios with a realistic user mix and think times.
3. A test script for the main scenario in my tool.
4. Metrics to collect (latency percentiles, throughput, errors, CPU/memory, database) and how to read them.
5. Pass/fail criteria.
6. Common bottlenecks to check when targets are missed.
Highlighted [brackets] are blanks to replace with your own details.
Fill in the blanks and use this promptMore Software Development prompts
What to fill in
- API/web app, architecture, environment to test
- LIST
- normal and peak requests per second or concurrent users
- e.g. p95 under 300ms, error rate under 0.1%
- k6 / JMeter / Locust / Gatling / Artillery
How this prompt is built
This prompt follows the RTF structure (Role, Task, Format). RTF tells the model who to be, what to do and what shape the answer should take. It is the quickest structure that still gives noticeably better results than a bare request.
Related prompts
- Plan a major framework or dependency upgradeBuilds an incremental upgrade path for a framework, language, or library version, with breaking changes mapped to your codebase.
- Implement a feature from a spec, with testsPlans and writes production-quality code for a feature, including tests and edge cases.
- Set up CI/CD and infrastructure as codeCI/CD pipelines and IaC templates with environments, checks, and rollback.
- Plan a feature flag rollout and rollbackDesigns a staged release behind a feature flag, with audience steps, metrics to watch, kill criteria, and flag cleanup.