Unable to configure Websocket in Jmeter.

340 views
Skip to first unread message

Testing QA

unread,
Jul 20, 2016, 12:35:21 AM7/20/16
to jmeter-plugins
Hi,

I am unable to configure websocket. Might be somewhere I am missed in my configuration, please correct me where I have mistaken.

1. Downloaded apache-jmeter-3.0
2. Put the jar file "JMeterWebSocketSampler-1.0.2-SNAPSHOT.jar" in  "apache-jmeter-3.0\lib\ext"
3. Open the Jmeter, created Thread and Websocket Sampler, after executing showing below error message :

Getting below error from the jmeter log.
ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory


"JMeterWebSocketSampler-1.0.2-SNAPSHOT.jar" is taken from maciejzaleski plugin.

Is the above steps are correct for configuration? If NOT please correct me.


Thanks.





Andrey Pokhilko

unread,
Jul 20, 2016, 2:59:48 AM7/20/16
to jmeter-...@googlegroups.com
Hi,

You did not install libraries required by plugin.

The simplest way is to install WebSocket plugin through Plugins Manager UI. It will deal with all needed dependencies itself.

https://jmeter-plugins.org/wiki/PluginsManager/

Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages