Complete AI Training

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.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. 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

  1. If any context is missing, ask for it before generating scenarios.
  2. Create stress testing scenarios that simulate extreme load conditions, including peak traffic and concurrent user activity.
  3. Vary user behaviors to make the scenarios realistic.
  4. For cloud or distributed systems, incorporate complex data processing tasks.
  5. Provide scripts or pseudocode for the scenarios, if applicable.
  6. 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?