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
1 answer

Recommended Java Heap Size for Commercial JMeter Project

Depending on the nature of the automated workflow and the number of active threads at any given time the Heap size requirement for JMeter can vary and in the testing I am doing there is some ambiguity with respect to the affect of Heap size on the…
1
vote
1 answer

Extracting JSON and using it in if condition

I need to add a condition in my thread where my next HTTP Request will execute only if the previous response has message message that says 'You can proceed with the booking.' first response I tried adding regular expression extractor to get…
tibzbit
  • 13
  • 3
1
vote
1 answer

Jmeter run all thread groups after one thread group(token generation) exection

I am (new to) doing API performance testing in Jmeter, and I have a Token Generation thread group that needs to be ran before all other thread groups(A,B,C). However I also want A B and C thread groups to be ran simultaneously. So how I want it to…
anon owl
  • 13
  • 3
1
vote
2 answers

Important - Jmeter -UI endpoint - response time deferring from developer tool response time

For performance testing testing Jmeter UI - endpoint - response time deferring from developer tool loading time Ex Jmeter - endpoint response time is 615 Ms where in developer tool shows (Load: 13.30 s) Finish: 18.98 s Note : Jmeter capturing 35…
1
vote
1 answer

How to get the load test report for different user load patterns in the step up load test scenario in JMeter?

Load Test Scenario Please find the attached Load test scenario for reference. I am starting the load test with 50 users and it will run for 30 minutes, After 30 minutes I will add another 50 users and it will run for another 30 minutes and then I…
1
vote
2 answers

Need help in extracting values from Json for Jmeter

My Json is like below, I want to extract json for all the "code" values and put them with comma separated. **I have almost 250 code values and want them like this RFI027,RFI037,RFI407,RFI055,RFI457,RFI677,RFI068,RFI086 { "totalDocs":202, …
Peter
  • 855
  • 2
  • 15
  • 35
1
vote
1 answer

Getting issue while comparing one property to another in JMeter

In my JMeter test plan, I want to set a flag in case of failure in every HTTP request. So I created a JSR223 PostProcessor in request with the following snippet: if (!prev.isSuccessful()) { int abc = 1 props.put('result', vars.get('abc')) …
Sandipan
  • 11
  • 1
1
vote
1 answer

Is there any way to collect failure request(payload) + response data in Jmeter when I execute from command line execution?

As we are execution our load test from Command line arguments, is there any way to save failed request payload + response data? I have implemented Simple Data Writer but it doesn't display failed requests payload in generated file also if I check…
1
vote
2 answers

Unable to send the value extracted from Json extractor as a body parameter for another http request in different thread in jmeter

I am trying to fetch a value from a json response using Json extractor and use that value as a body parameter for the next http request which is in another thread group. I am able to fetch the value in debug sampler but when i use the solutions…
1
vote
1 answer

Jmeter- execution issue-[org.apache.httpHostConnectException: Connect to ... failed Connection refused: connect]

Im trying to execute a scenario in jmeter. While I test from my local system I'm not getting any errors (tested for 1000 users). However, when I execute through a remote desktop connection from my client's network Im getting error even for 2…
Chinnu
  • 19
  • 3
1
vote
1 answer

JMeter - Capture Data from Two CSV Files

I have 2 csv files File 1: Name Start_Time eml-alertservice 19:42:12 eml-redis 19:42:12 eml-fluentd 19:42:12 eml-kube-prometheus-stack 19:42:13 mwl-query-service …
Ajith R
  • 25
  • 4
1
vote
1 answer

Bad Encoding or Strange Characters in Jmeter HTTP Request POST Option

I have been trying to record session and I got some "bizarre" characters in the POST Option in the HTTP Request component. I need some MAGIC Advice with this(picture). Stranges Characters Appear in the POST Option in the HTTP Request…
1
vote
1 answer

Strange labels with suffix -0, -1 in jmeter results

We recently updated apache jmeter from v4.0 to the latest v5.4.3. The tests are running fine, but we have strange results. The requests appear with 3 different labels (without suffix or -0 / -1 appended). timeStamp, label, responseCode,…
ppasler
  • 3,579
  • 5
  • 31
  • 51
1
vote
1 answer

Unable to capture Client transaction ID in Jmeter

I am currently working in a insurance creation application. I have been facing a challenge in Capturing the Transaction ID. Below is a recording for example, Sample Start:2022-01-05 19:42:39…
1
vote
0 answers

How to search the inbox based on the subject and filter the message

With javamail how can I search the gmail based on the "Subject" and filter the message based on "Has the words"? Gmail provides this option in the search email option. How can I implement this in the JMeter JSR223 Sampler? In this case the search…
RJM
  • 271
  • 1
  • 5
  • 32