Pages

Wednesday, September 14, 2011

ActiveMQ 5.5.0 performance test plugin

It not very simple to apply the perf test instructions given at http://activemq.apache.org/activemq-performance-module-users-manual.html I encountered many problems, and here is a way to make it run.

Required: Maven 2, SVN client like tortoise SVN

Steps

1. Checkout the source code for Active MQ 5.5.0 from SVN http://svn.apache.org/repos/asf/activemq/tags/activemq-5.5.0 to directory AMQ

2. Checkout perf test code from SVN http://svn.apache.org/repos/asf/activemq/sandbox/activemq-perftest/ to directory AMQPerf

3. cd AMQ/activemq-tooling/maven-activemq-perf-plugin and edit pom.xml. Remove line <scope>test</scope> from org.slf4j dependency.

4. cd AMQPerf and edit pom.xml. Change <version> in <parent> to 5.5.0

5. cd AMQ/activemq-tooling and run “mvn clean install”

6. cd AMQPerf and run “mvn clean install”

7. Run Commands as provided in http://activemq.apache.org/activemq-performance-module-users-manual.html from the AMQPerf directory in separate command prompts/Consoles, that is-

Console1> mvn activemq-perf:consumer
Console2> mvn activemq-perf:producer

This works for me perfectly.

2 comments:

  1. Anonymous3:28 AM

    Thanks for posting this!
    #3 blocked me 'cause of missing mvn knowledge.

    ReplyDelete
  2. Anonymous9:52 PM

    thanks.. it is helpful

    ReplyDelete