We are trying to use the websocket http://github.com/maciejzaleski/JMeter plugin to test website requests. We can connect to ws connections, but are not able to make wss connections.
For example, when I try to click wss://echo.websocket.org , we get an Unknown source error from the jmeter-websocket plugin.
Can someone please suggest if any workaround can use this plugin for wss.
Do I need to make any configurations?
Error:
[Execution Flow] - Opening new connection - Using response message pattern "" - Using disconnect pattern "" - Waiting for the server connection for 5000 MILLISECONDS - Cannot connect to the remote server [Variables] - Message count: 0 [Problems] - Unexpected error: null JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156) JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136) org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431) org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258) java.lang.Thread.run(Unknown Source)
The same request ( wss://echo.websocket.org ) works fine from https://www.websocket.org/echo.html .
source share