Skip to Content
Advanced FeaturesNetwork Conditions

Network Conditions

Simulate poor network conditions to test how your app handles slow connections, timeouts, and retry logic.

Web UI

Open Network from the Modify group. The page provides:

  • Latency input field — added delay in milliseconds for all proxied requests
  • Bandwidth input field — bandwidth limit in kbps (0 = unlimited)
  • Clear button — remove all network conditions and restore normal speed

Changes apply immediately to all traffic flowing through the proxy.

CLI

apxy network set and apxy network clear are documented in CLI Reference → Network.

Quick example:

apxy network set --latency 2000 --bandwidth 100

Use Cases

Test loading states

Add latency to observe loading spinners and skeleton screens, then clear conditions when finished.

Verify timeout handling

Use high latency to ensure your client surfaces timeouts and retries correctly.

Simulate mobile networks

Combine latency and bandwidth limits to approximate 3G/2G-style experiences (see Network reference for flag details).

Last updated on