Questions tagged [jmeter-5.0]

Use this tag for questions specific to Apache Jmeter 5.0 (r1840935), released on 19 September 2018. Always specify also the jmeter tag

This release brings a lot of new features and improvements, and also fixes bugs:

  • JMeter 5.0 is tested on Java 8 to 10, Java 11 should also work.

  • Rest support has been improved

  • In distributed testing, JMeter now automatically prefixes thread names with engine host and port
  • XPath 2.0 is supported in a new element called XPath2 extractor
  • Search feature has been improved to allow you to iterate in the tree over search results and do necessary replacements through Next/Previous/Replace/Replace/Find buttons
  • You can now restart JMeter from menu File → Restart
  • A new Graph Total Transactions per second has been added to the HTML Web Report
  • A New function __threadGroupName has been introduced to obtain ThreadGroup name

JMeter artifacts can be downloaded on Maven Central :

   <groupId>org.apache.jmeter</groupId>
   <artifactId>ApacheJMeter</artifactId>
   <version>5.0</version>
1037 questions
2
votes
1 answer

The request success in slave but the response body is empty in host

Steps: 1. Configure the jmeter host and slave via the document 2. Run jmeter in distributed mode 3. Check the result in view result tree Result: 1. The request shows success but when response body is empty in View Result Tree 2. at the slave I…
2
votes
2 answers

Set the whole request url in jmeter

I have a request, which gives upload url as response body. { "uploadUrl": "https://test.com:9000/sample_uploadurl" } I'm able to extract the uploadUrl using JSON extractor. I want to use above upload url to in next http request. How to set the…
ajayramesh
  • 3,576
  • 8
  • 50
  • 75
2
votes
1 answer

How to display actual loop count in JMeter

We can display the actual thread by: ${__threadNum} Is there something similar for the actual loop count?
degath
  • 1,530
  • 4
  • 31
  • 60
2
votes
3 answers

Using time function in Summary Report listener filename

In JMeter (5.1.1) I have a summary report that I'm trying to save as a timestamped file. The filename value looks like the following: D:\Load Tests\example.com\Results\${__time(yyyy-MM-dd-HH-mm-ss,)}_summary.csv However, rather than create the file…
Dan Atkinson
  • 11,391
  • 14
  • 81
  • 114
2
votes
1 answer

JMeter - Velocity JSR223 script can't use JMeter variables/environment

I'm able to load Velocity as language to JSR223 in JMeter 4/5, I added velocity-engine-core-2.0.jar and velocity-engine-scripting-2.0.jar which include velocity in JSR223 languages list, (Tried also with latest velocity 2.1 versions) The problem…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
2
votes
2 answers

HTTP Request Include Equals checkbox can't be unchecked

When defining HTTP Request, there's a checkbox for each parameter: Include Equals This checkbox can't be unchecked even when choosing different method or parameter. I don't see any reference in HTTP Request for using it. Why is this checkbox shown?…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
2
votes
1 answer

JMeter Master Very Slow to Finish (3 minute hold, followed by 5 minutes of ???)

I'm encountering some weird behavior at the end of my jmeter tests. I'm using Master-Slave with 4 slaves running on 4 separate VMs hosted on another box. The test runs fine for the "Hold" period, 3 minutes for this test. But then it just sits there…
John Westlund
  • 336
  • 1
  • 10
2
votes
1 answer

How to run jmeter in non GUI mode with client cert file

Currently running jmeter in GUI mode with importing client cert file thru option-SSL Manager this works fine without any issue. But How do i run jmeter in non GUI mode with Client cert file? Note - If client cert file is not imported in jmeter…
Sadanand
  • 21
  • 1
  • 2
2
votes
1 answer

Trim and split JSON response body using JMeter

I am trying to test REST APIs using JMeter. My lead told me to do load testing on each API using JMeter. Currently I am testing a Get API request, and I am getting the below JSON response…
2
votes
2 answers

Can I open Microsoft EDGE through JMeter?

I want to open EDGE browser through JMeter. All other browsers have specific config element present within JMeter. But Edge does not have any & I want to use the edge browser.
2
votes
1 answer

How to authorise (with OAuth 2.0) in JMeter having sharepoint online app?

I have recorded scripts for all test cases, and run all test cases due to the OAuth 2.0 it is failing all of the test cases. Now I have to authenticate OAuth 2.0 in JMeter, I have following information: client_id, response_mode, protectedtokena,…
2
votes
1 answer

How to fix issue "Error code: SEC_ERROR_UNKNOWN_ISSUER" with JMeter and Firefox

I have installed the JMeter and Firefox. when I'm recording the script it is throwing an Error code: SEC_ERROR_UNKNOWN_ISSUER and I have installed the certificate in both Firefox as well as in the system I"m using windows Machine and working on…
surender pal
  • 447
  • 6
  • 15
2
votes
0 answers

Run jQuery.jcryption.js in JMeter to encrypt username and password

I am new to JMeter. My password is encrypted in Client side using jQuery.jcryption library. I get my secret key from server side and in client side using the key used to encrypt username and password. Then encrypted User Name and password is…
2
votes
1 answer

How to extract multiple (random) values from the same json node

I'm trying to capture multiple values from a JSON Response I get but seem to be unable to get them from the same random node. I've tried to place multiple variables in the same extractor using ";" and this works but it goes through the nodes…
Dirk R.
  • 171
  • 1
  • 13
2
votes
1 answer

Not able to run JMeter 5.0 through java exec command in console mode

I am not able to run JMeter through Java exec command in console mode whereas it is working fine on Version 3.1. Refer below command i am using. Process pro = null;   pro = Runtime.getRuntime().exec("jmeter.bat -n -t test.jmx");
user1726460
  • 107
  • 3
  • 10