ReadyAPI TestEngine proxy bypass?
With the recent release of TestEngine 1.26.0 it now supports using a proxy server. This is really helpful because I can now use the API to install (and uninstall) the license used by TestEngine. However it seems all the traffic from the tests being run in TestEngine also defaults to using the proxy - which is not so helpful for tests of internal systems that can not be accessed via the proxy. So what I'm looking for is a way to add exceptions to the proxy server?
Since the the proxy is configured in the 'ReadyAPITestEngine.vmoptions' files I tried adding "-Dhttp.nonProxyHosts=mycompanys.domain.com". But doesn't seem to change TestEngine's behavior.
Does anyone have any ideas of how to encourage TestEngine to not use the proxy when running tests (but still leave it there for adding and removing the license)? (in a similar way to just turning the proxy off from the button in ReadyAPI)
Solved! Go to Solution.
After a bit more investigation I fixed this myself. It seems if you put a "-Dhttp.nonProxyHosts=mycompanys.domain.com" line in the 'ReadyAPITestEngine.vmoptions' configuration file it is honoured. It wasn't working for me because the domain part of the URL's in my tests were just the server name, not the full qualified name (ie servername, when they should have been servername.mycompanys.domain.com). Once I have changed all my tests to point to the full domain the traffic stopped being routed via the proxy.
SmartBear staff: you might want to add something about this to the 'if using a proxy' part of the Fixed License activation page - https://support.smartbear.com/testengine/docs/licensing/fixed/activate.html