Developer Open-Sources Flaky HTTP, a Java Library for Simulating HTTP Failures
A developer has released Flaky HTTP, an open-source Java 11 library designed to deliberately introduce unreliable behavior into HTTP calls for testing purposes. The library wraps Java's standard HttpClient and can inject configurable latency, synthetic HTTP error responses, and probabilistic failures targeting specific URIs. It is aimed at integration and resilience testing scenarios where developers need to verify that retry logic, circuit breakers, and fallback mechanisms actually work as intended. Flaky HTTP operates without additional runtime dependencies and supports both synchronous and asynchronous HTTP calls, including cancellation propagation. The library is available on Maven under the coordinate com.tapadyuti:flaky-http:1.0.0 and is intended as a lightweight tool rather than a full chaos-engineering platform.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in