Replies: 1 comment 3 replies
-
It may be simpler to start 2 PerfTest instances, one to publish only ( |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a question regarding on how to configure the test to run.
I have a RabbitMQ instance and Quarkus application that recieves the event from example "aaa" queue, process it and returns it back to example "bbb" queue. I have predefined exchanges "xxx" and "yyy", binding are made from "xxx" to "aaa" and from "yyy" to "bbb", so i will be using —predeclared option and that is fine.
The question now is how can I configure perf test so that producer will send messages to "xxx" exchange and consume messages from "bbb" queue. I have already setup so messages sent to "xxx" exchange are correct inc headers, but the problem I find is that I cannot specify on what queue the pert test will be consuming processed messages.
Overview of the message flow:
Producer sending to "xxx" exchange -> "xxx" exchange -> bindings route message to "aaa" queue -> Quarkus app -> "yyy" exchange -> bindings route message to "bbb" queue -> Consume and test performance from "bbb" queue.
I tried with something like this but it's not working as expected.
java -jar perf-test-2.18.0.jar --uri "customUri" --producers 1 --consumers 1 —predeclared -e "xxx" -k "customRoutingKey" -mp "customHeaders" --body body.json --predeclared -u "bbb" -z 60
Beta Was this translation helpful? Give feedback.
All reactions