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

Why do I get a NoClassDefFound error when I try to save my test plan?

I installed apache-jmeter-5.1.1 and java 1.8.0_221 (8), and was walking through the getting started guide to build a web test plan in the GUI. But when I click save to save the Test Plan I receive the below error: Uncaught Exception…
Andrew
  • 18,680
  • 13
  • 103
  • 118
8
votes
2 answers

Jmeter-5.0 : Are RPS (Request per second) and TPS (Transaction per sec) same?

What is the difference between RPS and TPS in Jmeter? I want to run Jmeter script for 5 minutes ramp up time for each target TPS: 10, 20 and 30. Is it same of RPS?
testing User
  • 81
  • 1
  • 3
8
votes
2 answers

How to fix 'WARNING: package sun.awt.X11 not in java.desktop' in jmeter while executing in Non Gui mode in Mac terminal?

I'm trying to run my test through non gui mode. But it throws the warning in my Mac terminal.
Rajesh G
  • 473
  • 3
  • 6
  • 20
6
votes
1 answer

JMeter - Change Font Colour

Cannot believe I need to ask a question regarding this, but I cannot find anything on Google. Everything related I find is basically only regarding the font SIZE OR the THEME. While changing to the Darklaf - Dracula theme is great, reading the code…
Eitel Dagnin
  • 959
  • 4
  • 24
  • 61
6
votes
1 answer

Difference between 'Start' and 'Start no pauses' option in JMeter

When should I execute my test using "Start" or "Start no pauses" option/button? What is the advantage of "Start" over "Start no pauses" or vice-versa ?
Pritam Maske
  • 2,670
  • 2
  • 22
  • 29
5
votes
3 answers

ApacheJMeterTemporaryRootCA.crt not found in BIN folder

I have not been able to see the ApacheJMeterTemporaryRootCA.crt file in the bin folder. I am running jmeter 5.2.1. I need to sort this so I can be able to add certificated to my API calls to the server. Please any help or pointing me to the right…
Dara Juls
  • 49
  • 1
  • 4
5
votes
2 answers

How to calculate sha256 hash in Groovy 2.4

I'm trying to calculate a sha256 hash in Groovy version 2.4.16. This is part of a jmeter test and that is the version of Groovy it supports, and I don't think I can change that. I'm aware that in Groovy 2.5 you can use code like this: def challenge…
ssmith
  • 8,092
  • 6
  • 52
  • 93
4
votes
2 answers

Does JMeter works on OpenJDK 13?

I've did web search jmeter and openjdk 13 and found only that relevant post: Is JMeter is going to be paid as Oracle decides for Java post 1.8v?: JMeter needs Java >=8 (Java 9 and 10 are intermediate and not advised). On Apache JMeter page last…
Alex Martian
  • 3,423
  • 7
  • 36
  • 71
4
votes
4 answers

Jmeter Illegal character found in host: '/' ISSUE

I tried to install Jmeter on my colleague computer when I executed http request.He has been showing this error, but I found that there is no such error in my computer. I wonder if anyone has encountered a similar…
蘇家郁
  • 41
  • 1
  • 1
  • 3
4
votes
3 answers

Java 12 JMeter 5 HTTP/2 request java.lang.NoClassDefFoundError: org/eclipse/jetty/alpn/client/ALPNClientConnectionFactory

I am using Java 12, JMeter 5.1.1 on Ubuntu 9.0.4 and bumps into the following exception when trying to send HTTP/2 request: Response code: Non HTTP response code: java.util.concurrent.ExecutionException Response message: Non HTTP response message:…
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85
4
votes
2 answers

JMeter recording issues with Chrome

I'am facing recording issues in JMeter version 5.0 while using it with Chrome browser - Version 72.0.3626.96 (Official Build) (64-bit). I have installed JMeter Root CA certificate in my local drive, Also imported that certificate in chrome browser.…
Prakash R
  • 119
  • 2
  • 14
4
votes
3 answers

Test Action Sampler in JMeter 5.0

I have a requirement in JMeter (version 5.0), I have multiple thread groups in my Test Plan. 2nd Thread Group should start execution only after few seconds of, 1st Thread Group get started. And same like remaining thread groups. Here I couldn't see…
Prakash R
  • 119
  • 2
  • 14
3
votes
2 answers

Getting "Uncaught Exception BUG! exception in phase 'semantic analysis'" errors when jmeter runs in NON-GUI mode

I am able to run the jmeter in GUI mode by using command like "jmeter -t my-test.jmx". However, when I add the "-n" (NON-GUI mode) using "jmeter -n -t my-test.jmx", I am getting the following error. I am running it on Mac Big Sur, updated to most…
Wally Liu
  • 85
  • 7
3
votes
2 answers

White Blank Screen on Launching JMeter using Jar File on Windows

I was getting a blank white screen when tried to launch jmeter version 5.4.1 using Jar File. Screenshot if I try to run it with CMD sh sh jmeter.sh I get this error: "sh" is not recognized as an internal or external command, executable program or…
3
votes
1 answer

How to send 36000 requests within 5 minutes at an RPS of 120 requests using Jmeter?

I am using Jmeter for load testing and I'm new to this. I have an API where I want to send around 36000 requests in a given time, which is- 5 minutes. What should be the configuration of threads, ramp-up time, loop-count, and constant throughput…
john mich
  • 2,477
  • 3
  • 17
  • 32
1
2 3
69 70