Forum Discussion

lerminou's avatar
lerminou
New Contributor
12 years ago

SOAP ui and proxy settings

Hi,

I'm bad in english, sorry for that.

Now my problem:
I use Soap ui Pro V4.0.1.

I try to put proxies settings into my script because i need to convert to Maven script after to execute with Jenkins.

When i use the graphical interface in SOAP ui to the proxy settings, it works!
But when i put in my script this groovy script with the same values:

System.setProperty("http.proxyHost", "" + testRunner.testCase.getPropertyValue("host") + "");
System.setProperty("http.proxyPort", "" + testRunner.testCase.getPropertyValue("port") + "");
System.setProperty("http.nonProxyHosts", "" + testRunner.testCase.getPropertyValue("nonProxyHosts") + "");
System.setProperty("http.proxySet", "" + testRunner.testCase.getPropertyValue("active")+ "");

it doesn't work >:( >:( >:(

please, can you help me ?

Thank you.