Remote PerfTest

213 views
Skip to first unread message

eli....@rightside.co

unread,
Jun 15, 2016, 2:00:11 PM6/15/16
to rabbitmq-users
Hello, I am using the Java Client tools and invoking the Perftest script. I am currently running the test locally on the Rabbitmq server. Can this test tool be ran remotely and if so how do I specify that?

Thank you

Michael Klishin

unread,
Jun 15, 2016, 3:14:13 PM6/15/16
to rabbitmq-users
From PerfTest help:

--uri <arg>             AMQP URI

eli....@rightside.co

unread,
Jun 16, 2016, 12:29:35 PM6/16/16
to rabbitmq-users
Thanks Michael I missed that option. However when I try running the script I get "Parsing failed. Reason: Missing argument for option:s" not sure whats missing.

runjava.bat com.rabbitmq.examples.PerfTest --producers 2 --consumers 2 --predeclared --queue test --size 1000 --pmessages 100000 --cmessages 100000 --uri "amqp://user:us...@10.0.0.1:5672/"

Michael Klishin

unread,
Jun 16, 2016, 3:28:43 PM6/16/16
to rabbitm...@googlegroups.com
It works for me. Something is going on with Windows quoting of CLI arguments, I suspect.

Also, slashes in vhost names have to be %-encoded (%2F = /). If you want default vhost then simply
remove the trailing slash.

--
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-user...@googlegroups.com.
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