Sending Blob Messages to ActiveMQ with JMeter - 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?

Related

how to pass JMSDestination for ActiveMQ in the JMS request headers through JMS point to point sampler using JMeter?

We are using JMS point to point sampler for sending messages to different artemis queues in JMeter, while sending the request we need to pass the same queue as used in JNDI properties for JMSDestination in the request headers for JMS point to point sampler.
For expample if we have queues A, B and C. For first execution queue used should be A and JMSDestination in the JMS request headers should be JMSDestination ActiveMQQueue[A], for second execution queue used should be B and JMSDestination in the JMS request headers should be JMSDestination ActiveMQQueue[C], for third execution queue used should be B and JMSDestination in the JMS request headers should be JMSDestination ActiveMQQueue[C]?
We are facing issue only with JMS request headers all other places are reading the queues correctly, any solution for this will be much helpful.
how to pass the parameters in JMS request headers while JMS point to point sampler in JMeter?
I don't think it's possible, at least not with JMS Point-to-Point sampler and not with JMeter 5.5
Here is how it's handled currently:
sb.append("JMSDestination ").append(msg.getJMSDestination()).append('\n');
so you cannot overwrite the value unless you amend JMeter source code or develop your own version of the JMS Point-to-Point sampler

Performance Testing ActiveMQ Artemis using AMQP protocol

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

IBMMQ push subscription : Is there a way in springboot/quarkuks/other to use push subscription? Not polling

Push-subscription
Is there a way in springboot or quarkus (or other framework) to consume messages from IBMMQ using push-subscription. I.e Not polling every minute to see if message exists.
Need not be JMS api.
The DefaultJms... in springboot is polling 1000x times more than the actual messages per day. It is not behaving as ' listener waiting for message push'
You could consume messages from IBM MQ using vert.x's AMQP client. This is a reactive toolkit that will give you an easy way of communicating with IBM MQ using the AMQP channel. Vert.x's AMQP client listens and reacts for push from IBM MQ.

Spring Integration - ActiveMQ to Kafka

I am currently trying to write an adapter which will consume messages from ActiveMQ and publish it to Kafka.
I am thinking of using spring integration to integrate these two messaging systems.
My problem is that my application will not maintain registry of the Models using which many applications will publish the records to activeMQ. I want to receive these javax jms message and want to perform some transformation like adding jmscorrelationId into kafka message.
ALso, another requirement is to send acknowledgement to active mq only when kafka send/publish is successfull.
Can ack be send back to activemq using spring integration?
Will spring integration be a good option?
Kindly note my tech architect is not in favor of using Camel/Mule. Also, he does not want to use Kafka Connect as i was planning to use Kafka connect source.
Please suggest.
The Spring Integration Kafka extension project has a sync mode for publishing, which will block the thread until Kafka confirms delivery (or throw an exception on a failure).
The JMS inbound gateway can be used to return a reply to a JMS queue.
You can add transformers (or whatever) in the flow to modify the message.

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