38

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?

asked Jan 22, 2013 at 16:48
2

2 Answers 2

30

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.

answered Sep 27, 2013 at 2:28
Sign up to request clarification or add additional context in comments.

2 Comments

Look: strongloop.com It is special for Node.js and payment, but has its trial version.
I used JMETER and found that Nodejs can handle upto 1000 request , I am using windows server 2012 with 8 gb RAM intel XEON
3

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.

answered Jan 9, 2014 at 10:47

1 Comment

It's generally good SO etiquette to indicate that you wrote the software that you're promoting. Otherwise it looks interesting.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.