Proxy Preferences

Estimated reading time: 1 minute

Proxy can be configured at: Katalon Studio> Preferences > Katalon > Proxy. This setting affects both WebUI and WebService testings.

In the Proxy Settings, you can select one of three options below.

  • No proxy: there's no proxy.
  • Use system proxy configuration: Katalon Studio tries to guess which proxy server your system is behind and sync with this setting.
  • Manual proxy configuration: you can manually set up your proxy.

If you're behind a Proxy Server, you'll need to configure the proxy settings before activating Katalon Studio. Click Config Proxy at the bottom of the Activation dialog box.

Config Proxy

Pass proxy details through the script

Starting from version 7.0.0, Katalon Studio supports an option to pass proxy details via a request object in Web Service testing. Below is an example:

RequestObject requestObject = findTestObject("google")
ProxyInformation proxyInfo = new ProxyInformation();
proxyInfo.setProxyServerAddress("localhost")
proxyInfo.setProxyServerPort(8001)
proxyInfo.setProxyOption(ProxyOption.MANUAL_CONFIG.toString())
proxyInfo.setProxyServerType(ProxyServerType.HTTP.toString())
requestObject.setProxy(proxyInfo)

Note: The proxy information passed in the request object takes precedence over the proxy information set in Preferences.

User Contributed Notes