Resilience Testing checks what a service must preserve before, during, and after a disruption. A fallback response is not enough if the protected business invariant is lost or the system cannot leave its degraded state safely.
Define the states and protected functions
Use the supplied business contract to describe normal, degraded, and unavailable states. For each state, record which functions and data invariants must remain protected and which user experiences may change or pause.
| Phase | Questions to answer from the supplied contract |
|---|---|
| Before disruption | Which data and business invariants establish the baseline? |
| During degradation | What remains available, what is suspended, and what must not spread? |
| Recovery and exit | Which invariants must be restored before normal behavior resumes? |
Do not invent availability targets or thresholds. If the protected core, permitted degradation, or exit condition is undefined, keep it as a gap.
Trace a dependency failure through the system
Model the partial or slow dependency, the fallback, the isolation boundary, and the recovery path as one timeline. Follow affected requests and ledgers to identify duplicate side effects, stale fallback data, resource exhaustion, and compensation needs. Check both the behavior during disruption and whether restored invariants allow the system to exit degradation.
For example, a checkout design may use a cached tax estimate during a provider timeout. The review can ask how that estimate is reconciled before payment capture and what evidence would confirm the boundary. This example is a review candidate, not an executed fault test.
How to interpret the example
This remains illustrative. If an isolated run record shows a cached estimate returned during the dependency timeout, it supports only the bounded claim that the fallback response appeared for that request. Without a post-recovery ledger reconciliation, the data invariant remains unverified. If reconciliation shows duplicate or missing records, record that scoped discrepancy for the owner to assess. Without request identity, environment, and raw records, do not turn the design expectation into a runtime result.
Keep resilience distinct from adjacent evidence
Resilience scenarios assess degraded behavior and recovery together. A service that responds during an outage but cannot restore its data invariants has not demonstrated complete resilience. Long-term reliability metrics and chaos-injection experiments answer different questions; neither is a substitute for the supplied scenario and its evidence.
Record a RES-## finding
Capture the object or rule, source, trigger or applicability, expected concern, evidence state, impact and priority, owner role, close condition, and validation method. Separate facts, evidence-backed inferences, candidate recommendations, and Human decisions.
Keep validation within authority
Review supplied contracts, dependency maps, fallback rules, ledgers, and prior run records as static evidence. Recommend only the smallest isolated and reversible validation, with an owner and stop condition. Do not inject faults, access live dependencies, or convert a planned experiment into a resilience claim.
Related Skills
- Recovery Testing: https://inaodeng.com/en/qaskills/recovery-testing/ evaluates restored data, service readiness, and business consistency.
- Failover Testing: https://inaodeng.com/en/qaskills/failover-testing/ focuses on a live primary/standby transition.
- Circuit Breaker Testing: https://inaodeng.com/en/qaskills/circuit-breaker-testing/ examines a specific isolation control.
Install and invoke
Install the Skill:
npx skills add https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en --skill resilience-testing
Invoke resilience-testing with the business invariants, allowed degradation, dependency map, fallback and isolation rules, recovery evidence, and residual-risk questions.
For example:
Use the resilience-testing Skill.
Review this service design: [versioned design and dependency map].
Business invariants: [source and protected data/functions].
Allowed degradation: [approved behaviors and boundaries].
Recovery evidence: [supplied run records or state that none are available].
Do not access live systems or inject faults. Separate supported facts, gaps, and assumptions; produce RES-## findings with an owner, close condition, and smallest isolated validation.
FAQ
Does a fallback response prove resilience?
No. The review must also trace the protected data and business invariants through recovery and the return to normal operation. A fallback seen in one run supports only that bounded observation.
When can a design review claim that recovery works?
Only within the scope of supplied execution evidence. Retain the run identity, version, environment, time, and raw result; without those records, report a design gap or validation plan.
Source
Read the Resilience Testing prompt: https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/resilience-testing/prompts/resilience-testing.md. It defines the RES-## finding contract and requires evidence across disruption phases.
- Skill details: https://inaodeng.com/en/qaskills/resilience-testing/
More Resources
- Personal website: https://inaodeng.com/en/
- AI-generated test detection project: https://github.com/AI-Native-QA-Lab/ai-test-auditor
- DeepSeek QA Workbench: https://github.com/naodeng/dsh-qa
- More AI testing skills: https://inaodeng.com/en/qaskills/
- More testing wiki: https://inaodeng.com/en/wiki/
- More AI Wiki: https://inaodeng.com/en/AIWiki/