Skip to main content

Appium Studio for IntelliJ - Connect Through Proxy

By default, Appium Studio for IntelliJ uses the manual proxy configuration found in IntelliJ settings, if those were enabled.

See the Intellij documentation to see how to set the proxy settings for IntelliJ.

To override the Intellij proxy settings when using Continuous Testing Cloud, you need to set the proxy settings manually in the plugin configuration file:

  1. Locate your IntelliJ Configurations folder as detailed here. (The relevant folder is Config on windows and Preferences on Mac).

  2. In the Configurations folder, navigate to the options directory and find the file experitest.xml. You may need to create it if you did not previously connect to the cloud. Your proxy configuration is added under a component named ProxyConfig.

  3. It the file does not already exist, create it with the following template:

    <application>
    <component name="ProxyConfig">
    {... This is where you configure you proxy ...}
    </component>
    </application>
  4. If the file exists, add a component named ProxyConfig under the <application> tag.

    <application>
    <component name="CloudConfig">
    {... Will likely appear if you previously connected to Continuous Testing Cloud ...}
    </component>
    <component name="ProxyConfig">
    {... Add this component. This is where you configure you proxy ...}
    </component>
    </application>
  5. Optional: under ProxyConfig, enter one of the following:

    • Disable proxy for Continuous Testing Cloud:

      <component name="ProxyConfig">
      <option name="enable" value="false"/>
      </component>

      These settings will ignore the Intellij proxy setting and not use a proxy when connecting to Continuous Testing Cloud.

    • Connect using a different proxy:

      <component name="ProxyConfig">
      <option name="host" value="{HOST}"/>
      <option name="port" value="{PORT}"/>
      </component>

      These settings will ignore Intellij proxy setting and connect to Continuous Testing Cloud using the specified HOST and PORT. Both host and port must be specified in order to use this option.

    • If your proxy requires credentials, add them here as well:

      <component name="ProxyConfig">
      <option name="host" value="{HOST}"/>
      <option name="port" value="{PORT}"/>
      <option name="username" value="{USERNAME}"/>
      <option name="password" value="{PASSWORD}"/>
      </component>