I'm using JWebUnit to run tests on my application running locally (localhost) but some parts of my application require the user to be redirected to an external site, do some stuff then come back (redirected to localhost).
As I'm behind a proxy, I've tried using TestContext.setProxyAuthorization() but then JWebUnit can't access the application locally (TestContext has nothing like nonProxyHosts) and if I don't use TestContext.setProxyAuthorization(), JWebUnit can't access the remote site.
What should I do?