JMeter-Rabbit-AMQP icon indicating copy to clipboard operation
JMeter-Rabbit-AMQP copied to clipboard

AMQP Consumer exception

Open gregLibert opened this issue 7 years ago • 0 comments

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");
    	}
}

gregLibert avatar Mar 28 '17 16:03 gregLibert