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

JMeter: javax.net.ssl.SSLException when running 'many' threads

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect 1600278792845,6688,Category page,Non HTTP response code:…
Agent Shoulder
  • 586
  • 8
  • 22
3
votes
2 answers

Jmeter how to send a constant number of requests every second

Does JMeter allow me to send a constant number of requests every second, instead of sequentially only when the request has finished? i.e. can I send request 2 after request 1 even if the request 1 is not done responding yet? I am using Apache JMeter…
tsar2512
  • 2,826
  • 3
  • 33
  • 61
3
votes
1 answer

Is it mandatory to check "Retrieve All Embedded Resources" in HTTP Request Defaults for performance testing?

During performance testing "Retrieve All Embedded Resources" should be checked or unchecked? My analysis: "Retrieve All Embedded Resources" should not be checked. And cache also should not be cleared automatically. Note: a. "Retrieve All Embedded…
Vimal
  • 35
  • 1
  • 4
3
votes
2 answers

Please explain objective of Flow Control Action Sampler in 5.0 version

objective of Flow Control Action Sampler in JMeter. what we can achieve with this Sampler during load test?
Bal Kishan
  • 41
  • 1
  • 1
  • 3
3
votes
3 answers

Handle negative cases in JMETER, for example my expected output response is 400

How to handle negative cases in JMETER, for example my expected output response is 400("There are no records") for an GET API? In JMETER response is coming as failure or warning. Is JMeter only handle positive scenarios like for all GET API response…
3
votes
1 answer

Number of execution samples

i am running a simple test with 10 users for 5 mins. my test has a single thread and different transactions within it. By the end of the test, there is a different number of samples for each transaction. Is there a way or a setting so that we don't…
Seirra
  • 49
  • 7
3
votes
1 answer

Could not open jmx file while running JMeter command line

I have run a thread group in JMeter in GUI mode it is working and getting results, but while running same ThreadGroup.jmx file through terminal(Non GUI] mode,I am getting an error Couldn't load .jmx file. Can anybody suggest me how to resolve the…
Kumar
  • 31
  • 4
3
votes
2 answers

Jmeter - creating https post request with request payload and query string parameters

I am new to jmeter. I have been experimenting on creating a jmeter script manually by inspecting the network log from chrome developer tools rather than directly recording the HTTPS script recorder due to certain restrictions. I have encountered a…
Arun
  • 33
  • 1
  • 4
3
votes
1 answer

Jmeter - How to fix - Non HTTP response code: java.net.NoRouteToHostException... (Address not available)

I am performing a JMeter test and I am receiving the following error in my HTML report & CSV. Non HTTP response code: java.net.NoRouteToHostException/Non HTTP response message: Can't assign requested address (Address not available) Note 1: I am…
Prasath
  • 73
  • 1
  • 8
3
votes
1 answer

Start Time and End Time removed from Scheduler in JMeter 5.0

I've been using JMeter 3.1 forever, but recently I've upgraded to 5.0. Did they remove the Start Time and End Time from the scheduler in the Thread Groups? If so, is there another way to set them via the GUI?
3
votes
2 answers

HTTP2 Request doesn't follow redirects in JMeter 5.0

I'm using the HTTP2 plugin for JMeter from Blazemeter and I'm unable to make the HTTP2 request follow the redirects. I tried checking the "Follow Redirects" box and "Synchronized Request" and it doesn't work. I get the Response code: 301 & Response…
Nabres BR
  • 78
  • 9
3
votes
1 answer

Jmeter, Name and value pairs are dynamic in jmeter

I have situation where name and value pair are dynamic, I did two correlations for name and Value separately. I have used foreach controller and gave input-value as reference name of "Value" regularexpression. which is executing the loop correctly…
2
votes
1 answer

Non text response data received in Jmeter sampler response

When I running Jmeter in non gui mode Im getting response error in Jmeter Im using below mentioned settings in the simple data writer in the script I want to know whether server under test has thrown this Non-text response data error or error is…
2
votes
1 answer

Jmeter - Unauthorized error in a direction

I have recorded a flow of a web app, which (I think) do login throught the Windws user. The first request is :authority: XXX.XXXXX.es :method: GET :path: / :scheme: https accept:…
user123043
  • 121
  • 5
2
votes
2 answers

org.codehaus.groovy.GroovyBugError: BUG! exception in phase 'semantic analysis' ... Unsupported class file major version 61

The script was running before but after I left it for a while(a month) this error has been popping up. org.codehaus.groovy.GroovyBugError: BUG! exception in phase 'semantic analysis' in source unit 'Script4.groovy' Unsupported class file major…
maxim
  • 23
  • 1
  • 5
1
2
3
69 70