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

Lazerycode jmeter maven plugin Java Extension downloads excluded Dependencies

I am trying to use Java samplers in my tests. I have a separate maven project where I create my extensions. After building the project I get a .jar lib. I include it in my maven plugin like this:
1
vote
1 answer

Jmeter test runs on GUI but not on maven

I am testing an endpoint using JMeter. The test runs successfully on GUI, but fails when I use maven with error below; summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%) and this…
philip
  • 484
  • 9
  • 26
1
vote
2 answers

jMeter maven plugin with csv input files

I've got a working simple jmeter jmx with the plugin, reading the docs I've found how to override .properties files but right now my problem is that I have a folder with .csv files input data that I want to use in my test. The folder with the csv…
Smaug
  • 21
  • 8
1
vote
1 answer

How to create HTML reports using Jmeter Maven Plugin 2.1.0.

Jmeter Maven plugin 1.4 used to generate nice HTML reports but the latest plugin 2.1.0 does not create. I know for the latest plugin by default enableReports are set to false. I would like to know how HTML reports can be enabled without usage of any…
Pankaj Sharma
  • 77
  • 2
  • 7
1
vote
1 answer

Jmeter Maven 2.1.0- Error in NonGUIDriver java.lang.IllegalArgumentException

This question was attempted to be answered here in this post: Jmeter- Error in NonGUIDriver java.lang.IllegalArgumentException but the solution didn't work, was wondering if anyone else had another solution or can clarify the solution... I'm trying…
1
vote
1 answer

How can I get JMeter results in xls and csv formats simultaneously after running one test?

I'm using Jenkins + Maven + JMeter (3.1) + Report Dashboard + Performance Plugin (2.0). Linux, non-GUI mode. I need to get two files after performing one test - in xls and csv formats. The solution that I found and now use is getting xls results via…
1
vote
1 answer

How to resolve Could not find artifact commons-math3:commons-math3:jar:3.4.1

I have a project that executes a JMeter tests suite though maven. I use com.lazerycode.jmeter s jmeter-maven-plugin. With version 2.0.3 my project runs well. but when I update teh plugins version to 2.1.0 the following error is thrown. [ERROR]…
Asanke
  • 551
  • 1
  • 11
  • 32
1
vote
2 answers

Load test using Maven-jmeter plugin on Jenkins gives "Non HTTP response code: javax.net.ssl.SSLHandshakeException"

I am using Jmeter 3.0 for load testing API's. I am using Maven-Jmeter plugin to run my load tests. Currently using com.lazerycode.jmeter plugin version 2.0.3. Test's run fine on my local machine but when I run it via Jenkins, I get "Non HTTP…
1
vote
1 answer

jmeter-maven-plugin libraries management

I have such plugin configuration in my pom.xml com.lazerycode.jmeter jmeter-maven-plugin
Aliaksei Bulhak
  • 6,078
  • 8
  • 45
  • 75
1
vote
2 answers

How to run multiple .jmx files parallely using jmeter-maven-plugin

I want to run different .jmx/jmeter testplans parallely using jmeter-maven-plugin and jenkins.
Atul Kumar
  • 73
  • 2
  • 11
1
vote
2 answers

how to generate jmeter dashboard report through maven project

I am able to generate Jmeter dashboard report manually using this command jmeter -g /path/to/jtl/file -o /where/you/want/to/store/dashboard but I want to generate it through maven project. Is there any way? Below is the plugin…
Atul Kumar
  • 73
  • 2
  • 11
1
vote
4 answers

How to configure Jmeter maven plugin to generate Jmeter 3.0 report dashboard

I am unable to generate the report Dashboard for Jmeter 3.0 by using Jmeter-maven-plugin version 2.0.3. I added the and added jmeter.save.saveservice properties in my pom under configuration in Jmeter maven plugin but I get "ensure the…
Charan Sethi
  • 51
  • 1
  • 8
1
vote
2 answers

Cannot pass parameters to slaves with distributed JMeter setup with Maven and linux

Using JMeter 2.13, Maven and Linux in all servers. Not running any tests from gui or command line, Maven is used! Have a test plan with a lot of parameters that are set and passed from Maven execution in Jenkins to the JMeter test plan. Using "-J"…
1
vote
1 answer

Setting JMeter properties from Maven plugin

I'm trying to set properties for a JMeter test using the Maven plugin. I've followed the recommended settings in my pom.xml file from the answer to this question, but my properties aren't getting picked up when the tests are run. The relevant parts…
andyc
  • 157
  • 2
  • 11
1
vote
1 answer

Saving JMeter results in JTL/XML format

I'd like JMeter to save requests/responses to XML file ONLY if the request failed. All passed request should not be logged. How can I do that?
automatictester
  • 2,436
  • 1
  • 19
  • 34