node-chaos-monkey icon indicating copy to clipboard operation
node-chaos-monkey copied to clipboard

New prank: Add circuit breaker by intercepting external services and 'damage' the response

Open goldbergyoni opened this issue 6 years ago • 0 comments

Why: Sometimes the API we work against (in-house microservice, external providers) are flakky and might not response or response badly. This prank would allow testing how our app will cope with this

How: By HTTP intercepting calls, or some of them, and altering the response. We might use nock for that or other relevant libraries

goldbergyoni avatar Feb 10 '19 20:02 goldbergyoni