All faults / App & host
Exception injection: chaos experiment
Makes a share of calls to one method throw an exception. It tests the code you wrote around the failure: catch blocks, retries and what the user sees.
What it tests
error handling, retries on idempotent calls, degraded modes
error handling, retries on idempotent calls, degraded modes
The hypothesis holds when
Retries absorb the occasional failure, and a fallback returns a degraded answer for the rest.
Retries absorb the occasional failure, and a fallback returns a degraded answer for the rest.
It breaks when
The exception escapes to the caller as a 500, or a retry loop multiplies the load on a call that is already failing.
The exception escapes to the caller as a 500, or a retry loop multiplies the load on a call that is already failing.
Reference
The same fault in other tools
- Chaos Mesh: JVMChaos · exception
- LitmusChaos: no equivalent
- ChaosBlade: blade create jvm throwCustomException
- Chaos Monkey: no equivalent
Generated manifests and commands are on the Export tab. Confirm flags for your version before running them.
Run this experiment in your browser
Simulator only today. Export it as a manifest from the Export tab.