Interesting example of using a proxy to inject failures right from the terminal. Kinda makes me curious how often teams actually test their retry logic before hitting production.
Stop Mocking Everything: How to Test API Resilience in Your Terminal (Curl + Chaos Proxy)
2 Comments
@[Ben Kiehl]
Great point! In my experience, rarely enough.
I think the friction has always been too high—spinning up a mock server just to test a simple retry loop feels like overkill for many devs. That's exactly why I wanted to make it work directly in the terminal. If it's as easy as adding a flag to curl, maybe we'll see fewer unhandled 503s in production!
Please log in to add a comment.
I should be doing this, but I admit I have not been. I wonder if this old yet often forgotten approach could reduce the direct and operational costs of both traditional load testing and as well as chaos testing. You can simulate often difficult to reproduce scenarios without creating a new throttled environment or throttled tenant. And you do not need to abuse a shared environment and test more than what you were intending. It does not replace all internal load scenarios, but it does provide insight on the one of the most overlooked set of use cases, such as client-side latency and misc network issues.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
Announcing Chaos Proxy API: Automate Network Chaos in CI/CDaragossa - Dec 21, 2025 |
|
How to Reduce Your AWS Bill by 50%rogo032 - Jan 27 |
|
Chaos Network Proxyaragossa - Dec 21, 2025 |
|
Don't Break Your WiFi: How to Simulate 503 Errors in a Single Browser Tabaragossa - Dec 7, 2025 |
|
10 Proven Ways to Cut Your AWS Billrogo032 - Jan 16 |
More From aragossa
Related Jobs
- Software Test EngineerTreasy · Full time · Turkey, NC
- Hybrid JavaScript Developer - React/Node & Cloud APIsPiper Companies · Full time · Raleigh, NC
- JavaScript Vue.js Developer — Web Apps & TestingHintEd · Full time · Wilmington, DE