Get your setup working faster. Join our Discord for optimisation tips from elite testers.Join our Discord
Configure proxy settings to run Appium tests
Establish a Local Testing connection to execute Appium tests behind proxies on BrowserStack App Automate. Test apps on 3000+ real browsers and devices.
This page explains how to set up a Local Testing connection for Appium tests when your local machine is behind a proxy.
Proxy
Proxies are commonly set up for office networks, remote servers, and sometimes on local machines. Contact your network/IT team to obtain the ‘Proxy Host’ and ‘Proxy Port’ to setup Local Testing for this implementation. Once you obtain the Host and Port, you can establish a Local Testing connection using one of two ways:
To resolve all requests on our remote browsers and mobile devices through your proxy, add --force-proxy and --force-local flags to the command. Without these flags, Local binary tries to connect directly for better performance.
MITM Proxy
If your proxy type is MITM (like BrowserMob), you will need the ‘Proxy Host’ and ‘Proxy Port’. Once you have the Host and Port, you can establish a Local Testing connection using one of two ways:
To resolve all requests on our remote browsers and mobile devices through your local proxy, add --force-proxy and --force-local flags to the command as demonstrated. Without these flags, Local binary tries to connect directly for enhanced performance.
Did this page help you?
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
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