Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebSocket plugin for Jmeter [closed]

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.

like image 783
user2308299 Avatar asked Apr 22 '13 17:04

user2308299


People also ask

How long do WebSocket stay open?

However, the connection between a client and your WebSocket app closes when no traffic is sent between them for 60 seconds.

Does JMeter support WebSocket?

Apache JMeter™ doesn't support the WebSocket protocol out of the box. However, there are a couple of plugins we can use to help with that. One of them is the JMeter WebSocket Sampler by Maciej Zaleski, you can learn how to use it in this blog post.

Does WebSocket keep connection open?

WebSockets keeps a single, persistent connection open while eliminating latency problems that arise with HTTP request/response-based methods. WebSockets generally do not use XMLHttpRequest, and as such, headers are not sent every-time we need to get more information from the server.


2 Answers

Here is another (fairly new) JMeter WebSocket plugin: https://bitbucket.org/pjtr/jmeter-websocket-samplers.

See the readme for current features; it's still in active development.

like image 63
Peter Avatar answered Sep 29 '22 17:09

Peter


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):

  • ApacheJmeter_websocket-0.1.0-SNAPSHOT.jar
  • ApacheJmeter_websocket-dist-0.1.0-SNAPSHOT.jar - with dependencies.

WebSocket Sampler available in the list of Samplers:

enter image description here

like image 21
Aliaksandr Belik Avatar answered Sep 29 '22 18:09

Aliaksandr Belik