browsermob-proxy
browsermob-proxy copied to clipboard
-Dhttp.nonProxyHosts is not working
Hi there, I used below command-line to launch BMP in standalone mode. I tried to bypass www.google.com from upstream chain proxy. However seems this nonProxyHosts value is ignored for some reason. It still tried to connect to proxy when I was visiting http://www.google.com
java -Dhttp.proxyHost=127.0.0.1 -Dhttps.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttps.proxyPort=3128 -Dhttp.nonProxyHosts=www.google.com -Dapp.name=browsermob-proxy -Dbasedir=qmockproxy -jar browsermob-dist-2.1.5.jar -port 8080 -proxyPortRange 8100-8500 -ttl 3600
You can try to use -Dhttp.nonProxyHosts="www.google.com"