CXin
13 years agoFrequent Contributor
proxy settings as CLI parameter
In our CI environment we want to pass proxy parameters as parameters to soap-ui plugin for maven. Reason is we have different environments (dev, qa etc.)
Looking at http://www.soapui.org/Test-Automation/m ... n-settings also there aren't any dedicated proxy configurations.
I can see that you can set proxy parameters through soapui-settings.xml?
Still it would be much easier if there was a CLI hook for passing as parameters, like:
Unfortunately I couldn't find such thing.
Looking at http://www.soapui.org/Test-Automation/m ... n-settings also there aren't any dedicated proxy configurations.
I can see that you can set proxy parameters through soapui-settings.xml?
...
<con:setting id="ProxySettings@host">localhost</con:setting>
<con:setting id="ProxySettings@port">80</con:setting>
<con:setting id="ProxySettings@enableProxy">true</con:setting>
...
Still it would be much easier if there was a CLI hook for passing as parameters, like:
mvn test -SProxySettings.host=xxx -SProxySettings.port=yyy -SProxySettings.enableProxy=true
Unfortunately I couldn't find such thing.