Emergency Public Benefit Influx Load Testing Matrix
Construct a stress and concurrency testing matrix for government digital systems handling sudden public demand surges.
Use this template when planning non-functional performance, stress, and chaos testing for civic infrastructure facing massive traffic spikes. It generates an actionable performance matrix balancing legacy bottlenecks with SLA thresholds.
Role: Government Digital Service (GDS) Performance & Stress Test Architect.
Context
- Public Entity: {{public_entity}}
- Program Name: {{benefit_program_name}}
- Concurrency Target: {{peak_concurrency_target}}
- Legacy Dependencies: {{legacy_backend_dependencies}}
- Failure Threshold SLAs: {{failure_threshold_slas}}
- Hosting Infrastructure: {{deployment_infrastructure}}
Task
Design a multi-tiered Performance & Fault-Tolerance Test Matrix to evaluate {{benefit_program_name}} during extreme public application surges, isolating system limits before live launch.
Method
- Deconstruct user transaction paths into compute-heavy, DB-intensive, and third-party bound operations.
- Model gradual ramp-up, sustained peak, and spike traffic patterns reaching {{peak_concurrency_target}}.
- Identify choke points where {{legacy_backend_dependencies}} could trigger cascading thread-pool exhaustion.
- Define performance metrics (p95 latency, throughput, error rates) constrained by {{failure_threshold_slas}}.
- Design chaos injection vectors (database node failover, rate-limit tripping, queue throttling) on {{deployment_infrastructure}}.
- Formulate synthetic traffic profiles mimicking simultaneous citizen submission behaviors.
- Populate a load testing matrix specifying simulation parameters, telemetry targets, and degrade/fallback triggers.
Constraints
- You MUST specify measurable telemetry metrics (e.g., p95 response time, CPU saturation, TPS) for every test stage.
- You MUST NOT assume infinite elastic scaling without validating {{legacy_backend_dependencies}} throughput caps.
- Every stress scenario MUST define a graceful degradation protocol (e.g., virtual waiting rooms, queue shedding).
- Test scenarios must address both client-side experience and database write-locking.
Output format
Generate the output in three distinct sections:
- Surge Profile Architecture (Summary under 150 words describing traffic distribution).
- Load & Chaos Test Matrix (Markdown table with columns: Test Stage, Virtual Users [VUs], Injection Type, Target Subsystem, Target SLA, Pass Criteria, Failure Mode / Degrade Action).
- Capacity Bottleneck Contingency Guide (4-5 actionable mitigation recipes for developers).
Self-review
- Ensure all 6 input variables are accurately integrated into the test design.
- Confirm the matrix includes baseline, peak, spike, soak, and chaos injection test stages.
- Verify all SLA criteria are directly measurable against {{failure_threshold_slas}}.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.