1

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.

Error Screenshot

 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.

Hasitha Jayawardana
  • 2,152
  • 3
  • 14
  • 32
josh
  • 49
  • 8

0 Answers0