Skip to content
Testsigma DOCS

Testsigma Agent

How do I Configure Proxy Settings for the Testsigma Agent?


In some environments, the Local Agent must connect through a proxy for most URLs but bypass the proxy for specific internal or trusted domains (for example: testsigma.com, AWS endpoints, internal company apps, etc.). In such cases, you can configure hostname/domain patterns in the nonProxyHosts property.

Any URL that matches the nonProxyHosts patterns will connect directly, while all other traffic will use the proxy.


  1. Open the TestsigmaAgent installation directory.

  2. Navigate to agent_data and open args.yml file.

  3. Add or update the following properties with approved domains:

Terminal window
http.nonProxyHosts: "localhost|127.0.0.1|*.testsigma.com|*.amazonaws.com|<internal-domain-1>|<internal-domain-2>"
https.nonProxyHosts: "localhost|127.0.0.1|*.testsigma.com|*.amazonaws.com|<internal-domain-1>|<internal-domain-2>"
Proxy Settings for Agent
  1. Save the file and restart the Local Agent.

The following Java system properties are supported for configuring proxy settings for Agents and Cloud executions:

Property NameDescription
http.proxyHostHost address of the HTTP proxy server
http.proxyPortPort number of the HTTP proxy server
http.proxyUserUsername for HTTP proxy authentication
http.proxyPasswordPassword for HTTP proxy authentication
https.proxyHostHost address of the HTTPS proxy server
https.proxyPortPort number of the HTTPS proxy server
https.proxyUserUsername for HTTPS proxy authentication
https.proxyPasswordPassword for HTTPS proxy authentication
http.nonProxyHostsHosts that bypass the HTTP proxy
https.nonProxyHostsHosts that bypass the HTTPS proxy
java.net.useSystemProxiesEnables OS-configured proxy settings
Terminal window
http.proxyHost: 'proxy.example.com'
http.proxyPort: '8080'
http.proxyUser: 'username'
http.proxyPassword: 'password'
https.proxyHost: 'proxy.example.com'
https.proxyPort: '8080'
https.proxyUser: 'username'
https.proxyPassword: 'password'
http.nonProxyHosts: 'localhost|127.0.0.1|*.example.com'
https.nonProxyHosts: 'localhost|127.0.0.1|*.example.com'
java.net.useSystemProxies: true