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
1
vote
1 answer

JMeter exception after test completes

I am observing the following issue while running a JMeter script from non GUI command through Jenkins pipeline. The JVM should have exited but did not. The following non-daemon threads are still running (DestroyJavaVM is…
bbb
  • 149
  • 2
  • 18
1
vote
1 answer

Jmeter stop the current iteration issue

how to stop current iteration using jmeter and move to next iteration using beanshell script. (Without using test action element) I tried ctx.setRestartNextLoop(true) but this is not working. JMeter version: 5.2.1
bbb
  • 149
  • 2
  • 18
1
vote
1 answer

How to pass an array in a JSON request in Jmeter

I have to pass a JSON in the HTTP request and that JSON contains an array of addresses. Up until I add the array, the request is fine and I do get a response but as soon as I add the array of addresses, I get a bad request error Below is my bad…
1
vote
2 answers

Jmeter: how to retrieve values which is in 2nd line using Regx?

I am retriving Firstname from database and i am storing it in object using REGx(jmeter). Since retrieved data in 2nd row(PF Screenshot), when i send that in api request its going in 2nd row as below. Thus API is returning 400. Please suggest…
Shiv
  • 13
  • 4
1
vote
1 answer

In JMeter, how to capture values from REST POST Request (not the Response)?

Part of REST POST Request looks like below where I am passing different values for VIN and DEALER_ID: VIN
Josh R
  • 45
  • 5
1
vote
1 answer

How can I record JMeter scripts behind company's proxy auto config (PAC) file?

The Internet Options settings are managed by my company's system administrator. The Proxy is set to use automatic configuration script (http://proxypac.abcd.com/proxyrouting). I cannot disable this. I cannot change the proxy to localhost. The above…
Josh R
  • 45
  • 5
1
vote
2 answers

Apache JMeter Counting Number of User HTTP-Response 200 & 404

I am new using the Apache JMeter, I am currently using JMeter for stress test to load balancer. There are 2 Web Server pointing to the single database server. All the configuration load balancer was successfully configure and work fine. After using…
Zubir
  • 89
  • 1
  • 10
1
vote
1 answer

In JMETER - How to achieve TPS at each individual request level for API testing

I would like to achieve transactions per minutes at request level, what would be approach and how the script structure should look like ? Requirement: In total i have 67 concurrent users. I need to achieve transaction per minute at each request…
ArunPrasath
  • 153
  • 4
  • 17
1
vote
2 answers

Multiple thread group execution based on a condition in thread group one

I have multiple thread groups(2 thread groups) in which based on the condition one thread group should run, if the condition fails should not run thread group 2. Thread group one regex - success BeanShell assertion -…
1
vote
1 answer

Taurus is not taking the Jmeter Setting local path even after changing .bzt-rc file

I want to use the existing Jmeter Version (4.0) to run my scripts using Taurus.But Taurus is downloading & taking the latest Jmeter version though i change Jmeter setting Path: in .bzt-rc file. Updated bzt-rc file to below: # JMeter…
Raghu
  • 13
  • 5
1
vote
2 answers

How can we Send Different messages to rabbitmq per thread using jmeter AMQP publisher plugin?

I am using jmeter to pump messages into RabbitmQ Queue. I am sending 100 messages per second But I am able to send only same message 100 times. I need to send different message per thread. Is it possible using Jmeter AMQP Publisher plugin? For…
Sunil Sunny
  • 531
  • 7
  • 30
1
vote
1 answer

(on using Jmeter backend listener)- Uncaught Exception java.lang.IllegalStateException: Failed calling setupTest

Im using https://grafana.com/dashboards/1152 plugin for sending Jmeter metrix to InfluxDB. When i run in my local system(windows-GUI or NON GUI)i am able to send the metrics. Where as when i run from a linux machine im getting this error sh…
shey
  • 344
  • 2
  • 10
  • 29
1
vote
1 answer

com.thoughtworks.xstream.converters.ConversionException while running jmeter script using maven eclipse

I have integrated my jmeter script with maven. I have jmeter plugin manager also. While running it, i am getting java.lang.IllegalArgumentException which is resulting into above exception. I have added dependency for jmeter plugin manager and…
Abhinav
  • 51
  • 9
1
vote
2 answers

Taurus - Overriding a jmeter property in test endpoint

How to override a test endpoint in .jmx file from Taurus yaml. My jmx file includes both GET and POST methods. Currently i have set the url like ‘${__P(url)}/api/login’ in jmx and in Taurus as of below: execution: - scenario: jmeter …
Arun
  • 89
  • 1
  • 14
1
vote
1 answer

How to create a concurrent thread group where a given concurrent users hit only once in given elapsed time?

I need to make a concurrent thread group where the given number of concurrent users should hit only once, what happening now is that in a given period of time, it is hitting multiple times. See graph. The concurrency thread graph is like this, what…