How to stress test socket.io

  node.js, question

Now I use socket.io as a real-time stock push service. when users connect, I push the stock code in real time according to the stock code requested by the user. now I want to test how many user connections socket.io can withstand and how many users connect and push data? I am using websocket-bench now, but the test result is not ideal, 1000 connections will be hung up. There is also this test connection number. I also want to test the push performance after the connection. How do I test this? Please give your guidance.

Usewebsocket-benchCan test Socket.io, but also by specifyinggeneratorSelf-defining test logic.