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
1
vote
2 answers

Issue with JMeter variables

I am using JMeter for some load testing and I have written a postProcessor in Groovy to create an array of strings and place that into a variable from some request data. The issue I am having is I need to then pass that variable into a GraphQL input…
SheWolf
  • 95
  • 6
1
vote
2 answers

Jmeter 5.4.1 - Groovy script error 'No signature of method'

Newly back to using Jmeter after a 3 year break and pretty confused by this error. I have a JSR223 Preprocessor which is used for generating AWS signatures and it keeps generating errors of the following type: 021-10-20 13:47:40,101 ERROR…
Tufty
  • 475
  • 8
  • 24
1
vote
3 answers

Determine that 95% of all the requests took no longer than 1 second and automatically stop the test if they did

I want to run a stress test by continuously increasing load until the response times become unacceptable. The condition that I need to check against is that 95% of all the requests take no longer than 1 second. Can I determine this dynamically at…
JustNatural
  • 375
  • 7
  • 19
1
vote
0 answers

Getting error - "java.net.SocketTimeoutException: Read timed out" in JMeter

I am using JMeter 5.4.1, where I am using a HTTP request for Post API call. I am getting the error - "java.net.SocketTimeoutException: Read timed out". Keep-Alive is checked. Timeouts are also set to 60 Seconds. I am using single thread. What is the…
1
vote
2 answers

Receiving error - "org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected" inJMeter

I am using JMeter 5.4.1, where I am using a HTTP request for Post API call. I am getting the error - "org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected". Keep-Alive is checked. Timeouts are…
1
vote
2 answers

How to read concurrently in Jmeter?

I have a question about concurrent user in Jmeter. If i use setting like this, is that means in first sec 500 thread will hit concurrently? Then after the first hit, is the threads will repeatedly hit every minute?
Antoni
  • 39
  • 6
1
vote
1 answer

apache-jmeter-5.4.1 Server failed to start: java.rmi.server.ExportException: Listen failed on port 4000

In centos environment I setup a rmi_keystore.jks in master device and copy it to the bin of Jmeter worker machine too. In my master device's jmeter.properties file I only did below…
Sameera De Silva
  • 1,722
  • 1
  • 22
  • 41
1
vote
1 answer

How to remove square brackets of number in json array using json data extractor

My json response is { "message": "Lead created successfully", "id": "[667]", "input_data": null, "result": [], "statusCode": 200 } and I need only 667 to pass to an url as path param. I'm using $.id[0] using json data extractor , but…
1
vote
2 answers

How to ignore the test results during the ramp-up and ramp-down period

I would like to remove the test results during the ramp-up and ramp-down periods. This will help me to get test results during constant workloads. Also, it will remove outliers during the ramping time. The solution shall be integrated with the…
Janesh Kodikara
  • 1,670
  • 1
  • 12
  • 23
1
vote
1 answer

Jmeter loop count - StackOverflowError:null

I have the following test plan thread-group ( threads: "1", loops: "-1", ramp-up: "1" ) http request defaults (i.e url) csv data set config (containing 4 lines of input data) user defined variables (initialize variables e.g isLast=false) simple…
Grigoris
  • 149
  • 1
  • 10
1
vote
0 answers

Little Icons and Font Size is coming little small

JMeter icons and text is coming too small. Tried with 2 versions 5.4.1 & 5.2.1 as well. Text font size is smaller wants little bigger so that it can be readable easily.
Bal Kishan
  • 41
  • 1
  • 1
  • 3
1
vote
1 answer

Running multiple Jmeter independent jmx tests in parallel from Java Code

I have a Java code that executes one JMX file at a time , it also produces the results. Now , I would like to leverage the code to run multiple JMX files at the same time. Is there way I could run multiple JMX scripts (each script is different) in…
Kokki
  • 63
  • 1
  • 8
1
vote
2 answers

mqtt loading test with (Jmeter, mosquitto): Publish failed for connection HiveMQTTConnection

I am using Jmeter with MQTT JMeter Plugin to do loading test. Here is my use cas: Started 8000 users(threads) during 30 minutes Each user do one mqtt connect message Each user do 720 loops to publish a message with 5 seconds timer Here is my…
karlos
  • 807
  • 1
  • 8
  • 38
1
vote
1 answer

How to abort processing a sampler when a pre-processor execution is failed?

Is there a way to abort processing a sampler (HTTP Request) when any of the pre-processors execution is failed? Scenario: There is a JSR223 Pre-processor associated with an HTTP Request The JSON payload (request body) is created dynamically inside…
Janesh Kodikara
  • 1,670
  • 1
  • 12
  • 23
1
vote
2 answers

While generating dashboard report in Jmeter, Unnecessary filter is showing and therefor pass api list is not showing

When I try to generate the dashboard report,I am hitting 2 API, the list of pass API is not showing and the Unnecessary filter is showing
Rock
  • 161
  • 2
  • 6
  • 17