PROTOCOLS · AMQP
Load test RabbitMQ with every message accounted for
Orders, payments and jobs move between services through RabbitMQ queues. With the community AMQP plugin, Gatling publishes at production rates, waits for replies and checks them, so you see slow consumers and lost messages before your users do.


Measure the round trip, not the publish
A publish that returns fast only means the broker took the message. The real question is what happens next: is it consumed, processed and answered, in time, as the rate grows? Request-reply and consume actions measure that, per virtual user, under load.
From publish to checked reply, in one Gatling test
Each publish, reply and consume appears side by side in the same Gatling report.
How Gatling does it
Validate every reply
Check replies and consumed messages with JSON path, JMESPath, XPath or body checks, and apply checks only when a condition holds.
The right reply on a shared queue
Match replies by message ID, by correlation ID, or with your own matching logic.
Declare what the test needs
Declare queues and exchanges and bind them before the test runs, so no message is discarded for lack of a queue.
Where teams load test AMQP
RabbitMQ carries the work your services hand to each other. These are the flows to test before a launch, a sale or a migration.
Order and payment flows
Orders published to a queue and confirmed by downstream services. Measure round-trip time as order volume grows.
Background work queues
Image processing, emails and reports queued for workers. Measure how fast consumers keep up before the queue backs up.
Request-reply between services
Services calling each other through a reply queue. Measure response times and timeouts as concurrency grows.
Topic exchanges
Events routed to many consumers by routing key. Measure whether each consumer gets its messages in time.
Broker upgrades
A new RabbitMQ version, cluster or managed service. Run the same test before and after, and compare the reports.
A different architecture?
Tell us about the queues that matter to your business. We’ll help you design the right Gatling test.
AMQP testing with a community plugin
Publish, request-reply, consume, publisher confirms and topology declarations, from an open source plugin that runs inside Gatling and reports like any other protocol.
Measure the full round trip
Send a request with a reply queue and wait for the matching reply, with a timeout. Response time covers the whole round trip, not just the publish.
Private Locations
Run next to brokers that aren’t reachable from the internet, with no inbound access to open.
Performance gates with assertions
Set assertions on response time and failed checks per queue. If one fails, the Gatling test fails and so does the build.
Live Session
See Gatling in action
Build, run, and interpret your first load test. A practical session: by the end, you'll know exactly what Enterprise gives you out of the box.
.png)
Your first Gatling test for AMQP
The plugin repo with its examples, plus Gatling’s built-in JMS support if your broker exposes a JMS client.
gatling-amqp-plugin on GitHub
Install it, configure the connection, and run the Scala and Java examples against RabbitMQ.
Prefer a built-in protocol? Use JMS
Gatling’s JMS support ships with the SDK. RabbitMQ offers a JMS client if you want to stay on a native Gatling protocol.
Every protocol Gatling supports
See the protocols and integrations you can test with Gatling.
One platform for every protocol you run
Same Gatling SDK, same reports, same infrastructure.
gRPC
Unary and streaming calls built from your .proto files.
AMQP
RabbitMQ queues and exchanges.
MQTT
IoT devices and brokers at fleet scale.
Kafka
Event-driven flows, end to end.
JMS
Queues and topics on JMS brokers.
Also supported: HTTP, WebSocket, SSE, GraphQL and JDBC. See the full tech stack›
AMQP load testing, answered
What teams ask before they run their first AMQP test with Gatling.
Is AMQP supported natively in Gatling?
No. AMQP support comes from gatling-amqp-plugin, an open source community plugin maintained by Galaxio under the Apache-2.0 license. It isn’t maintained by Gatling.
Do I need to create queues before the test?
Yes. If the target queue doesn’t exist, the broker discards the message without an error. Declare and bind queues and exchanges in the simulation, or create them before the run.
Can I consume messages without sending them?
Yes. The consume action polls a queue with a timeout, 5 seconds by default, and fails if no message arrives.
Can I test request-reply flows?
Yes. Send a request with a reply queue and wait for the reply, matched by message ID, correlation ID or custom logic. Requests time out after 60 seconds by default.
Does it work with brokers other than RabbitMQ?
The plugin documents RabbitMQ only. If your broker exposes a JMS client, Gatling’s built-in JMS support is another option.
Which Gatling versions and languages are supported?
The plugin has separate lines for Gatling 3.11 and 3.13, built for Scala 2.13 and Java 17+. Write tests in Scala, or in Java and Kotlin through its Java API. The JavaScript and TypeScript SDKs aren’t supported.
Find out how many messages your queues can take
Bring one queue that matters to your business. We’ll look at your setup with you and plan the right test.
Find out where your queues break
Bring one queue that matters to your business. We'll show you how to plan a test at production scale with Gatling Enterprise.
Need technical references and tutorials?
Running AMQP tests locally first?

