Skip to content

aliesbelik/jmeter-amqp-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b23ec0a · Jan 14, 2022
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMeter AMQP Plugin

A JMeter plugin to publish & consume messages from RabbitMQ or any AMQP message broker.

Requirements

Installation

  1. Download the latest release or build your own from the source code.
  2. Put jmeter-amqp-plugin-VERSION-jar-with-dependencies.jar into $JMETER_HOME/lib/ext directory.
    It contains the necessary AMQP client dependency, no other jars are required.
  3. Restart JMeter GUI.

In case if you need the plugin without the AMQP client included, you can use the jmeter-amqp-plugin-VERSION.jar, but you have to ensure that the RabbitMQ client library - amqp-client-VERSION.jar - is installed in $JMETER_HOME/lib directory.

Usage

This plugin includes 2 samplers:

Both samplers can be found in the Add -> Sampler list shown as below:

amqp-plugin-samplers

AMQP Publisher

amqp-publisher

AMQP Consumer

amqp-consumer

A pre-configured example scenario can be found in the examples directory.

Build

Build requirements

In order to build JMeter AMQP plugin from source, you will need:

Build dependencies are managed by Maven.
Jars should automatically be downloaded by Maven as part of the build process.

In addition, you'll need to copy or symlink the following from $JMETER_HOME/lib/ext directory:

  • ApacheJMeter_core.jar

Build from source

To build, just execute:

mvn clean package

This will create 2 jars in /target directory, the original jar and the jar with all the dependencies within (this is the one you need):

target/jmeter-amqp-plugin-VERSION.jar
target/jmeter-amqp-plugin-VERSION-jar-with-dependencies.jar

To install, execute:

cp target/jmeter-amqp-plugin-VERSION-jar-with-dependencies.jar $JMETER_HOME/lib/ext

Acknowledgements

Thanks to

Contributing

Contributions are welcome.

About

A JMeter plugin to publish & consume messages from RabbitMQ or any AMQP message broker

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Java 100.0%