jmeteramqp

Jmeter throws CannotResolveClassException: com.zeroclue.jmeter.protocol.amqp.AMQPConsumer


I am trying to import a JMX file and it throws the following exception. I have downloaded jmeter-plugins-manager-1.3.jar and have put in 'lib/ext' folder as suggested in here. enter image description here


Solution

  • You are missing the JMeterAMQP.jar in your lib/ext directory.

    To resolve this issue you can check this JMeter-Rabbit-AMQP git project and build an executable JMeterAMQP.jar and then just copy the .jar file into your JMeter's lib/ext directory. Additionally, you also need RabbitMQ Java Client into your lib/ directory.

    So, here is a quick solution for you:

    1. Download JMeterAMQP.jar from this link and paste it into your JMeter's lib/ext directory.

    2. Download amqp-client from this link and paste it in your JMeter's lib/ directory.

    3. Restart your JMeter.

    That's it, you should be able to open your JMX file now.