Open ushamganesh opened 8 years ago
Proxy is supported by Jetty's WebSocketClient implementation.
WebSocketClient wsclient = new WebSocketClient();
ProxyConfiguration proxyConfig = wsclient.getHttpClient().getProxyConfiguration();
HttpProxy proxy = new HttpProxy("proxyhost",proxyport);
proxyConfig.getProxies().add(proxy);
I have read in some issues here that proxy is not supported by Jetty and hence websocket sampler proxy setting is not possible. I would like to know if that is not supported even now or should I get a newer version somewhere?
Is there an alternative to make websocket testing possible with proxy? I am able to send HTTP request and receive response successfully after configuring proxy server details.