Perf Test

61 views
Skip to first unread message

Eliot Advicent

unread,
Feb 20, 2020, 2:21:59 PM2/20/20
to rabbitmq-users
Hello,

This might be a rather simple/trivial question, but I'm slightly confused when trying to work with RabbitMQ's PerfTest tool.  To start I'm just trying to target my local URI, but not having luck.  I wasn't sure if I could just define the uri using -h at the end of the example test that was provided.  so ex. runjava com.rabbitmq.perf.PerfTest -x 1 -y 2 -u "throughput-test-1" -a --id "test 1" -h amqps://localhost:_____

Also I was wondering if there is a way to trigger a specific event over and over?

Thanks in advance for any help/tips,

Eliot

Luke Bakken

unread,
Feb 20, 2020, 5:05:15 PM2/20/20
to rabbitmq-users
Hi Eliot,

"not having luck" doesn't tell us anything to be able to assist you. What specific error are you getting? Since you're using TLS, see these documents:



"trigger a specific event" - what does that mean? Do you want to publish a specific message at a certain interval?

Thanks -
Luke
Message has been deleted

Eliot Advicent

unread,
Feb 20, 2020, 6:02:32 PM2/20/20
to rabbitmq-users
Sorry about the lack of clarity.  To start, I was trying to run this: runjava com.rabbitmq.perf.PerfTest -h amqps://guest:guest@localhost:15672 and was getting the error: WARN  c.r.c.TrustEverythingTrustManager - SECURITY ALERT: this trust manager trusts every certificate, effectively disabling peer verification.  
After browsing around this group a little more, I saw that I can't use guest.  I wanted to know if I could in fact target my localhost though?

In regards to the specific event.  The idea of looking at this perf test tool is I wanted to see how Rabbit handled an API call triggered several times. ex. if someone were to change a numerical value over and over and keep sending events to the bus.  I wanted to see if the time it took for the events to be process degraded if say 50 events were put on the service bus.  Does that help clear some things up?

Eliot

Luke Bakken

unread,
Feb 20, 2020, 6:16:51 PM2/20/20
to rabbitmq-users
Hi Eliot,

You can ignore that warning. It just tells you that PerfTest will accept any server certificate. This is documented in the link I provided - https://rabbitmq.github.io/rabbitmq-perf-test/stable/htmlsingle/#tls-support

By default, the guest user has access to localhost. So unless you deleted the guest account, or have some TLS mis-configuration, your command should work. Again, you haven't told us what error you are seeing, only that one warning. What errors are you seeing? What is in the RabbitMQ logs? Run your PerfTest command, capture the output, and attach the output to your response.

You can use PerfTest to simulate your workload. There are arguments to set a specific publish rate as well as the message body.

Thanks,
Luke
Reply all
Reply to author
Forward
0 new messages