I've searched a lot about stress testing a NodeJs application/module but I didn't find anything.
I have a push server application (something like socket.io) and I want to test it to ensuring there's no memory leaks and that it exhibits optimal performance.
What's the best method or tools for doing that?
-
2i've used funckload, it is written in python and has nice benchmarks, and siege. You also can find some nice posts like this too. Hope this will helpPeter Gerasimenko– Peter Gerasimenko2013年01月22日 17:13:16 +00:00Commented Jan 22, 2013 at 17:13
-
Here you can find some code developed for benchamrking Node + Socket.IO: github.com/Weswit/Lightstreamer-toolkit-socket.io-benchmarkAlessandro Alinone– Alessandro Alinone2013年10月07日 10:18:46 +00:00Commented Oct 7, 2013 at 10:18
2 Answers 2
You do not need any special tool for load testing Node.js application. You can use any load test tools:
From opensource and free tools I can recommend JMeter. As it has built-in Proxy Server which can record HTTP traffic. Advantage of JMeter than other tools is user friendly GUI. You can find article related Node.js load balancing and JMeter testing.
2 Comments
Try this phanos stress test tool. This is phantomjs based tool, and you can loading ajax request too with it. But this tool doesn't provide stat info, you should use nodetime (or something else) for analyze the traffic performance.
1 Comment
Explore related questions
See similar questions with these tags.