Skip to main content
🚀 Self Healing AI Agent now live in App Automate! Auto-fix flaky tests instantly with zero code changes. Enable now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Capture network logs for Appium tests

Capture network logs for your Appium tests on BrowserStack App Automate to debug failed REST API responses and identify performance bottlenecks.

Network logs capture performance data such as network traffic, latency, HTTP requests, and responses in the HAR (HTTP Archive) format. Network logs list every network request your app makes, including REST API calls. Each entry shows the time the request took. Network logs help you identify performance bottlenecks or debug failed REST API responses.

Network logs are available on the BrowserStack dashboard for 30 days. These logs are deleted after 30 days from the day they are generated.

How network logs work

Network logs are disabled by default. When you enable them, BrowserStack routes your app’s traffic through an internal MITM proxy to capture network logs.

Before you enable network logs

Keep networkLogs set to false, its default, unless you’re actively debugging network traffic. The proxy that captures network logs can interfere with the following:

  • SSL or certificate pinning, including pinning in third-party SDKs such as ads, maps, and payment SDKs
  • Firebase and FCM push notifications
  • OAuth and SSO flows
  • Webviews and deep links that load certificate-pinned hosts
  • Apps that check the network interface name
  • Network-heavy flows, such as an initial data sync, which can run slower because the proxy adds overhead

If your tests pass with network logs disabled and fail when you enable them, the proxy is the likely cause, not the device. If your app uses certificate pinning, exclude the pinned hosts from capture. For other issues, see Troubleshoot network logs.

Availability and limitations

Network logs have the following limitations:

  • Free trial users don’t have access to network logs for app testing. To subscribe to a paid plan, visit the pricing page.
  • Network logs are supported on all devices except the devices listed in the App Automate capabilities reference.
  • Network logs are available only after the session completes. To view traffic in real time, see View real-time network logs.
  • Network logs record traffic but can’t modify, mock, or block requests.
  • Network logs aren’t supported for proxy-unaware apps.

Work with network logs

Use the following guides to set up and use network logs:

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Test web and mobile, from manual to automation, on real devices in one unified platform.

Contact Us

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle