NodeJs 压力测试工具/方法 [英] NodeJs stress testing tools/methods
问题描述
我搜索了很多关于对 NodeJs 应用程序/模块进行压力测试的信息,但没有找到任何内容.
I've searched a lot about stress testing a NodeJs application/module but I didn't find anything.
我有一个推送服务器应用程序(类似于 socket.io),我想对其进行测试以确保没有内存泄漏并显示出最佳性能.
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?
推荐答案
您不需要任何特殊工具来对 Node.js 应用程序进行负载测试.您可以使用任何负载测试工具:
You do not need any special tool for load testing Node.js application. You can use any load test tools:
我可以从开源和免费工具中推荐 JMeter.因为它内置了可以记录HTTP流量的代理服务器.JMeter 比其他工具的优点是用户友好的 GUI.您可以找到与 Node.js 负载平衡和 JMeter 测试相关的文章.
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.
这篇关于NodeJs 压力测试工具/方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!