WebSocket plugin for Jmeter

user2308299 picture user2308299 · Apr 22, 2013 · Viewed 17.4k times · Source

Can someone share me a link with plugin sampler for Websocket protocol for JMeter?

I tried to install from the link below: https://github.com/kawasima/mod_proxy_websocket.
But not sure how to get that.

I am new to the tool.
Thanks and appreciated.

Answer

Aliaksandr Belik picture Aliaksandr Belik · Apr 22, 2013

Link in your question looks to be not for jmeter plugin but for proxying module for Apache http server.
Correct link seems to be https://github.com/kawasima/jmeter-websocket - jmeter plugin for WebSocket protocol.

To use it you have to:

  • download project sources;
  • build ApacheJMeter_WebSocket.jar using maven;
  • place jar into $JMETER_HOME/lib/ext/ dir.

Jar files successfully built from sources using maven 3.0 (mvn validate compile package):

WebSocket Sampler available in the list of Samplers:

enter image description here