Comments on: Maven JMeter plugin and report generation (the last steps to get it working) Friends of Oracle and Java Sat, 01 Aug 2015 11:10:05 +0000 hourly 1 By: Ardesco Wed, 08 Feb 2012 23:11:43 +0000 A lot of the problems mentioned in the comments have been fixed in the latest version and this plugin is now under active development again.  It is now available from the central maven repository so you no longer need to specify a repository in your POM to use it, all that is required now is:
Note that the GroupID and ArtifactID have changed.
Project website is

By: Marco Thu, 04 Oct 2007 13:13:42 +0000 We are having a problem with functions like ${__threadNum}, they are not being replaced when JMeter is executed by the Maven plugin. Has anybody experienced the same? Any ideas what might be causing this? No problems when running the script with the JMeter GUI or command-line. I did find the following messages in the logging:

2007/10/03 15:55:49 DEBUG – Not running version, return raw function string
2007/10/03 15:55:49 DEBUG – jmeter.engine.util.ValueReplacer: Replacement result: test${__threadNum}

By: Lean Mon, 01 Oct 2007 14:00:55 +0000 I have posted a blog entry describing the entire process to make JUnitSampler work with Maven:

By: Lean Thu, 30 Aug 2007 14:50:03 +0000 Well, I finally found out the way to do this. Is not nice but it works.

I had to modify the Maven JMeter Plugin to add all the needed classes to the ClassLoader that JMeter uses.
This is achieved reading a text file with all the dependencies of the project (generated previously with the maven-dependency-plugin).

I’m waiting that Tim McCune confirm me that he accepts my modification to update his plugin.

By: Robbrecht van Amerongen Tue, 14 Aug 2007 18:14:17 +0000 I have no experience with JunitSampler option within Jmeter. This features is introduced in version 2.1.2.
I think you have to add the test.jar as an dependency within your pom. I have not tried this yet.
The HTTPSampler does not give these problems.

By: Lean Mon, 13 Aug 2007 14:10:06 +0000 Hi Bobbrecht, I have deployed jmeter-2.2.jar in a internal repository. The log says that it couldn’t find my test classes.
What do you mean with JMeter helper classes?
I have all the dependencies that JMeter needs

I have this line in my target/jmeter/jmeter.log file:

2007/08/13 11:06:38 WARN – ClassNotFoundException::

Can you tell me which version of Java are you using?
Maybe there is a problem with classpath.


By: Robbrecht van Amerongen Mon, 13 Aug 2007 07:31:15 +0000 Lean,
The whole Jmeter process is run in maven. It seems that the ClassNotFoundException has to do with something in your JMeter Test.
You should add additional helper class files from JMeter as an dependency in your pom.xml.

I hope this will solve your problem.

By: Robbrecht van Amerongen Mon, 13 Aug 2007 07:26:16 +0000 You have to add the repository where you can download the jmeter.jar to the maven-jmeter-plugin pom.xml. e.g.:



By: Lean Fri, 10 Aug 2007 20:50:16 +0000 Haven’t you got a ClassNotFoundException in the jmeter/jmeter.log file after running it?
If you did, how did you solve it?