JMeter-Rabbit-AMQP
JMeter-Rabbit-AMQP copied to clipboard
AMQP Consumer exception
Hi,
Just to let you know, during my test with your plugin and rabbit MQ/pika python library I had an exception with AMQP exception. The reason was that pika is not sending any header in the reply-to message. FYI to solve it I slightly modified formatHeaders function in com.zeroclue.jmeter.protocol.amqp.AMQPConsumer.java by wrapping the headers for loop in an if as follows :
if(headers != null){
for (String key : headers.keySet()) {
sb.append(key).append(": ").append(headers.get(key)).append("\n");
}
}