Class ProxyInformation should be public

kazurayam said:

The Release note of Katalon Studio v5.3.1 (https://docs.katalon.com/display/KD/Version+5.3.1) informs of

Support Proxy in Console Mode Execution

Then I would require the Proxy prefereces set by commandline arguments are also made public as ProxyInformation instance.

Hi kazurayam,

We have tested and able to get the proxy information. Refer to the code below


import com.kms.katalon.core.configuration.RunConfiguration
import com.kms.katalon.core.network.ProxyInformation
ProxyInformation proxyInfo = new ProxyInformation();
proxyInfo = RunConfiguration.getProxyInformation()
println proxyInfo.proxyServerType

Thank you for using Katalon Studio,
Liam