Performance TestingResilience Testing• 5 min read
How to Test Slow 3G and Flaky Mobile Network Resilience
Summary: Combine millisecond delays with probabilistic status flips to simulate real-world mobile network jitter and flaky cellular connections.
Why This Rule Matters for Developers & QA
Users on moving trains, elevators, or congested cellular towers experience dropped packets and fluctuating latency. Testing under these conditions ensures your UI doesn't freeze.
Step-by-Step Implementation Guide
1
Identify Critical Path Requests
Target initial bootstrap API requests or product catalog fetches.
2
Inject High Latency (3000ms+)
Simulate high RTT (Round Trip Time) mobile network environments.
3
Validate Offline and Retry States
Confirm your app presents friendly error states rather than infinite spinner freezes.
Configuration Snippet
{
"id": "rule_simulate_flaky_cellular",
"pattern": "*/api/v1/feed*",
"action": "delay",
"delayMs": 3500,
"enabled": true
}