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
1
vote
1 answer

Unable to run jmeter 3.0 script with JSON path POST-processor with jmeter-maven-plugin

If I run the script as ./jmeter.sh -n -t test_load.jmx from apache-jmeter-3.0/bin it works fine, whereas when I run the same script from Maven, I get this error: [debug] ------------------------------- : JSONPostProcessor :…
Rajul
  • 71
  • 9
1
vote
4 answers

why jmeter assertion failure but maven project mark success

I use jmeter-maven-plugin for maven and jmeter In jmeter , I have some assertion failure , but why the maven project also marked success? someone help me. Tanks! here is my maven project pom.xml
1
vote
2 answers

Run multiple jmx files in Parallel

We have project structure as src/test/jmeter/regressionTests/jmx1,jmx2,jmx2 The regressionTests folder has different jmx files. These files can execute in parallel.(They have no dependency on each other.Each jmx file creates its own data and then…
1
vote
0 answers

Not able to convert `executions` property of maven in sbt

I have a scenario to run jmeter-script using sbt. I am able to run jmeter-script using maven install with below pom.xml:- com.lazerycode.jmeter
1
vote
2 answers

Getting conflict error when running Jmeter Scripts using jmeter-maven-plugin

I am trying to achieve the Jmeter Maven integration. When I tried with jmeter-maven-plugin, I received the error messages as per mention in the below stackoverflow question: Run JMX monitor collector listener using Jmeter Maven Plugin I changed the…
Durgesh
  • 585
  • 4
  • 12
  • 33
1
vote
0 answers

Modify summary report, generated from jMeter Maven plugin

I have configured my jmeter scripts to be executed with Maven. Everything works as expected, but I have issues with my html report customization. I would like to have more details into it, additional graphics, application build version, etc. I tried…
haumaru
  • 51
  • 4
1
vote
1 answer

An API incompatibility was encountered and java.lang.ExceptionInInitializerError when using jmeter maven-analysis plugin

I am running my meter test with jmeter-maven plugin and jmeter-maven-analysis plugin. tests are executed successfully but analysis report using the later plugin gives me the below error. [ERROR] Failed to execute goal…
Prakash Palnati
  • 3,231
  • 22
  • 35
1
vote
1 answer

Jmeter Maven Plugin - Remote server config with parameters in pom.xml

I am trying to execute a jmeter test using the maven plugin on a remote server leveraging a pom.xml file that is completely parameterized as below.(I was able to successfully run a maven-jmeter remote test, where the servername, port, protocol and…
1
vote
1 answer

How to get cpu usage and memory usage graph of server during jmeter load test running through Jenkins

I want to measure CPU and Memory usage of my server during load test using Jmeter. For this i added "jp@gc - PerfMon Metrics Collector" listener with my scripts in jmeter GUI and configured jmeter perfmon plugin in my server. I got the graph in…
Jagadeesh
  • 61
  • 3
  • 7
1
vote
2 answers

JMeter Maven Plugin - remote test machine cannot be configured

I keep getting this errors (error code bellow) when I run jmeter tests through jenkins on remote slave machines : [INFO] ------------------------------------------------------- [INFO] P E R F O R M A N C E T E S T S [INFO]…
luke1984
  • 21
  • 1
  • 4
1
vote
2 answers

How to setup the maven project to run the JMeter tests?

I am trying to setup the maven project to run the JMeter tests. Please let me know the way to setup the things to run the JMeter tests using Maven.
Varesh Tuli
  • 35
  • 1
  • 11
1
vote
1 answer

How to change result file name (of jtl file) in jmeter-maven-plugin?

I use jmeter-maven-plugin (version 1.10.0) to run JMeter test. I want to change default name of the result file, so I want to change argument for option -l (logfile): [debug] JMeter is called with the following command line arguments: -n …
Justyna S
  • 33
  • 7
1
vote
1 answer

JMeter : Maven Build Hangs/Freezes at the end of execution in Jenkins

I am using jmeter-maven-plugin to execute JMeter tests (JMX Files) as a maven project from Jenkins. What I observed is: When rampup time is more or virtual user is more, Jenkins freezes the execution towards the end. It keeps on executing for days…
1
vote
3 answers

jmeter test using Jenkins

Goal: jmeter test run on Jenkins. I've created a script in Jmeter. I've downloaded jmeter-maven-plugin. I've created the jmeter directory (where I've put my script) in jmeter-maven-plugin/scr/testwhere directory. I don't know what to do next.
verbatim
  • 21
  • 4
1
vote
1 answer

JMeter fails with ClassNotFoundException when run in Maven

I have created a JMeter test file which runs some tests I've written in java When I run the file in JMeter itself they run fine and the test pass. Now I've configured maven to run the JMX file and when I run the verify goal it executes the JMX file.…
Linora
  • 10,418
  • 9
  • 38
  • 49