I am developing a webscoket server using node.js, and as I’m finishing up my core api, I want to start benchmarking my server and testing for memory leaks. The only benchmarking tool I found so far is wsbench, but the project is out of date and using depreciated api calls. I’ve found some other out of date posts on the answer or solutions that won’t work based on platform, (I’m using OS X). I’m really looking for some more up-to-date solutions to this problem, rather than stuff from a year ago.
Share
I think you are looking for the Autobahn WebSockets Protocol Test Suite. It’s very up to date and comprehensive and the suite is implemented using python so it should be fairly portable.
It’s primarily about testing correctness of client and server implementations, but all of section 9 (over 50 individual tests) is related to performance and load testing.