Performance Testing ActiveMQ Artemis using AMQP protocol - jmeter

I need to test ActiveMQ Artemis using AMQP protocol (not JMS or MQTT). I am completely new on testing message queues.
Thanks in advance.
Please assist on how to try this in Jmeter or LoadRunner tool.

For JMeter there is JMeter AMQP Plugin. If it's not sufficient for your needs, i.e. doesn't support SASL and you explicitly need this authentication - you will need to go for JSR223 Sampler and Groovy language or even to create your own JMeter Plugin using client libraries of your AMPQ broker.
For loadrunner the approach should be more or less the same

Related

Apache ActiveMQ - retrieving JMS metrics

In my corporate project I am using Spring Boot and Apache ActiveMQ 5.x Spring Boot starter. I am a totally beginner in this.
My goal is to expose Prometheus endpoint with some JMS queue metrics:
number of messages in queue
number of messages in error queue
What are dedicated tools for retrieving such metrics? Up to now I have found two possible ways. Can anyone confirm which of these two tools can solve my problem?
https://docs.spring.io/spring-integration/docs/5.1.7.RELEASE/reference/html/#system-management-chapter
https://activemq.apache.org/components/artemis/documentation/latest/metrics.html (here the example is not very helpful)
I don't think the Spring stuff will work because that will provide Spring-related metrics from the application itself, not the ActiveMQ broker.
Also, the documentation for ActiveMQ you cited is for ActiveMQ Artemis. However, the dependency you're using is for ActiveMQ 5.x. Therefore, the documentation is not applicable. However, if you choose to use ActiveMQ Artemis it is very simple to expose a Prometheus endpoint using this Prometheus metrics plugin implementation. It's worth noting that Artemis is ActiveMQ's next generation message broker. If you're starting a new project I would recommend you use it rather than 5.x. Artemis is planned to replace 5.x and become ActiveMQ 6.0 in the future.
I think your best bet would be to configure the Prometheus JMX exporter. It even has a sample configuration for ActiveMQ 5.x.
ActiveMQ comes with Jolokia bundled by default for extracting JMX Beans for the JVM, queues and a bunch of other metrics using HTTP. That way we can easily export using a software like Telegraf, which comes with a simple input plugin for ActiveMQ and a simple output plugin for Prometheus.

How to test ZeroMQ in Jmeter

I have tried to test activemq in jmeter, but I want to test zeromq performance. The zeromq server is working. How should I operate in jmeter?

Sending Blob Messages to ActiveMQ with JMeter

As I am a starter in both programs, I had some research about sending messages to ActiveMQ with using JMS point-to-point sampler in JMeter and what I had is as below.What I want to do is the same thing but with the Blob Messages. How can I configure P2P sampler to be able to do that?

Trying to use jms publisher/subscriber in jmeter to connect to IBM MQ

We have been using jms point-to-point sampler in jmeter to post an xml based request to the MQ. Since then our application has changed and now the messages that are posted to the MQ are Serialable objects created with spring integration. To have a test around this, we tried using jms publisher/subscriber. All the online support we tried is pointing to connection to ActiveMQ. Has anyone tried using jms published to post object message to and IBM MQ?
The online approach gives you all the elements to switch to IBM MQ.
You would need to:
put IBM MQ jars in lib folder of jmeter
Find the infos needed for :
http://jmeter.apache.org/usermanual/component_reference.html#JMS_Subscriber
http://jmeter.apache.org/usermanual/component_reference.html#JMS_Publisher
This will help you:
http://leakfromjavaheap.blogspot.com/2014/07/jmeter-and-websphere-mq-series.html?_sm_au_=iVV5P5vR626sDt7V

How can I pass a message from JMeter to Sonic ESB?

I am trying to use the point-to-point functionality of JMeter to test Sonic ESB.
I developed a service in Sonic ESB (a very simple service which has only one prototype step). I wanted to pass a message from JMeter to the service which I developed in Sonic ESB and get a response back.
I have an input Queue named Sample.Q1.
I am really confused about how to link JMeter and Sonic ESB.
I followed the following link in creating the jmeter point-to-point. http://jmeter.apache.org/usermanual/build-jms-point-to-point-test-plan.html
Please tell me how to provide authentication details also (i.e user name and password).
Configure the JMS Point-to-Point Sampler with Sonic information.
Have you configured your prototype Service with a replyTo endpoint in the output?
You can also disable the authentication or use JMS properties.

Resources