Search code examples
jmeterrabbitmqamqp

How to extract data using JMeter and AMQP Consumer?


i am using plugin JMeter-Rabbit-AMQP. I don't understand how to extract data from consumer. I publish, and a response is returned to another queue that my consumer is subscribed to. I don't understand how I can get this answer and continue the test with the logic of this answer

enter image description here


Solution

  • Add a suitable JMeter Post Processor as a child of the consumer sampler and configure it to extract the desired part of the response.

    If you want the full response - add Boundary Extractor and leave left and right boundaries empty.

    enter image description here

    Once done you will be able to access the extracted response as ${response} JMeter Variable where required