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
10
votes
3 answers

Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code

I am trying to run a Jmeter test on remote machine ( macOS sierraO). I configured jp@gc - Chrome Driver Config and I can connect to the slave machine. However, whenever I try to run it I get Starting ChromeDriver 73.0.3683.20 (XXXXXXX) on port…
Awad
  • 823
  • 3
  • 11
  • 33
10
votes
4 answers

Jenkins Pipeline publish html report

Maven clean install generate new html file in following location /var/lib/jenkins/workspace/Docs_LoadTest/target/jmeter/reports/DocsJmeterTests_20170601_151330/index.html Here "DocsJmeterTests_20170601_151330" will change for every run. So i am…
10
votes
3 answers

JMeter Plugins when Executing from Maven

Is it possible to use JMeter Plugins when executing JMeter from the jmeter-maven-plugin? UPDATE I've tried adding the jmeter-plugins dependency to the plugin definition as per Ardesco's helpful answer, but I get a myriad of ClassNotFoundExceptions.…
DeejUK
  • 12,891
  • 19
  • 89
  • 169
10
votes
4 answers

What maven plugin is to be used for JMeter? jmeter-maven-plugin or chronos-jmeter-maven-plugin?

I need to setup performance tests which are run automatically triggered by a CI system. For that I want to use JMeter due to some scripts and experience already exist and I want to combine it with Maven. During my research for a reasonable plugin I…
Rick-Rainer Ludwig
  • 2,371
  • 1
  • 26
  • 42
8
votes
3 answers

How to get the absolute folder location of a Jmeter .jmx project file from within itself?

I have a Jmeter project that is executed by Maven and is able to locate external Beanshell scripts by the path src/test/jmeter/external-scripts-dir/script1.bsh , but when I run Jmeter directly in the GUI on my computer the relative location doesn't…
djangofan
  • 28,471
  • 61
  • 196
  • 289
6
votes
2 answers

Performance Error in NonGUIDriver java.lang.IllegalArgumentException

I have maven project, with the help of which I am trying to execute a jmx file, running JMeter with (jmeter-maven-plugin). I have the following console output P E R F O R M A N C E T E S T S [INFO]…
max mazurkevych
  • 141
  • 1
  • 2
  • 5
6
votes
2 answers

How to have maven run just JMeter tests (no other life cycles)

We're using the maven-jmeter-plugin and I've setup a jmeter profile. When I run mvn -Pjmeter verify the various maven life cycles get run, but none of them need to. How can I run just the JMeter tests? jmeter
EGHM
  • 2,144
  • 23
  • 37
5
votes
1 answer

How to use jmeter 3.2 with jmeter-maven-plugin?

I'm using Apache JMeter for performance testing of my web application via com.lazerycode.jmeter:jmeter-maven-plugin. Since version 3.2 brings up lots of changes, I wondered if I could use this version in jmeter-maven-plugin (this is not part of the…
KnechtRootrecht
  • 493
  • 1
  • 4
  • 18
5
votes
2 answers

Set JMeter properties using Maven plugin

I am using the Maven plugin for JMeter (http://jmeter.lazerycode.com/). In my JMeter test plan I have defined various properties e.g. hostName, threadCount etc. If I were to use the standard JMeter program from the command line I would specify the…
Ayub Malik
  • 2,488
  • 6
  • 27
  • 42
4
votes
1 answer

Error "You must specify a valid lifecycle phase or a goal in the format" while executing jmeter test using Maven

POM file content am using to run jmeter file is given below but it is throwing error like "You must specify a valid lifecycle phase or a goal in the format" in command prompt.Please help on this
4
votes
1 answer

Apache JMeter with IntelliJ and jmeter-maven-plugin

I want to run a jmeter script using IntelliJ and Maven. Basicaly my goal is to run a jmeter script thru Jenkins. I did following steps: Downloaded Jmeter source code and extracted all files under C:\Jmeter\apache-jmeter-3.3 Created a script by…
garima
  • 111
  • 1
  • 15
4
votes
1 answer

Unable to install Ubik load pack using Maven

When I run mvn clean install I get this: [WARNING] The POM for com.ubikingenierie.ubikloadpack.gwt:ubik-jmeter-gwt-plugin-above2:jar:4.1.0 is missing, no dependency information available [WARNING] The POM for…
4
votes
1 answer

jars could not be resolved for apache jmter 2.13 with maven

I am trying to run jmeter script using java code. I already made one jmx. Iam using jmeter 2.13 when I tried to run the code it is showing me this error. Failed to execute goal on project JmeterJson: Could not resolve dependencies for project…
vihang shah
  • 588
  • 1
  • 10
  • 30
4
votes
1 answer

JMeter - saving results to both CSV and XML

What I try to achieve is to get JMeter results in 2 formats, for the same test execution. CSV is the one I'm mostly interested in, unless there are failures - then I may need to use data which can be saved only to XML. I can't use XML for most…
automatictester
  • 2,436
  • 1
  • 19
  • 34
4
votes
2 answers

How to get log from remote JMeter Node (jmeter-server)?

I'm very new to JMeter and I got a problem - I wasn't able to get jmeter log if I'm using JMeter with remote Node. I'm starting JMeter by Maven plugin, command looks like: jmeter -n -t my_settings.jmx -l my_result.jtl -r -R
XZen
  • 225
  • 5
  • 27
  • 49
1
2 3
16 17