Automated Failure Injection and Testing across Microservices
summary
AutoFIT is a lightweight Java framework that injects deterministic failures via a failure-expression header parsed by an AOP interceptor at the servlet level, letting tests simulate specific downstream errors (HTTP codes, network faults, connection-pool exhaustion) per request without bringing the environment down. Tests can run concurrently (example: 50 parallel tests), control repetition (fail twice then succeed on third retry), and integrate by adding a Maven dependency to Spring apps. Adoption moves failure tests into CI, cutting manual war‑room time by an order of magnitude.
AI-written summary · about
chapters (9)
- 0:00Introduction and agenda
- 2:32Distributed services challenges
- 9:13Problem statements in failure testing
- 10:59Introducing AutoFit framework
- 14:06AutoFit technical approach
- 18:02API failure simulation example
- 21:33Live demo of failure injection
- 24:46Integration and benefits
- 27:57Future plans and open source
related talks
41mResillient Microservices without the Chaos
40mResilience Testing - Failure is an Option
19mAutomatic Testing for Services at Scale
01h 20mIntegration Testing from the Trenches
40mIntegration Testing from the Trenches - Rebooted
46mModern Testing Tools for Java Developers
58mIntegration Testing from the Trenches
02h 36mTesting Java Microservice
