package
0.0.0-20220905085221-d99090c66dfa
Repository: https://github.com/testground/learning-example-tg.git
Documentation: pkg.go.dev

# README

RabbitMq test plan

The test cases within this test plan use a RabbitMq broker to transmit messages from producers to consumers. All test cases will fail (ie. the testground runner will fail to connect to the RabbitMq broker) if you haven't started a RabbitMq docker image in the testground-control network.

Getting started

Navigate to the project root directory

# Start RabbitMq:
make start_docker_rabbit

# Import the plan
testground plan import --from . --name tg-learning

# Run a test case
testground run single --plan tg-learning --testcase rabbit-4to1 --builder docker:generic --runner local:docker --instances 4

# Functions

A test with composed with 2 instances, aimed to fail (routing policy will block connection to rabbit broker).
A test with composed with 2 instances, aimed to fail (no messages will be sent by the producer).
A test composed of 4 instances: one is a consumer, and the other threee are producers.
A test composed of 2 instances: one is the producer, and the other the consumer.

# Structs

No description provided by the author