Sending messages to RabbitMQ queue using JMeter

2,075 views
Skip to first unread message

Pannaga Gayathri

unread,
Apr 3, 2017, 10:46:57 AM4/3/17
to rabbitmq-users
Hi All,

       I need to post messages onto RabbitMQ queue using POST method. I am using Jmeter as the tool for that.

The messages are not getting posted as authorization is failing.

Is there any API which handles authorization for RabbitMQ? so that I could first use the output of authorization to the input of message publish API.

Thanks,
Pannaga

Michael Klishin

unread,
Apr 3, 2017, 12:23:59 PM4/3/17
to rabbitm...@googlegroups.com
It's Basic HTTP Authentication.

See [1] and [2]. If Hope doesn't have a method for publishing you can
either contribute it or at the very least use it as an example.

Publishing over HTTP should be considered a last resort measure. That's NOT how
RabbitMQ is supposed to be used. See [3][4].



--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Apr 3, 2017, 12:31:50 PM4/3/17
to rabbitm...@googlegroups.com
Also note that since JMeter is a load tool, using HTTP API for publishing is probably a major mistake
as it is *significantly* less efficient than using a RabbitMQ client library or even PerfTest as a library (embedded).

To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages