O'Reilly logo

RabbitMQ Essentials by David Dossot

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Load testing AMQP

You're going to use Apache JMeter with the AMQP plugin to generate load on RabbitMQ. For this first test, your goal is to basically saturate the logs-archiver.py script in order to determine what the maximum processing capacity of a single running instance of it. After starting JMeter, add a Thread Group element under the Test Plan element and configure it as shown in the following screenshot:

Load testing AMQP

JMeter thread group for the logs load test

As you can see, we will use 50 concurrent threads, each publishing messages to RabbitMQ in an infinite loop. This is way more than the total number of servers at CCM but remember, we want to find out ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required