Testrunner and proxy settings
I cannot seem to get testrunner.sh to run through a proxy set through the command line. It works when set in the settings.xml file, but not as an arguement. Example:
./testrunner.sh -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080 ~/Desktop/tiredful-soapui-project.xml
This just ignores the proxy arguments. Am I missing something?
Thanks.
Hi vbisbest
Don't think you can use this kind of arguments.
According to the documentation, there's no parameter for proxy configuration:
https://www.soapui.org/docs/test-automation/running-from-command-line/functional-tests/
But you could use some custom settings file:
t : Specifies the workspace settings filed to be used during the test run. If you skip this command-line argument, the runner will use the default file – soapui-settings.xml - that is located in your user directory.
Use this argument to specify another settings file for the run. It helps you use different proxy, SSL, HTTP and other settings without changing them in your test project.Could it be a solution for you ?
Please let us know.
Regards.
David.