Spring Websocket STOMP负载测试

use*_*073 7 spring jmeter spring-integration gatling spring-websocket

我正在使用Spring REST,Websocket/STOMP和RabbitMQ开发消息传递应用程序.我们使用gatling来加载/压力测试应用程序的REST端点.但是,我们想知道Spring Websocket/STOMP端点可以处理多少消息.虽然Gatling有Web套接字,RabbitMQ和ActiveMQ扩展,但我找不到专门用于测试STOMP端点的扩展.

您能否建议一个可用于加载/压力测试Spring Websocket/STOMP端点的工具/框架?

use*_*073 2

我通过使用本机 STOMP 文本消息作为有效负载解决了这个问题。例如对于连接请求,我发送了

连接

接受版本:1.0,1.1,2.0

主机:stomp.github.org

^@

从我的测试用例到终点。