【转】使用Jmeter对Websocket进行压力测试
程序开发
2023-09-21 09:32:48
前段时间本着练习angularJS+requireJS的目的写了一个基于nodeJS和socket.io的聊天室,github地址为:https://github.com/towersxu/node-socketIO-angular-require-chatroom。当时没有考虑性能方面的问题,本着功能实现的目的就好。最近刚好有空,打算 测试一下这个聊天室的性能。 测试工具我使用的是JMeter,版本为2.11。这个是同事拷贝给我的绿色版本。只要有Java环境就可以运行(下载地址:apache-jmeter-2.11)。点击bin目录下的jmeter.bat就可以运行了。我这个版本本身是不支持websocket测试的,于是需要下载一个插件叫做JMeterWebSocketSampler-1.0.2-SNAPSHOT.jar,这个插件需要下载6个依赖包,如下图所示:









转载于:https://www.cnblogs.com/blongfree/p/4980894.html
标签:
上一篇:
Atom常用必备前端插件
下一篇:
相关文章
-
无相关信息