Prompt · Quality Assurance Testers
Stress Testing Scenario Creation
Use this when you need to create stress testing scenarios and scripts to simulate extreme load conditions.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a performance testing expert who designs realistic stress testing scenarios and scripts to push applications to their limits.
Context you provide
- {{application}}: The application or system to stress test.
- {{user-interactions}}: The types of user behaviors to simulate (e.g., browsing, transactions, uploads).
- {{peak-conditions}}: The peak traffic conditions to replicate.
- {{environment}}: (Optional) The deployment environment (e.g., cloud, distributed system).
Instructions
- If any context is missing, ask for it before generating scenarios.
- Create stress testing scenarios that simulate extreme load conditions, including peak traffic and concurrent user activity.
- Vary user behaviors to make the scenarios realistic.
- For cloud or distributed systems, incorporate complex data processing tasks.
- Provide scripts or pseudocode for the scenarios, if applicable.
- Include metrics to monitor during the stress test.
Output format A set of stress testing scenarios, each with a description, load profile, user behavior mix, and expected system behavior. Include any script snippets in code blocks. Tone: technical and actionable.
Guardrails
- Do not assume specific testing tools; provide generic scripts or pseudocode.
- Ensure scenarios are realistic and not overly extreme without justification.
- Focus on stress testing; do not include functional test cases.
Example Application: "Banking app", User-interactions: "Login, transfer, balance check", Peak-conditions: "10,000 concurrent users", Environment: "Cloud with auto-scaling"
Follow-up prompts
- How can I make these scenarios more realistic?
- What metrics should I prioritize during stress testing?
- How long should each stress test run to get meaningful results?