I'm running ActiveMQ Artemis with stomp port on 61623 and a Spring Boot application.
I need to perform a load test against it and want to send simple stomp messages to the broker.
Which sampler can I use? Is TCP Sampler suitable here?
Or can I use JMS Publisher and add e.g. StompJmsInitialContextFactory.class from "org.fusesource" as "Initial Context Factory"? I can not get it running.
My tryings:
CONNECT
accept-version:1.0,1.1,1.2
host:127.0.0.1
login:<...>
passcode:<...>
^@
SEND
version:1.0,1.1,1.2
session:?
destination:/queue/test
{<data>}
^@
Result:
Thread Name:Create Events 1-1
Sample Start:2022-10-27 08:00:30 MESZ
Load time:2015
Connect Time:2
Latency:0
Size in bytes:0
Sent bytes:0
Headers size in bytes:0
Body size in bytes:0
Sample Count:1
Error Count:1
Data type ("text"|"bin"|""):text
Response code:500
Response message:org.apache.jmeter.protocol.tcp.sampler.ReadException: Error reading from server, bytes read: 0
SampleResult fields:
ContentType:
DataEncoding: windows-1252