JMeter-Rabbit-AMQP
JMeter-Rabbit-AMQP copied to clipboard
Unable to use JSON Postprocessor for AMQP Consumer
On receiving a message using AMQP consumer, we have requirement to extract some JSON fields out of the message. We are using JSON PostProcessor for the same.
We are successfully able to consume message using AMQP Consumer. However, the response data seems to be always hardcoded as "OK" string, which fails JSON PostProcessor task while extracting necessary fields.
What is the issue here? How to get to the response body?
As a workaround, I had to insert to JSR223 post-processor just before the JSON post-processor to copy the message into the sampler response body: