This content has been marked as final.
Show 1 reply
-
1. Re: Fuse Message Broker(ActiveMQ) and JMeter
mielket Apr 15, 2011 12:12 PM (in response to rajk1000)Hi,
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"> <modelVersion>4.0.0</modelVersion> <groupId>com.fusesource.test</groupId> <artifactId>activemq-perftest</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>ActiveMQ :: Performance Test</name> <description>Performance Testing Framework for ActiveMQ</description> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.16</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.activemq.tooling</groupId> <artifactId>maven-activemq-perf-plugin</artifactId> <version>5.6-SNAPSHOT</version> </plugin> <plugin> <groupId>org.apache.activemq.tooling</groupId> <artifactId>maven-activemq-memtest-plugin</artifactId> </plugin> </plugins> </build> </project>
With this pom, follow the instructions on the plugin doc on how to start consumer and producer.