RabbitMQ Performance Testing Tool Introduction:
Https://www.rabbitmq.com/java-tools.html
RabbitMQ Performance Testing Tool Download:
Https://github.com/rabbitmq/rabbitmq-perf-test/releases
Unzip the file (put it in the RabbitMQ installation directory)
Rabbitmq-perf-test-1.1.0.zip
Test (command line execution):
- > CD d:\program files\RabbitMQ server\rabbitmq-perf-test-1. 1. 0\Bin
- > runjava. bat com. RABBITMQ. Perf. Perftest -A
More help:
- > Runjava com.rabbitmq.perf.PerfTest--help
- Usage: <program>
- -?,--Help Show usage
- -A,--multiackevery <arg> Multi ack every
- -A,--autoack auto ack
- -B,--Heartbeat <arg> Heartbeat interval
- -C,--pmessages <arg> Producer message Count
- -C,--Confirm <arg> Max unconfirmed publishes
- -D,--cmessages <arg> Consumer message Count
- -D,--ID <arg> Test ID
- -e,--Exchange <arg> Exchange name
- -F,--Flag <arg> Message Flag
- -H,--Uri <arg> Connection URI
- -I,--interval <arg> sampling interval in seconds
- -K,--randomroutingkey use random routing key per message
- -K,--Routingkey <arg> Routing key
- -M,--framemax <arg> Frame max
- -M,--ptxsize <arg> Producer TX size
- -N,--ctxsize <arg> Consumer TX size
- -P,--predeclared allow use of predeclared objects
- -Q,--globalqos <arg> Channel prefetch count
- -Q,--QoS <arg> Consumer prefetch count
- -R,--consumerrate <arg> Consumer rate limit
- -R,--Rate <arg> Producer rate limit
- -S,--size <arg> Message size in bytes
- -T,--type <arg> Exchange type
- -u,--Queue <arg> queue name
- -X,--producerchannelcount <arg> channels per producer
- -X,--producers <arg> Producer Count
- -y,--consumerchannelcount <arg> channels per consumer
- -Y,--Consumers <arg> Consumer count
- -Z,--time <arg> Run duration in seconds (unlimited by default)
Example: 100 producers; 100 consumers; the Echange name is called Testex; the forwarding type is fanout;queue called testque;bingding for kk01;
runjava.bat com.rabbitmq.perf.PerfTest -x100 -y100 -e"testex" -t"fanout" -u"testque" -k"kk01"
View and learn about messaging with the Rabbitmq-management interface tool (refer to: RABBITMQ installed in Windows)---------------------This article comes from the CSDN blog of Huang-zc, Full Text address please click: 55252797?utm_source=copy
RabbitMQ Performance Testing Tool performance testing tools