A layer 7 fault injection proxy server.
- HTTP/1.1
- More in progress
$ cargo build --release
RUST_LOG=info cargo run --release
- Error
- Delay
- Timeout
This will proxy requests from 127.0.0.1:3001 to 127.0.0.1:8080 while 50% of the time adding a delay for 300ms and returning an HTTP 500 response.
listener_address = "127.0.0.1:3001"
proxy_address = "127.0.0.1:8080"
metrics_path = "/metrics"
max_concurrent_requests = 5000
scenarios = [
{ path = "/.*", failure_type = "Error", frequency = 0.5, delay = 300 },
]