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
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- Premium Subscription
- Terms of Service
- Refund
- Early Builders
More From aragossa
Related Jobs
- Travel Physical Therapist - $2,198 per weekAHS Staffing · Full time · Rensselaer, IN
- Travel Physical Therapist, Outpatient Orthopedics - $2,209 per weekAequor Allied · Full time · Rensselaer, IN
- Travel Physical Therapist, Outpatient Orthopedics - $2,233 per weekVivian Health · Full time · Rensselaer, IN
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!