SocketCluster / socketcluster

Highly scalable realtime pub/sub and RPC framework
https://socketcluster.io
MIT License
6.15k stars 314 forks source link

SocketCluster with JMeter #462

Open MadGeometer opened 5 years ago

MadGeometer commented 5 years ago

Are there any tutorials for testing SocketCluster with JMeter? We are trying to use the the "JMeter WebSocket Samplers" plugin and it is having a problem with ping-pong messages. Any help would be greatly appreciated!

makarov-roman commented 5 years ago

Hi @MadGeometer , were you able to achieve your goal? Having same issue right now. My first idea - for testing purpose we can bump these values:

  // The interval in milliseconds on which to
  // send a ping to the client to check that
  // it is still alive
  pingInterval: 8000,

  // How many milliseconds to wait without receiving a ping
  // before closing the socket
  pingTimeout: 20000,