-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Summary
Create a sample that simulates slow/failing network conditions for resilience testing.
Plugins to use
LatencyPlugin- adds artificial delays to responsesGenericRandomErrorPlugin- returns random errors
What to build
- Configure realistic network latency (200ms - 10s range)
- Random 5xx errors, timeouts
- Sample app showing proper UI handling:
- Loading spinners
- Timeout handling
- Retry logic
- Error messages
Configuration example
{
"latencyPlugin": {
"minMs": 200,
"maxMs": 10000
}
}Combined with random errors:
{
"genericRandomErrorPlugin": {
"rate": 30,
"errors": [
{ "statusCode": 500 },
{ "statusCode": 503 },
{ "statusCode": 504 }
]
}
}Why this is compelling
Test real-world network conditions locally. Build apps that work on slow connections and handle failures gracefully.
Reference docs
- LatencyPlugin technical reference
- GenericRandomErrorPlugin technical reference
- Simulate slow API responses how-to guide
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels