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

JMeter - OutOfMemoryError How to change heap size in Jmeter?

Recently I run the load test of 5k users for 30 minutes using concurrency thread group. When I want to read file in the Graph Report listener, this out of memory error prompted on the cmd: I tried to modify the heap size to 6GB in notepad++ (my…
2
votes
0 answers

Jmeter 5 set client tls certificate not work

I've struggled one day but without luck. Googling can find few but often outdated answers. My goal is using jmeter built in elements to send https request with client certificate. Think of some oauth server that validates the client certificate…
Lei Yang
  • 3,970
  • 6
  • 38
  • 59
2
votes
1 answer

JMeter thread groups not reaching specified transactions per second

I’m running into an issue in JMeter 5.4.1 where my thread groups aren’t reaching the specified transactions per second. I have two thread groups in a single JMeter test that run in parallel. Each thread group is making a single API call. The first…
Nicholas
  • 21
  • 1
2
votes
1 answer

Jmeter oracle connection issue

While connecting to oracle database from jmeter, i was receiving a connection error. Cannot create PoolableConnectionFactory (ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found ) And now I want to set the…
bbb
  • 149
  • 2
  • 18
2
votes
1 answer

Throttling Test Using Jmeter

I am learning Jmeter tool for load & perfomace testing and while testing a Geoserver rest api I am unable to set up configuration for throttling limit test . Lets have an example: I need to test throttling limit of Rest API can accept the request…
KunduK
  • 32,888
  • 5
  • 17
  • 41
2
votes
0 answers

Referencing multiple different "HTTP Request Defaults" config elements multiple times in JMeter

I'm building load test plans and am new to JMeter myself. Our system consists of 11 different microservices which all work as part of a application network. This means that there is a requirement for the test plans to repeatedly swap between…
srj737
  • 53
  • 4
2
votes
2 answers

JMeter's run finish before the duration defined

We are using the JMETER 5.2.1 tool from GUI, for our performance tests and this if my first time using it. I would like to simulate a 24 hours run of our service, when I have 30,000 agents registered and each one send 10 queries a day (300,000…
Roy Leibovitz
  • 579
  • 5
  • 16
2
votes
1 answer

Syntax to use parameters in Body section of HTTP Request Sampler in JMeter, using Rest API POST request with body and input from CSV file

I'm using JMeter to test a microservice and I need to use a parameter dynamically with a different value in each request. Also, the parameter is a part of a query that contains other constant values as well. I defined user variables in the JMeter…
Binyamin Regev
  • 914
  • 5
  • 19
  • 31
2
votes
1 answer

Results are not stored with a column names in CSV file after running the Jmeter test through a program (Java Code)

I have successfully run the Jmeter test using a program i.e written in java code. And I am sharing the link of that question's solution here as well => How to set CSV file in java code by running the Jmeter test using a program (Java Code)? Now, I…
user12434952
2
votes
1 answer

How to set CSV file in java code by running the Jmeter test using a program (Java Code)?

I have previously ask the question that how to log the results after running the jmeter test using a java program and then I have got this by myself so I am going to share the link of that question with answer for future references. So here is the…
user12434952
2
votes
2 answers

How can I save a result set after running the Jmeter Test using a program (JAVA CODE)?

I have run the Jmeter Script using Jmeter dependency in eclipse using Java code, fortunately, my script is running fine but now I'm unable to store the result for the same. Can anyone please tell me how can I achieve this ? please see the following…
user12434952
2
votes
2 answers

JMeter - Connect with MySql database without using JDBC Connection Configuration and Samplers

How to connect with My Sql database without using JDBC Connection Configuration and JDBC Samplers? I want to establish connection with My SQL database without using JDBC Connection Configuration and JDBC Samplers as I don't want to keep the database…
Nahor
  • 83
  • 1
  • 7
2
votes
2 answers

JMETER Beanshell Read File - Not working - Getting Error Command not found: newBufferedReader( java.io.FileReader )

Below is my complete code that I entered in Jmeter BeanShell Sampler. BufferedReader fileReader = newBufferedReader(new FileReader("F:/url.txt")); int counter = 1; content = fileReader.readLine(); while ((nextLine = fileReader.readLine()) !=…
Rafi Shiek
  • 53
  • 1
  • 5
2
votes
2 answers

How to close JDBC Connection in jmeter

I'm using JDBC connection configuration and JDBC request sampler to fetch test data from database for large set of data for my test requirement. My question is, if we connecting to database through connection configuration and JDBC sampler to fetch…
2
votes
3 answers

Use same parameter more than one request after fetching using JSON Extractor

Fetching data from one post response and reusing it for two other requests using JSON Extractor in Jmeter. After reusing the response param for the first request the second request can't reuse the response and shows the default value used in JSON…
bubka85
  • 59
  • 5
1 2
3
69 70