1---2name: load-testing-plan3enabled: true4description: |5 Use when performing load testing plan — designs a comprehensive load testing6 plan covering test scenario definition, workload modeling, environment7 preparation, tool selection, execution strategy, and results analysis.8 Supports stress testing, soak testing, spike testing, and capacity planning9 for web applications and APIs.10required_connections:11 - prefix: monitoring12 label: "Monitoring Platform"13config_fields:14 - key: target_application15 label: "Target Application or API"16 required: true17 placeholder: "e.g., api.example.com, checkout service"18 - key: expected_peak_load19 label: "Expected Peak Load"20 required: true21 placeholder: "e.g., 5,000 concurrent users, 10,000 req/s"22 - key: test_tool23 label: "Load Testing Tool"24 required: false25 placeholder: "e.g., k6, JMeter, Gatling, Locust"26features:27 - PERFORMANCE28 - TESTING29 - LOAD_TEST30metadata:31 source: https://skillmd.com/skills/cloudthinker-ai/load-testing-plan32---3334# Load Testing Plan3536## Phase 1: Test Objectives & Scenarios371. Define load testing objectives38 - [ ] Validate system handles expected peak load39 - [ ] Identify breaking point (stress test)40 - [ ] Verify stability under sustained load (soak test)41 - [ ] Test behavior under sudden traffic spikes42 - [ ] Establish performance baselines432. Define user scenarios and workflows44 - [ ] Identify critical user journeys45 - [ ] Define think times and pacing46 - [ ] Map API call sequences per scenario47 - [ ] Assign scenario weights based on production traffic4849### Scenario Definition5051| Scenario | Steps | Weight (%) | Think Time | Data Requirements |52|----------|-------|-----------|------------|-------------------|53| Browse products | | % | s | Product catalog |54| Search | | % | s | Search queries |55| Add to cart | | % | s | Product IDs |56| Checkout | | % | s | Payment test data |57| API integration | | % | s | API keys |5859## Phase 2: Workload Model601. Define load profiles61 - [ ] Baseline load: normal traffic pattern62 - [ ] Peak load: maximum expected concurrent users63 - [ ] Stress load: 1.5-2x peak to find breaking point64 - [ ] Soak load: sustained peak for 4-8 hours65 - [ ] Spike load: sudden jump from baseline to 3x peak662. Define ramp-up and ramp-down patterns673. Set performance acceptance criteria6869### Performance Acceptance Criteria7071| Metric | Target | Threshold (Warning) | Limit (Fail) |72|--------|--------|--------------------|----|73| Response time (P50) | < ms | < ms | < ms |74| Response time (P95) | < ms | < ms | < ms |75| Response time (P99) | < ms | < ms | < ms |76| Error rate | < % | < % | < % |77| Throughput | > req/s | > req/s | > req/s |78| CPU utilization | < % | < % | < % |79| Memory utilization | < % | < % | < % |8081## Phase 3: Environment Preparation821. Prepare test environment83 - [ ] Environment matches production configuration (or scaled ratio)84 - [ ] Test data seeded in databases85 - [ ] External dependencies stubbed or isolated86 - [ ] Monitoring and APM tools configured87 - [ ] Load generators provisioned (distributed if needed)882. Validate load generator capacity is sufficient893. Baseline the environment under zero load904. Coordinate with dependent teams9192## Phase 4: Test Script Development931. Write test scripts per scenario942. Parameterize test data (user credentials, product IDs, etc.)953. Implement proper correlation for dynamic values964. Add response validation assertions975. Test scripts with single user before scaling986. Version control all test artifacts99100## Phase 5: Test Execution1011. Execute tests in order102 - Run 1: Baseline test (low load, validate scripts)103 - Run 2: Normal load test (expected average traffic)104 - Run 3: Peak load test (expected maximum)105 - Run 4: Stress test (beyond peak, find breaking point)106 - Run 5: Soak test (sustained load, 4-8 hours)107 - Run 6: Spike test (sudden load increase)1082. Collect metrics during each run1093. Document observations and anomalies1104. Allow system recovery between test runs111112## Phase 6: Results Analysis & Reporting1131. Analyze results against acceptance criteria1142. Identify bottlenecks and their root causes1153. Generate performance comparison charts1164. Document capacity limits discovered1175. Provide optimization recommendations118119### Results Summary120121| Test Type | Max Users | P95 Latency | Error Rate | Throughput | Pass/Fail |122|-----------|----------|-------------|------------|------------|-----------|123| Baseline | | ms | % | req/s | |124| Peak | | ms | % | req/s | |125| Stress | | ms | % | req/s | |126| Soak | | ms | % | req/s | |127| Spike | | ms | % | req/s | |128129## Counter-Rationalizations130131| Shortcut | Counter | Why |132|----------|---------|-----|133| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |134| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |135| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |136| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |137| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |138139## Output Format140- **Test Plan Document**: Scenarios, workload model, acceptance criteria141- **Test Scripts**: Version-controlled load test code142- **Execution Log**: Run results with timestamps and observations143- **Results Report**: Metrics, charts, bottleneck analysis144- **Recommendations**: Performance optimization actions145146## Action Items147- [ ] Define test scenarios and acceptance criteria148- [ ] Prepare test environment and data149- [ ] Develop and validate test scripts150- [ ] Execute all test runs151- [ ] Analyze results and identify bottlenecks152- [ ] Present findings and recommendations to team153- [ ] Schedule follow-up test after optimizations