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
0
votes
0 answers

Send http request in JMeter without escaping characters

I am sending the following data using a HTTP request: { "id": "a", "jsonrpc": "2.0", "method": "addJsonEvent", "params": { "common_fields": { "source_hwid": "${HWID}", "api_key": "${custid}" }, "data": ["{…
Catalin B
  • 59
  • 7
0
votes
1 answer

Lock File Config masking not working

I'm using JMeter 4.0 with latest Lock File Config plugin on windows 7, It's working with file name, but the option Also check filemask is not working You can also specify a filename with wildcards to check for existing lock files Error in…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
0
votes
1 answer

Perfmon sample collection with JMeter Java API

Is it possible to use the Perfmon (jmeter-plugins-perfmon) to collect server performance using the JMeter Java API? I know how to collect the basic summary results using this approach but I couldn't find anything related to server performance…
Ras
  • 3
  • 2
0
votes
1 answer

DO jmeter 4.0 supports for http 2 load test

Is it possible to record http2 request in jmeter and i have converted my existing http script to http2 in that my regular expression extractor is not working properly it is responding with not found.can any one pls guide me on this I have pasted the…
Yoganand
  • 1
  • 1
0
votes
0 answers

JMeter Http request response timeout does not seem to work in certain conditions

I am sending a http request to a server which has timeout:0 for this type of connections (it basically keeps the connection open). I am trying to set a Response timeout in the HTTP Request sampler in the Advanced tab. for 40000ms(40secs) the…
Catalin B
  • 59
  • 7
0
votes
1 answer

Automaticng "Save Table Data" from Summary Report/Aggregate Report of Jmeter

I would like to know how to "Save Table Data" from Summary Report of JMeter automatically so that I can conclude on the Throughput rate. Currently I can click over "Save Table Data" button at the bottom of the report and store it but how can I…
Urmila
  • 11
  • 2
0
votes
1 answer

JMETER 'N' number of users calling different HTTP Requests generated dynamically

100 users will login to https://www.test.com/login Therefore, I created ThreadGroup and set necessary values. Created HTTP Request. Then, all the users will navigate to SearchInventory https://www.test.com/ SearchInventory -> It will return 1000…
Vishal
  • 339
  • 1
  • 9
  • 26
0
votes
1 answer

How to add Basic Authentication while creating Jmeter Script from Jmeter API using java?

I have gone through some of the scripts, where we can create Jmeter scripts from scratch using apache jmeter api. But, not able to add authorization to my api testing scripts. I know 'AuthManager' class is available for it, But, I am not able to use…
0
votes
1 answer

Jmeter: Does 5 thread groups with 1 thread each is equivalent to 1 thread group with 5 threads

I have a test scenario in which I need similar kind of requests to be executed by the same thread and all threads should start at the same time. If I use 1 thread group with multiple threads, threads execute random requests from the csv file. (How…
NewTechie
  • 3
  • 3
0
votes
1 answer

JMeter v. 4 NTLM Authentication

I have an issue with NTLM Authentication, I'm using JMeter v. 4 and this is first time I'm using JMeter, so I'm beginner. I've tried to follow couple of solutions that I found here but I'm still facing issue. HTTP Authorization Manager has following…
0
votes
1 answer

Using Communication style "clear" in Jmeter JMS point to point sampler

As per http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point the communication style clear is used to clear the messages from the given queue. Scenario: In my test plan , i have 2 threadgroups. 1) JMS Point to Point…
trial999
  • 1,646
  • 6
  • 21
  • 36
0
votes
0 answers

Jmeter: ctx.getCurrentSampler() and ctx.getPreviousSampler() return same requests

Test Plan or referenceThis is my first time working with Jmeter. I have 2 questions over here 1.While trying to execute methods ctx.getCurrentSampler() and ctx.getPreviousSampler() in Beanshell PreProcessor, its returning me same request for both…
NewTechie
  • 3
  • 3
0
votes
1 answer

How can we write some encryption methods in Jmeter using Bean shell Sampler?

I need some tips of how can we write some Java code in Jmeter using Bean shell Sampler to accomplish Encryption . Help on this highly useful!!
Siddish
  • 97
  • 3
  • 12
0
votes
1 answer

Replicate browser and user behavior with JMeter

I am new on JMeter and would like to get insight on how to replicate browser and user behavior in JMeter. What is the best practice when using JMeter to test web application (mainly for httpd, php, angular etc) i.e from some reading documentation I…
J. Doem
  • 619
  • 7
  • 21
0
votes
3 answers

How to exclude unnecessary requests from JMeter log file in NonGUI mode

I am running JMeter 4.0 r1823414. In my test suite, I have the following structure: When I run this TestPlan in non gui mode with the following command: .\jmeter -t $testplan -l $testlog -e -o $reportFolder I get a CSV file with all debug steps and…
GrimSmiler
  • 561
  • 1
  • 4
  • 21