Steadybit logoReliability Hub
GitHubGitHub iconStart Free Trial
Steadybit logoReliability Hub

Publish to Exchange (Messages / S)

AttackAttack
New
Publish messages to an exchange at a constant rate (messages per second) for the attack duration
Targets:
RabbitMQ Exchanges
Install now

Publish to Exchange (Messages / S)

Publish messages to an exchange at a constant rate (messages per second) for the attack duration
AttackAttack
Install now

Publish to Exchange (Messages / S)

AttackAttack
New
Publish messages to an exchange at a constant rate (messages per second) for the attack duration
Install now

Publish to Exchange (Messages / S)

Publish messages to an exchange at a constant rate (messages per second) for the attack duration
AttackAttack
Install now
Go back to list

Introduction

Publishes messages to a RabbitMQ exchange at a constant rate (messages per second) for the attack duration.

Delivery is determined by the exchange type and its bindings: a fanout exchange copies each message to every bound queue, while direct and topic exchanges route by the routing key. Messages that no queue receives count as failures against the required success rate.

For publishing a fixed total number of messages, use Publish to Exchange (# of Messages) instead. To fill one specific queue directly, use the queue-targeted Publish (Messages / s).

Use Cases

  • Apply sustained load through an exchange and verify all bound consumers keep up.
  • Combine with fault injection (e.g. node restarts) and verify the publish success rate through the exchange stays at 100%.
  • Verify topic routing under continuous traffic by watching which bound queues accumulate backlog.

Parameters

ParameterDescriptionDefault
Duration (seconds)How long the publisher runs at the specified rate. Total messages produced = rate x duration.30
Messages per secondThe number of messages per second. Min: 1, Max: 10.1
Routing Key(optional) Routing key used for message delivery, published as-is. Fanout exchanges ignore it; on direct and topic exchanges an empty or non-matching key makes messages unroutable, which counts as failure.
Message Headers(optional) AMQP message headers to include in the message properties. Specified as key-value pairs.
Message bodyThe message body. Every message uses this same value.test-message
Required Success RateMinimum percentage of messages that must be published and routed without errors. If the success rate drops below this, the experiment fails.100
Max concurrent requestsMaximum number of parallel publish requests in flight at once. Min: 1, Max: 10.1

More RabbitMQ Exchange Actions

See all
Publish to Exchange (# of Messages)
New
Publish a fixed total number of messages to an exchange, distributed evenly across the duration
AttackAttack
RabbitMQ Exchanges
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
Message Queue
RabbitMQ
Homepage
hub.steadybit.com/extension/com.steadybit.extension_rabbitmq
License
MIT
MaintainerSteadybit
Install now
Steadybit logoReliability Hub
Start Free Trial
© 2026 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon