Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Websocket STOMP load testing

I am developing a messaging application using Spring REST, Websocket/STOMP and RabbitMQ. We use are using gatling for load/stress testing the REST end points of the application. However, we would like to know how many messages can be processed with Spring Websocket/STOMP end points. While Gatling has web socket, RabbitMQ and ActiveMQ extensions, I could not find one specifically for testing the STOMP end points.

Can you suggest a tool/framework that can be used to load/stress test Spring Websocket/STOMP end points?

like image 288
user3600073 Avatar asked Dec 21 '16 22:12

user3600073


1 Answers

I solved this by using native STOMP text messages as payload. For example for the connection request, I sent

CONNECT

accept-version:1.0,1.1,2.0

host:stomp.github.org

^@

from my test case to the end point.

like image 116
user3600073 Avatar answered Sep 25 '22 08:09

user3600073