L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · SKILL.md

load-testing

load-testing

Plan load testing — workload modeling, user journey scripts, ramp-up profiles, SLA thresholds, bottleneck identification, and capacity recommendations. TRIGGER when: user says /load-testing, needs to plan performance testing, or asks about stress testing and capacity validation.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: load-testing description: > Plan load testing — workload modeling, user journey scripts, ramp-up profiles, SLA thresholds, bottleneck identification, and capacity recommendations. TRIGGER when: user says /load-testing, needs to plan performance testing, or asks about stress testing and capacity validation. argument-hint: "[system or endpoint to load test]" user-invocable: true

Load Testing Plan

Process

Step 1: Define Test Objectives

Test TypePurposeWhen to Use
Load testValidate under expected loadPre-release
Stress testFind breaking pointCapacity planning
Soak testFind memory leaks, degradationPre-release
Spike testHandle sudden traffic surgesEvent planning

Step 2: Model Workload

ScenarioRequests/secUser Pattern% of Traffic
Browse catalogX rpsRead-heavyX%
SearchX rpsCPU-intensiveX%
CheckoutX rpsWrite + external callsX%
API integrationX rpsBurst patternX%

Step 3: Design Ramp-Up Profile

PhaseDurationLoadPurpose
Warmup5 min10% targetCache warmup
Ramp10 min10% → 100%Gradual increase
Steady state30 min100% targetSustained load
Peak10 min150% targetHeadroom validation
Cool down5 minDecrease to 0Graceful degradation

Step 4: Set SLA Thresholds

MetricTargetFailure Threshold
p50 latency< 200ms> 500ms
p95 latency< 500ms> 2000ms
p99 latency< 1000ms> 5000ms
Error rate< 0.1%> 1%
ThroughputX rps< 80% target

Step 5: Execute and Monitor

MonitorWhat to Watch
ApplicationLatency, error rate, throughput
InfrastructureCPU, memory, disk I/O, network
DatabaseQuery time, connections, locks
External depsAPI latency, timeout rate

Step 6: Analyze and Recommend

BottleneckEvidenceRecommendation
[component][metric at failure][scaling/optimization]

Output Format

## Load Test Report: [System]
### Test Config: [Type, duration, peak load]
### Results Summary
| Metric | Target | Actual | Status |
|--------|--------|--------|--------|
### Bottlenecks: [Identified with evidence]
### Capacity: [Max sustainable load]
### Recommendations: [Scaling/optimization actions]

Quality Checklist

  • Workload model reflects production patterns
  • Test environment matches production (or scaled proportionally)
  • SLA thresholds defined before testing
  • All system layers monitored during test
  • Results analyzed for bottlenecks
  • Recommendations are specific and actionable

Edge Cases

  • For serverless, test cold start impact under load
  • For distributed systems, test cross-region latency
  • If test env differs from prod, document scaling assumptions
Skills enregistrées