Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMQP Consumer exception #41

Open
gregLibert opened this issue Mar 28, 2017 · 0 comments
Open

AMQP Consumer exception #41

gregLibert opened this issue Mar 28, 2017 · 0 comments

Comments

@gregLibert
Copy link

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");
    	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant