Retry MechanismAutomatic retry
Automatic retry
with backoff
Automatically retry failed requests with configurable retry count, delay, and exponential backoff. Handle transient failures gracefully.
Configure retry behavior with exponential backoff
retry-mechanism.yaml
global:
retry:
count: 3
delay: 1000
backoff: exponential
backoffMultiplier: 2
requests:
- name: Flaky API
url: https://api.example.com/data
retry:
count: 5
delay: 2000
on: [500, 502, 503]Key Benefits
Why use Retry Mechanism?
Exponential Backoff
Intelligent retry strategy with exponential backoff prevents overwhelming servers during failures.
Configurable Policies
Fine-tune retry count, delay, and backoff multiplier per request or globally.
Selective Retry
Choose which HTTP status codes or error types should trigger retries.
Use Cases
Perfect for these scenarios
Handling intermittent network failures
Working with flaky or unreliable APIs
Rate limit recovery
Production API monitoring
Ready to try Retry Mechanism?
Get started with curl-runner and unlock powerful retry mechanism capabilities for your API testing workflow.