fault injection
Deliberately introducing a known bug or failure to check that tests and monitoring detect it.
In more detail
A test suite earns trust only by failing for real faults. In chaos testing the same idea is applied to running systems, for example by killing a dependency.
Example
patch -p1 < breakages/01-missing-404/break.patchRelated terms
- contract testing — Testing that an API’s real behaviour matches its written contract, and that its callers only rely on what the contract promises.
- patch — A file listing line-by-line changes to source files, and the patch command that applies or reverses them.
Taught in
- HTTP Methods And Status Codes — Modern API Architecture: REST, GraphQL & gRPC
- Caching And Conditional Requests — Modern API Architecture: REST, GraphQL & gRPC
- Idempotency Keys — Modern API Architecture: REST, GraphQL & gRPC
- Contract Testing — Modern API Architecture: REST, GraphQL & gRPC
- Security Best Practices — Modern API Architecture: REST, GraphQL & gRPC