JWebUnit を使用して、ローカルで実行されているアプリケーション (localhost) でテストを実行していますが、アプリケーションの一部では、ユーザーを外部サイトにリダイレクトし、いくつかのことを行ってから戻ってくる (localhost にリダイレクトする) 必要があります。
私はプロキシの背後にいるので、TestContext.setProxyAuthorization() を使用しようとしましたが、JWebUnit はローカルでアプリケーションにアクセスできません (TestContext には nonProxyHosts のようなものはありません)。TestContext.setProxyAuthorization() を使用しない場合、JWebUnit はリモート サイトにアクセスしないでください。
私は何をすべきか?