1 Reply Latest reply on Apr 15, 2011 12:12 PM by Torsten Mielke

    Fuse Message Broker(ActiveMQ) and JMeter

    Raj Kapoor Newbie



      I'm just wondering if there are any examples of testing done with JMeter, some sample test scripts for example, of a typical messaging scenario.


      On the Apache website, this link exists, which promises some good stuff, but the source tree link seems quite old (2006), and the JMeter install there, does not seem to deliver what is promised in the link? ie JMeter Producer Sampler , Producer Listener, Consumer Sampler etc (unless I am not seeing it somehow).


      This is the link..




      Have times moved forward since then? DO you know where I can find such samples?


      Or even a nice tutorial describing how to use JMeter in a typical messaging scenario, ie Producing to a Queue, then COnsuming from the queue, and writing to a DB?


      Thanks In Advance.

        • 1. Re: Fuse Message Broker(ActiveMQ) and JMeter
          Torsten Mielke Apprentice



          This page looks old indeed. Sorry, I don't have any updated version available but wanted to drive you to the maven-activemq-perf-plugin that can easily be used to run custom load tests. The plugin supports a number of configuration options but will fall behind JMeter on the reporting side. Still it might serve your needs. Perhaps give it a try.


          Some more notes: http://tmielke.blogspot.com/2011/02/load-tests-with-activemq.html.


          The sample pom file on the plugin documentation did not work that easily outside of the AMQ source code folder. Here is a sample pom that I have been using a lot:


          <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
              <name>ActiveMQ :: Performance Test</name>
              <description>Performance Testing Framework for ActiveMQ</description>


          With this pom, follow the instructions on the plugin doc on how to start consumer and producer.