Questions tagged [jmeter-maven-plugin]
JMeter Maven plugin to automate Apache JMeter tests in Maven.
246
questions
0
votes
1
answer
35
views
Unkown lifecycle error in Maven when attempt to run Jmeter tests
Hello i have been trying to run my jmeter script in maven and i keep getting this unknown lifecycle error, even though my POM.xml file seems to be correct.
Can someone please help me out and let me ...
0
votes
1
answer
28
views
Jmeter jmx scripts when executed via maven keeps in running in a loop
When i try to run the jmx (find attached) in jmeter - it runs for one thread but the same jmx when run via maven with jmeter-maven-plugin keeps running in a loop. I have not used any method for now ...
0
votes
1
answer
28
views
Problem in writing output file in jmeter maven project
I'm using beanshell postprocessor to write a file in my jmeter script,when I run this script as a maven project the file is being written into the
target folder. I want it to be written inside the src/...
0
votes
0
answers
27
views
Error when trying to execute mvn verify - Failed to execute goal com.lazerycode.jmeter:jmeter-analysis-maven-plugin:1.0.6:analyze
I am trying to execute integration tests using jmeter-maven-plugin, via mvn clean verify but getting an error even though all tests pass successfully -
Failed to execute goal com.lazerycode.jmeter:...
0
votes
1
answer
27
views
Jmeter - Incorrect Response due to query parameters encoding
In Jmeter I created a simple GET request having query params as below
https://xxxx.com/salsvc/api/Compensation?employeeId=TestEmp1
But in listener response I get No Item found
Whereas if I run the ...
0
votes
1
answer
65
views
How to run 2 TPS load with multiple https request randomly on a single thread group?
I have to run 2 TPS load with multiple request on a single Threadgroup, Below are my settings :
One Tread group named A
7 https request under A
How i can achieve 2TPS load ?
What will be the Ramp-up ...
0
votes
1
answer
35
views
How to prevent the unexpected delays that occur in Jmeter, when multiple thread groups are executed at a time or even when executed consecutively
For performing a 1Hr Soak Test, I have two thread groups, First thread group to execute GET token and the next thread group to VALIDATE the access token which is generated in the previous thread group'...
0
votes
2
answers
51
views
tag-jmeter-extn Properties file reader on Pom file as dependencies
i'm using the tag-jmeter-extn-1.1 tha tis the Properties file reader plugin.
how i can add it on the section dependencies of pom file ?
<dependencies>
<dependency>
<...
0
votes
2
answers
34
views
jMeter System Properties from Pom File
I have to pom file as below to set a 4 JMeter system properties
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
...
-1
votes
1
answer
50
views
Azure Pipelines load test
500/javax.script.ScriptException: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.id: i0116 (tried for 8 second(s) with 500 milliseconds ...
0
votes
2
answers
43
views
JMeter fails to create new threads because of OutOfMemoryError when testing with 10k+ users
My test makes one POST request then makes N PUT requests where N is the number of users. I also save the responses inside target
When testing with 10,000+ users JMeter fails with:
Uncaught Exception ...
0
votes
1
answer
721
views
Selenium with Jmeter on chrome driver is not running
I'm working on Jmeter with selenium but whenever I try to run jmeter with selenium on chrome browser, the browser opens up and closes immediately. On the log of Jmeter I found this error, I have ...
0
votes
1
answer
96
views
How to read the rows from csv file based on the column value in jmeter
What I'm trying to do: I have a csv file and it has around 1k rows, for each thread I need to read the CSV file rows based on the column value to populate the database. The csv file contains "...
0
votes
1
answer
89
views
Jmeter Test abruptly terminates
My jmeter tests abruptly terminated and the timings were random. It’s exactly same as below issue. We have checked all the throughput shaping timer durations and they are fine. Can someone suggest me ...
0
votes
1
answer
45
views
Change Sample Result Save Configuration for Sumary Report with jmeter maven
I have a JMX project with a "Sample Result Save Configuration" for "Sumary Report" as reported in the attached picture. And that JMX project is executed with Jmeter Maven plugin.
...
0
votes
1
answer
69
views
How to configure filter settings for jp@gc - Synthesis Report in pom.xml
I have imported the "jp@gc - Synthesis Report" plugin in a project jmeter built with maven , but I would set parameters to filter the summary report.
For example I would filter only the ...
1
vote
1
answer
741
views
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 ...
0
votes
1
answer
102
views
Extract Client_secret id from azure key vault URL and pass it as a variable in JMeter
How to get or extract client secret id from Azure key vault URL in JMeter . Suppose key vault url is
https://vcloud02vault.vault.azure.net/secrets/RootSecret
I tried to hit the URL through JMeter and ...
0
votes
1
answer
486
views
how to get all data from csv into jmeter?
I have a table on the page with maximum of 20 rows and also I created a CSV file with 20 rows in it.
Current Scenario : Jmeter is picking only one row for one user from csv file.
Required: I need ...
0
votes
1
answer
180
views
JMeter Beanshell problem with imports at top of script: Error invoking bsh method: eval
I am getting a error in a Beanshell Postprocessor, after a HTTP Request returning a JSON array :
My JMeter is launched using mvn jmeter:configure jmeter:gui using Maven plugin configured like so:
&...
0
votes
1
answer
28
views
Class or variable not found: INF.classes.com.rbs.ccr.saturn.eventbridge.constants.EventBridgeConstants
My class path looks like below in jar and trying to load class in JMeter BeanShell Sampler and my java version is Java8 but getting error
C:\Jars\saturn-event-bridge-1.1.2-SNAPSHOT.jar\BOOT-INF\...
-1
votes
1
answer
99
views
How do we handle Microsoft Azure mobile OTP in Jmeter?
I tried to record an application which uses Microsoft Azure Totp. I couldn't handle otp. Please help.
Unable to disable toptp
0
votes
1
answer
335
views
How I extract the x-csrf-token in request header and pass to post https request in jmeter?
I can't extract the x-csrf-token and pass . I got error like csrf token expired [![enter image description here]
Anyone give some exact ans and support.
0
votes
1
answer
383
views
Upload a file to azure blob storage through JMeter using Azure SDK for Java
How can I upload a file to Azure Blob Storage through JMeter using JAVA programmatically?
0
votes
1
answer
147
views
JMeter | Text to QR Code and back to text
I have an API that generates Base64 text that can be converted to a QR code. Using https://base64.guru/converter/decode/image (or any other similar tool).
Once it is generated we are getting a QR ...
0
votes
1
answer
2k
views
Jmeter check using if controller, for a variable has a value or not
in one of my steps in the Jmeter script, I'm using json extractor to read a value from a key(address) in the JSON response and store it in a variable called "TypeOfRequest." In the next step,...
0
votes
1
answer
20
views
JMeter (pararell run threads)
I need to run my script. example:
Here 10 threads, which running it alternately. He is creating create open connection, open connection, open conncetion... and also seven times, after read,read,read.....
0
votes
1
answer
42
views
JMeter (Ramp-up Period)
I need 5 times per second send (open, read, write).
I have question. I need to make:
Number of Thread User - 5
Ramp-up period (seconds) - 0.5 or 0,5 or something else?
I made this one, its right?:
...
0
votes
1
answer
319
views
JMeter (An established connection was aborted by the software in your host machine)
I am testing JMeter on my site, I use debug and catch exception which close my socket, I don't understand the reason for that
error: Response code:Websocket I/O error
Response message:WebSocket I/O ...
0
votes
1
answer
22
views
JMeter Scenario Creation
I have a Payload where I need to run for one hour with Spike in between. After starting the test, first 20 mins threads need to be in idle state and then One minute spike with some 50 tps and again 10 ...
1
vote
1
answer
384
views
How to specify the groovy file in a JMeter JSR223 preprocessor under jmeter-maven-plugin?
I have several JMeter jmx files. They each have an initial script written in groovy and I specify that using a JSR223 PreProcessor giving the file name as src/test/jmeter/LoadScript.groovy. There are ...
0
votes
1
answer
1k
views
Create JMeter JSR223 Sampler programmatically using Java code
I have filecopy code in java. I need to know the process to set the "script" property of jsr223 sampler.
Please look at the following codes and let me know if anything wrong.
FileCopy Code :-...
0
votes
2
answers
274
views
How to fix response issue in jmeter
After adding some data from csv file getting 415 status code in jmeter response. I am getting success in postman for same payload which is present in jmeter sample request header. But in jmeter it's ...
-1
votes
1
answer
201
views
How to use Throughput Shaping Timer from JMETER API using Java code?
enter image description here
1: https://i.stack.imgur.com/sRx3n.jpg**strong text**##
I am trying to write the Java program to get the input something like this for multiple rows and process it by ...
0
votes
1
answer
849
views
In Jmeter, Summary Report: Maximum Response Time and jp@gc-Response Codes Per Second total time taken Are they same?
In Summary Report Maximum Response Time was 538ms which means all the execution was done and its maximum response time was 538ms.
But in jp@gc-Response Codes Per Second we can see that total time of ...
0
votes
1
answer
131
views
Jmeter not navigating to next controller
I am doing a performance testing in Jmeter I have added the controller and request, but my problem is when I run the script the requests are not automatically/manually navigating to the next ...
1
vote
1
answer
991
views
add external libraries jar to jmeter-maven-plugin
Hello I'm using this https://github.com/jmeter-maven-plugin/jmeter-maven-plugin currently which the sample project works fine with a simple jmeter test.
However, I was wondering how does jars get ...
2
votes
2
answers
349
views
JMeter maven plugin - Customize reportgenerator.properties
When I'm using the JMeter Maven plugin, and running mvn jmeter:configure it automatically creates a default bin/reportgenerator.properties file.
How can I customize this file? Is there a way to ...
0
votes
1
answer
346
views
JMeter Maven Distributed - Immediate Shutdown with 0 Results
I am developing a JMeter dynamic master-slaves Performance Environment with the help of Azure Kubernetes, Jenkins, Helm, JMeter Java Plugin V3.0.0, JMeter version 5.2.1 . Jnlp, Maven and Helm are ...
1
vote
1
answer
93
views
JMeter Java HEAP issue seen after finished test plan execution in Jmeter-maven-plugin
JMeter Test seems to finish fine.
But the next output after "14:48:37 [info] Completed Test: FssBenchmark.jmx" is missing because of the heap issue.
Next lines should normally be,
[INFO] ...
0
votes
2
answers
261
views
Jmeter with Maven - additional data is not getting saved in csv result file
My pom.xml looks like this:
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin&...
0
votes
1
answer
165
views
Getting HTML report of previous execution even though current csv source file have different data
I am using Jmeter with Maven plugin and generating html report for the same after execution, have addded .jmx files in src/test/jmeter folder and kept csv in different one for reading params.
This is ...
0
votes
1
answer
358
views
Creating parser with percentiles:'0,50,90,100,' filterRegex:null Cannot detect file type because of error: Failed to copy jmeter-newtest.csv
Build is failing in execute jmeter stage, I'm attaching both error and jmeter build stage below
could some hlep me in this
Jenkins pipelnie :
stage('Execute Jmeter') {
when {
...
0
votes
1
answer
388
views
How to make the performance trend visible/available with jenkins pipeline on Jenkins when using jmeter-maven-plugin for running the jmeter tests?
I'm trying to create add build step in jenkins pipeline to make performace reports visible and below is the code snippet
But my problem is that the file name the plugin generates is not fixed (...
0
votes
1
answer
652
views
JMeter Maven Plugin - How to provide external Properties file while running JUnit Performance Tests
I want to run JUnit tests for the performance testing using JMeter Maven Plugin.
During the JUnit tests run, I use one external properties file located inside <project>/src/resources/env....
0
votes
1
answer
256
views
JMeter Maven Plugin not able to detect JUnit Tests from the fat Snapshot Jar created
I want to run JUnit tests for the performance testing using JMeter Maven Plugin. I am creating my project snapshot jar in the target folder. This snapshot jar has test classes and external jars ...
1
vote
1
answer
222
views
JMeter - I want to log/display error responses only in CLI mode
I could see that in GUI mode there is an option to log/Display only errors in View Results tree listener.
Please refer to the image here.
How can i do the same thing on CLI mode, I want lo log/display ...
0
votes
1
answer
549
views
How to override arguments via jmeter-maven-plugin?
I have the following configuration for jmeter maven plugin:
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-...
-1
votes
2
answers
299
views
API functional testing using robot and jmeter
I am planning to automate REST API functional testing using jmeter and robot framework but unable to find any documentation for the same.If you guys have implemnted the same in any of your project can ...
1
vote
1
answer
130
views
Is it possible to generate multiple HTML reports with different configuration after the same execution? jmeter-maven-plugin
I'm using jmeter's maven plugin and I would like to generate two different HTML reports from the same execution log. Is it even possible to do this using this plugin?
This is my pom.xml and I'm not ...