RabbitMQ-Test-Tool
This repository contains a simple test script to test a RabbitMQ cluster.
Usage
Let's say we have a RabbitMQ cluster at IP address 10.5.0.{1,2,3}.
Prepare the cluster by running:
./prepare-rabbit.sh 10.5.0.1
This script will create a test user and a test vhost. Detailed usage is:
Usage:
prepare-rabbit.sh [options] BROKER
Where BROKER is the address of the RabbitMQbroker to prepare.
Options:
--user USER The username to set
--password PASS The password for USER
--vhost VHOST The vhost to create
Set up a virtualenv to run the actual test script:
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
python setup.py install
Now send a message:
rabbitmq-test-tool 10.5.0.1 --send "My first message"
Full usage:
usage: rabbitmq-test-tool [-h] [--durable] [--queue QUEUE] [--send MSG] [--get]
[--list] [--user USER] [--password PASSWORD]
[--vhost VHOST] [--delete QUEUE]
BROKER [BROKER ...]
positional arguments:
BROKER The IP address or hostname of the broker, default =
localhost
optional arguments:
-h, --help show this help message and exit
--durable
--queue QUEUE The queue to use, default = test_queue
--send MSG Send MSG to queue
--get Get one message from queue
--list List messages in queue
--user USER The user to use for the RabbitMQ connection, default =
tester
--password PASSWORD The password to use for the RabbitMQ connection,
default = linux
--vhost VHOST The vhost to use for the RabbitMQ connection, default =
tester
--delete QUEUE Delete QUEUE
Metadata
Release files for RabbitMQ-Test-Tool 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| RabbitMQ Test Tool-1.1.7.tar.gz | 4.2 kB | Without provenance | Details for RabbitMQ Test Tool-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| RabbitMQ_Test_Tool-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for RabbitMQ_Test_Tool-1.1.7-py3-none-any.whl |
Total release size: 9.6 kB
Release files / RabbitMQ Test Tool-1.1.7.tar.gz
| Download URL | RabbitMQ Test Tool-1.1.7.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
091a240564d4f4e96db95ec92431266fdbf03aed571286ceb79051a49ec7b664
|
|
BLAKE2b-256 checksum How to use checksums |
ee6fe1ca2ad54c05d94e299db8af1f4f742441527e1d6d890ac01e59d7df77fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / RabbitMQ_Test_Tool-1.1.7-py3-none-any.whl
| Download URL | RabbitMQ_Test_Tool-1.1.7-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e1979e7a0b569982b504402d7b56679de882f5a987e18c937798fc1b28467e9
|
|
BLAKE2b-256 checksum How to use checksums |
0b523a294f676b2fa04c709535c3f5e6e60f0ec0bf1ef59e8ac912c9efc5cdfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Security for RabbitMQ-Test-Tool 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.