Questions tagged [jmeter-maven-plugin]

JMeter Maven plugin to automate Apache JMeter tests in Maven.

enter image description here

The JMeter Maven Plugin allows you to integrate Apache JMeter tests as part of your Maven build lifecycle. This makes your tests more portable and easier to run in multiple environments as the only real dependency is a valid Maven install.

242 questions
2
votes
2 answers

Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory, using jmeter-maven-plugin

In few words, if I run the JMeter plan test below from Maven it gives the outcome: javax.naming.NamingException: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception…
DemeCarvO
  • 487
  • 4
  • 16
  • 28
2
votes
0 answers

JMeter Maven Bamboo

My Bamboo instance is using Maven version 3.3.3. But I keep getting this error Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:2.0.3:jmeter (jmeter-tests) on project test: The plugin com.lazerycode.jmeter:jmeter-maven-plugin:2.0.3…
philip
  • 484
  • 9
  • 26
2
votes
1 answer

jmeter maven csv jtl file

I am running a few jmeter test plans together through jmeter-maven-plugin. I can see jtl files generated for each test plan. But the file content is in xml. I tried modifying the pom file to have resultsFileFormat as csv but it still generates xml…
user2626431
  • 447
  • 1
  • 10
  • 20
2
votes
2 answers

JMeter Maven disable log

I am facing a matter that I do not success to solve. I am running JMeter on Jenkins using JMeter Maven Plugin. When JMeter is started it run the non UI mode and always setup the argument -l to log infos. That log load of lines and reach giga byte of…
2
votes
2 answers

JMeter Maven mojo throws IllegalArgumentException with large JTL file

When I run my JMeter test with a large loop count (100 iterations on 15 HTTP requests) on my thread group I get an enormous JTL file out of JMeter. This is a problem for the jmeter-maven-plugin I'm using…
Stav
  • 1,676
  • 1
  • 12
  • 16
2
votes
1 answer

Jmeter test running using maven

I am learning jmeter and trying to configure it with Maven but I am getting the following exception when I run "mvn verify -e" [ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven- plugin:1.9.0:jmeter (jmeter-tests) on project…
Harry
  • 4,705
  • 17
  • 73
  • 101
2
votes
2 answers

how to pass Jmeter thread count in jenkins using Maven

I want to configure Jmeter script on jenkins to run for particular thread count. lets say 10 or 20 or 30. i am using maven with Jenkins how can i pass the thread value as parameter so can run the job for diff thread everytime. i am using mvn verify…
Shrikant More
  • 148
  • 1
  • 3
  • 11
2
votes
1 answer

Error in nonguidriver conversionexception com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion

Background info - I have a jmeter test plan which is verifying json API calls. I wanted to use ATLANTBH jsonpathassertion component which seems to be far simpler rather than a regex extractor and then an assertion. I have added an assertion step…
nickyaw
  • 21
  • 1
  • 4
2
votes
2 answers

How to use SSH sampler with Maven JMeter Plugin

I'm sure other people tried this usage, but I could't find good examples online. I hope someone can help and comment whether it's doable at all. Part of my pom.xml file is given below. The problem is that Maven couldn't find the "jmeter-ssh-sampler"…
Yulin Qi
  • 21
  • 2
2
votes
1 answer

Run JMX monitor collector listener using Jmeter Maven Plugin

I'm using Jmeter maven plugin to execute jmx test files, it goes fine with GUI stress testing and web service testing : com.lazerycode.jmeter jmeter-maven-plugin
Shessuky
  • 1,846
  • 21
  • 24
2
votes
2 answers

Maven jmeter plugin: SAXParseException: Content is not allowed in prolog

I have something like this in my jmx file of jmeter: http://192.168.0.1:8080/abc/Service I'm using jmeter maven plugin to get the performance test result when doing the maven build. It's working…
Praveesh P
  • 1,399
  • 2
  • 25
  • 42
2
votes
2 answers

Jmeter : How to increase JVM heap space from Jmeter Plugin

I am working on Jmeter Maven Plugin. I am getting Error from jmeter while running large number of users test cases. Error from Jmeter Logs: 2014/08/04 18:16:29 WARN - Thread Group 1-3 - jmeter.control.GenericController - StackOverflowError detected…
Ashoka
  • 187
  • 3
  • 14
2
votes
1 answer

Conditionally Execute JMeter Maven Plugin

I'm trying to figure out how to execute my JMeter performance test plan conditionally. I want to have my Jenkins CI job execute it, but when developers run mvn clean install I don't want the below plugins to run. Any ideas on how I can modify my…
c12
  • 9,557
  • 48
  • 157
  • 253
2
votes
1 answer

Editing jmeter saveservice.properties file using Jmeter Maven Plugin

Is there a way to edit(add some properties to it) the Jmeter saveservice.properties file when I am invoking Jmeter using the Jmeter Maven Plugin?
dehsams123
  • 251
  • 2
  • 7
  • 18
1
vote
1 answer

InaccessibleObjectException: Unable to make field java.lang.ThreadLocal$ThreadLocalMap java.lang.Thread.inheritableThreadLocals accessibl

I have a jmeter project including a "bzm Parallel Controller" plugin in order to parallelize some/more http requests. That jmeter project works fine working by GUI or by non-GUI mode So I have also built with maven, Then I have included and compiled…