I'm using JMeter with my project jar and trying to open the browser with browsermob-proxy, but it shows ERR_PROXY_CONNECTION_FAILED with
my VPN connected on MAC.
proxy = new BrowserMobProxyServer();
proxy.setTrustAllServers(true);
proxy.start();
options.setCapability("proxy", ClientUtil.createSeleniumProxy(proxy));
proxy.enableHarCaptureTypes(CaptureType.REQUEST_CONTENT, CaptureType.RESPONSE_CONTENT);
NOTE-
Mac: I'm only facing this issue when my VPN is connected, otherwise, it works fine.
Windows: Everything is working fine with VPN connected or not.