Android Driver Configunder review
Add this configuration to enable browser based performance testing using Android Web browser. This document covers the various configuration options available on the Android Web browser. For an overview of performing client sider performance testing, refer to the Web Driver Tutorial.
Different browsers have different levels of setup complexity. In the overall scheme of things, using an Android Web browser is considered to have an high level of setup complexity.
On startup, the user is presented with the following:
The main part of the Android Driver Config configuration UI lies in the tabs:
The default configuration (Use system proxy) is suitable for most. However, if you operate within a corporate network (that use http proxies), then this section may be important to you.
Use this option if you directly connect to the internet, and your network will not make use of any proxies.
Auto-detect proxy settings
Some networks will automatically transmit the proxy configuration. This is especially true for Microsoft Windows networks that make use of WPAD/PAC to transmit the proxy configuration to its host.
Use system proxy settings
This is the default configuration, and will make use of the network and/or proxy settings configured for your Operating System.
Manual proxy configuration
This is the most involved, but also allows for the most control of you proxy settings.
Specify the name/IP Address of the HTTP proxy server and its associated port to use when the browser makes external network connections.
Use HTTP proxy server for all protocols
By default this is checked, as most environments use the same HTTP Proxy server for its SSL, FTP and SOCKS connections. However, if this is not the case, then uncheck this option, and override the settings for the other connections.
Specify the name/IP Address of the HTTPS proxy server and its associated port to use when the browser makes external network connections.
Specify the name/IP Address of the FTP proxy server and its associated port to use when the browser makes external network connections.
Specify the name/IP Address of the SOCKS proxy server and its associated port to use when the browser makes external network connections.
No Proxy for =
This is a comma separated list of all host(s) and/or IP Address(es) that will bypass the proxy server.
Automatic proxy configuration URL
For networks that have a proxy configuration server (PAC), and its name and the location of the PAC file is known, please use this option. The usual configuration for this is http://proxy-server/proxy.pac
This tab contains the configuration for the Android driver host port on the host PC. This port is used for forwarding HTTP requests from host PC's Web Driver to Android Web Driver application on the Android device. By default, the port on Android device is 8080, we decided to keep that port as is, we only provide configuration for the host PC's port.
This port is related to the adb command for port forwarding as presented in Selenium Android Driver:
./adb -s forward tcp: tcp:8080
Before running the tests from JMeter
Make sure you have an Android device connected to your host PC and adb port forwarding command has been run.
As new features from the Roadmap are added, new and experimental features will generally get added to this section first. This allows the early adopters to use these features and provide feedback on them. However, it should be recognised that all features added to this tab are subject to change/removal so depend on them at your own peril!