Questions tagged [jmeter-4.0]

Use this tag for questions specific to Apache Jmeter 4.0, released on 11 February 2018. Always specify the jmeter tag as this tag should end up being an alias for 3.2 version.

This release brings a lot of new features, functions and fixes bugs.

JMeter 4.0 now supports JAVA 9 (requires at least Java 8 or later to run)

You can read the New and Noteworthy section with some screenshots to illustrate improvements and full list of changes

Removed from this released:

Workbench has been dropped from UI, you can now use Non Test Elements as immediate children of Test Plan

Start time and End date of Thread Group have been removed, see Bug 61549

In distributed testing, mode Hold has been removed.

JMeter artifacts can be downloaded on Maven Central :

 <groupId>org.apache.jmeter</groupId>
 <artifactId>ApacheJMeter</artifactId>
 <version>4.0</version>
402 questions
2
votes
2 answers

How can I get the Ip address of server from which response is coming?

I'm a newbie to JMeter currently, I'm testing a Rest API, I need to record the server IP from which the response is coming. I'm able to test the API but not able to record the IP address. How can I achieve the same?
1
vote
1 answer

How to generate previous month first date in jmeter?

I used timeShift function (${__timeShift(yyyy-MM-01'T'00:00:00.000'Z',,-P1M,,)}) to generate the previous month first date but the jmeter was still print the current month's first date. I also tried ${__timeShift(yyyy-MM-01,,,-P1M)} and…
1
vote
1 answer

How to use Sequential Each Occurrence in JMeter

I have a body data for a request where I need to pass values from CSV, but for every iteration I need to pass 2 values from file because it is having 2 occurrences of same variable Bodydata How can we pass 2 values for every run in JMeter. I need…
Mikey8997
  • 7
  • 2
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
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

Webdriver Sampler is not working in Windows10

I am trying to set up the webdriver sampler in Jmeter for Chrome. I have downloaded the chromedriver as per my chrome version and specified the path in Chromedriver config. While executing test I am getting Browser has not been configured. Please…
1
vote
2 answers

Jmeter is adding an extra space at the end of input parameter

When I try to add input param in a non-GUI mode in JMeter, it adding an extra space at the end of the variable. There is no space when I enter the params but it is added to the API value when run.
1
vote
2 answers

Reuse the HTTP Header Manager in every call

How to reuse the HTTP Header Manager in every call? I have structed like this but i want to reuse to i don't have to change the values in all if i need to. I tried to use module controller method but it seems like i cant create a module controller…
Poonam
  • 166
  • 2
  • 14
1
vote
1 answer

JMeter Script Recording - NTLM Windows Authentication Fails - 401 Error

A JMeter script for an application needs to be recorded which has Windows Integrated authentication enabled and deployed on IIS. I am working behind VPN and having a hard time getting the script ready(using JMeter 5.3, Java – 1.8), a Sign In…
fortanu82
  • 351
  • 1
  • 9
  • 19
1
vote
1 answer

if controller not working when I use ${status} == true

I am having a hard time having jemeter working with my if condition As you see the above I am checking is status variable which I created in earlier car is true and it is true so I expect this if gets executed but it does not. However as soon as I…
Learner
  • 1,686
  • 4
  • 19
  • 38
1
vote
2 answers

Unable to get data from 2 CSF file in Jmeter

I am not getting data from CSV files. I create 2 different HTTP requests and made 2 different CSV files and now from 1 CSV I want to get data for 1 HTTP request and from 2 CSV file I want to get data for 2 HTTP request but currently from 1 CSV file…
abhi shah
  • 21
  • 2
1
vote
1 answer

Retry connection with JMeter servers (generators) in JMeter Distributed setup

I've a distributed JMeter setup with 1 client (controller) and 2 servers (generators). Now while a test is executing on the setup if a generator crashes in between, the controller gets hanged even after the test duration ends. Is there a way to…
Madhuri Jain
  • 77
  • 1
  • 11
1
vote
2 answers

Distributed load testing jmeter

What is the best way to manage multiple slaves(for eg:50 slaves) and run a load test? When using distributed testing for jmeter, we need to manually handle all the agent start and stop, copy the files into each slave etc. Any suggestions to automate…