Questions tagged [jmeter]

Use for questions about testing with Apache JMeter, such as how to perform specific actions using JMeter, problems with JMeter scripts, ways to improve JMeter scripts, and so on.

Filter by
Sorted by
Tagged with
0 votes
1 answer
392 views

Regular expression extractor not working in Jmeter or what am I doing wrong?

As on the image, this is the regular expression I have created to capture the blue highlighted value at the HTML document. But every time, My variable v_PID is retuning null. Am I doing something ...
  • 2,099
0 votes
1 answer
27 views

How to create extendable jmeter test plans?

We have received 20 jmeter test plans, each testing one endpoint, which we need to run as part of AzureDevops pipeline. On some tests we need to pass parameters and others we don't. My idea was to ...
0 votes
1 answer
518 views

JMeter - Loop for X time

I have a test script where I want the test to (1) Log into application (2) Do some stuff repeatedly for x time (ideally 15 minutes) and (3) log out of application. I have setup step 2 to use Loop ...
0 votes
1 answer
488 views

Jmeter + Java: Error generating dashboard report in dynamic folder

I'm trying to execute performance with Jmeter from Java. My code is written below. I'm facing an issue generating dashboard report. I want to dashboard report to be written in "Target" ...
0 votes
1 answer
1k views

How to increment alphanum value in Jmeter inside a loop counter

I have requirement with increment value for each iteration and using loop controller. I tried with the _V function and __intSum(${myVar},${__counter(,)},)}. it's incrementing only for digit and not ...
1 vote
1 answer
3k views

How to increment value of json variable in Jmeter

I have a Loop controller and inside i have a http request and payload . PayloadBody Looks like below. { "id"="12345" } In the counter if i have 3 it should be 12346,12347 I need ...
2 votes
1 answer
266 views

Replacing url data with file data in jmeter

I have a link which contains a field for id. I want to fill this field data with data from a csv/txt file. The link is going to help me get data for a particular api.The url looks something like this: ...
0 votes
1 answer
425 views

Jmeter: How to generate HTML Dashboard in Java

I am trying to execute Jmeter with Java so as to integrate Performance/Load Testing with Jmeter within our Test Automation Framework. I did some research and found (successfully able to execute as ...
0 votes
2 answers
681 views

jmeter.bat wont execute properly, results in errorlevel=1

I have a problem with initializing jmeter.bat. For some reason I get this mistake when I try to execute it. Jmeter.jar works properly. I tried to install java 8, jdk17, bellsoft-jdk11 (separately). I ...
1 vote
1 answer
125 views

Load Test a Web App whose APIs are not exposed

I want to load test an application which does two things when I click on the button after filling the details - Make a call to 3rd party merchant API to validate the details entered Do some read &...
1 vote
1 answer
473 views

How to handle if controller in Jmeter for extracted response

I have one http request and it extracted the csrf token.But the csrf token attached with attached with html and javascript. If the request success the csrf token is attached with HTMl. If the request ...
1 vote
1 answer
110 views

I'm writing a load test script and able to successfully run with 1st request but not able to do 2nd req and Session-Timeout error with 403 error code

I have added the Cookie Manager and tried.The first request is success and 2nd request was failed with timeout Please help me
2 votes
2 answers
982 views

Unable to record using http recording controller with a proxy

I have been trying to record my web application actions using the http recording controller in jmeter. I have added a recording controller, a test script recorder with proxy settings set. Certificate ...
  • 21
0 votes
1 answer
102 views

Unexpected contents display on the landing page while recording using JMeter with proxy enabled

I used JMeter to record an ASP.Net application. Most of the recording part are works perfectly fine. There is no error and the contents display correctly. However, there are some test steps which ...
  • 1
1 vote
2 answers
3k views

jmeter - IllegalAccessError

I have installed Java and Jmeter successfully however I am not able to save my test plans on my machine. Please advise? Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf....
1 vote
2 answers
733 views

How can use WebDriver sampler in JMeter to mimic 100 users login and performing some action?

I am working on creating a load test in JMeter: 100 users login to the product at the same time. Each user performs some UI action like running a user report or updating user profile page. Each user ...
  • 13
0 votes
1 answer
454 views

Uploaded filename when uploaded by JMETER using Google Drive Upload API is Untitled

I am trying to upload files on Google Drive using JMETER but the uploaded file name is 'Untitled'. Google Drive API's Bearer token is used as Authorization in the 'HTTP Header Manager' with Content-...
0 votes
1 answer
95 views

Text Response Assertion on a single script in JMeter

I'm using JMeter 5.4.1 and I've a recording of almost 10 scripts. Its a simple sign in -> dashboard -> sign out scenario. Now I want to apply assertion only on my "dashboard" script ...
0 votes
1 answer
707 views

Mozilla Fire Fox isn't accepting JMeter proxy certificate for script recording

While recording scripts in JMeter, Mozilla Fire Fox is not accepting the JMeter certificate. I've all the settings configured correctly (Fire Fox's Proxy settings and importing JMeter certificate to ...
0 votes
1 answer
100 views

How to execute the threads in JMeter to full fill the below scenario?

I have a JMeter work flow where in the script has to perform the below scenario. There are 130 users and 29000 tasks. Ideally, 1 user takes approx. 2min to perform 1 task by sending JSON requests. ...
1 vote
1 answer
519 views

Token generation run every 5 min once

My token generator request will give "ext_expires_in":"599","expires_on":"1620730631". But i want to create token every 5 min once and i want to run another ...
  • 11
2 votes
1 answer
3k views

Unable to get Response Header Cookie and set it to another Request Body in Jmeter script

Not able to pass Response Header (Set-Cookie value) to another request Body in order to place a reservation. To place a reservation i need to get HoldReservation cookie from Reservedate API but when ...
1 vote
1 answer
111 views

what is the best approach to run performance test for scaled down environment?

I have a task for load testing on application by 1,000 concurrent users. we are allowed to run load test on pre-prod environment which have 25% from production environment what is the correct ...
2 votes
1 answer
283 views

How to test Sign Up API (Post Method) for multiple users in Jmeter?

I tried multiple user sign ups using Sign-up API (POST Method) with parameterization. But It's not working. I have set the CSV Data set Config Added the variable names in Param value Added a HTTP ...
0 votes
1 answer
100 views

Need help in GeoServer Performace Testing using Jmeter

I am using GeoServer 2.18 on my side & wanted to do performance testing. Objective : I am using J meter for performance testing. My goal is to test a particular WFS service having basic ...
  • 101
1 vote
1 answer
118 views

Jmeter Multi Tenant

Stuck on a multi tenant load test. I have 10 sites and each site will run the same exact test with the same users. I first created the script with 10 thread groups (1 for each tenant)and works but ...
  • 11
1 vote
1 answer
284 views

Stop http request after certain condition using JMeter

I have my HTTP request and have some conditions need to wait get at least 1 results or complete=true from the response, but also i want to add if keep executing to satisfy the below condition i want ...
0 votes
2 answers
2k views

What is the maximum value I can put for Ramp Up Period in JMeter?

I'm interested in running a test over many hours. What is the maximum value I can put for Ramp Up Period in JMeter?
0 votes
1 answer
607 views

How to run thread group forever with time delay in JMeter

I have a thread group with 30 Http request. I would like to run the whole thread group once with just 1 user, than wait 30 minutes, run it again, wait 30 minutes and so on for few days. How should I ...
0 votes
1 answer
666 views

i want to run my selenium python script with appachi jmeter .how we integrate selenium python script in apache jmeter

import time from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.select import Select driver = webdriver.Chrome(...
0 votes
1 answer
21 views

Load testing an AI use case/application

I'm struggling to understand the steps for measuring the time for a use case built on AI platform to clear the alarms automatically executing a series of commands. Issue is that only task that needs ...
  • 1
1 vote
1 answer
172 views

How to get id and name using regular expression and json extractor

[{id:1, name:"test1"}, {id:2, name:"test2"}, {id:3, name:"test3"},...] get id based on the name get id's based on the list of names
2 votes
1 answer
2k views

Install Root CA certificate in mobile to use JMETER Script Recorder but showing No internet connection while running the mobile application

I'm using the JMeter for recording API logs through HTTP(S) Script Recorder and I have also installed the ApacheJMeterTemporaryRootCA certificate in the mobile and set the WiFi setting in manual ...
  • 150
0 votes
1 answer
68 views

Jmeter Scripts Taking Time Run With 2 CSV Configs [closed]

Jmeter Scripts are taking Double the Time when 2 CSV configs are introduced. Can anyone provide solution for same?
-1 votes
1 answer
429 views

How can we use variable of the request which are inside if controller

I am facing issues like I have some requests inside if controller and from those requests, I am fetching some json data and I have to use that data in another if controller and outside from if ...
1 vote
1 answer
2k views

Handling a dynamic refresh token on JMeter

I have recorded JMeter script for a website. One of the HTTP request is the below screenshot where a refresh_token is already set as a hard-coded parameter when I recorded the script first time. This ...
0 votes
1 answer
91 views

Running load test on more than one site at the same time

I need to run same JMeter script on more than one site at the same time to test performace. I am trying to use one JMeter script and hit 10 sites at the same time I have tried to use multi test ...
0 votes
1 answer
223 views

How do I run the recorded scripts in JMeter?

I recorded some actions in Mobile Application via Test Recorder in JMeter and tried to run the generated scripts adding some users (in Thread groups). But I did not receive any results in Listener. ...
2 votes
1 answer
758 views

Why isn't none of the contents of the page loading while recording script through JMeter in Firefox even after all the configurations are done right?

I am facing an issue with recording Scripts in FireFox browser through JMeter. Configuration: I have the Proxy setting in Firefox set to Proxy -localhost; Port -8080. I have added the RootCA ...
1 vote
1 answer
146 views

How to automate Mobile App with wired system using JMeter?

I have a system connected with LAN cable. Now I want to record the test of a Mobile Application (Android and iOS), and then see the performance of the app using JMeter. I tried with connecting the ...
0 votes
1 answer
1k views

JMETER: java.lang.OutOfMemoryError: Java heap space

I have configured Jmeter for database load testing, and have been using the CLI to test load on my redshift database. i have increased the memory heap but the same problem remains Below is the Error ...
0 votes
1 answer
286 views

JMETER: Parallel Controller - no response data

I have defined the JDBC Connection configuration and have added multiple JDBC requests in JMeter and have added the bzm - Parallel Controller plugin. Below is the image for the setup of the parallel ...
0 votes
1 answer
615 views

JMETER: How do I run parallel JDBC requests in JMeter?

I have defined the JDBC Connection configuration and have added multiple JDBC requests in JMeter. Currently, when I trigger the requests, the requests are executed one after the other. I would like to ...
-1 votes
1 answer
234 views

How to record mobile application using jmeter?

I need to do load testing of my mobile application. I am using android mobile. while i am trying to record the script using Jmeter nothing is getting recorded. I had followed this process to record: I ...
0 votes
1 answer
249 views

Taurus/JMeter - total time for thread group execution within pass/fail criteria

I have an end-to-end scenario to include in performance testing that takes a decent length of time to execute. Between releases of the system, this time needs to be monitored to ensure it hasn't ...
  • 255
1 vote
2 answers
162 views

JMeter - How to extract values from the specific subsample

I have a script like registering flow: the user is registering, getting his id and get a verification URL and id with the email address. If the script is run with one user, everything is ok, the user ...
1 vote
1 answer
654 views

JMeter 403 Error - CSRF Token

I am load testing a CSRF protected website and have successfully extracted the csrf token and authorized the login, however when loading a pages with many different graphs, all the graphs seem to fail....
1 vote
1 answer
200 views

JMeter- While running 2 loop count , In 2nd loop count all the http requests are not running . Few http requests are missing

I'm new to JMeter, When I'm running multiple threads with 2 loop count, every 2nd loop count for each user fails, because few http requests are missing they are not running for 2nd loop count. Could ...
2 votes
1 answer
157 views

JMeter - How can I check mail count in gmail box thread by thread

I'd like to connect gmail server before user thread group, and I wanna open inbox and check mail count in every user interaction. Connect gmail ones Check registration emails many times (100, 1000) ...
1 vote
1 answer
509 views

JMeter - save response to file listener but also ignore result

In JMeter, I am using a post processor running prev.setIgnore() within the setup thread group to ignore those requests. Some of these requests are JDBC requests to select data out of the database and ...
  • 255

1
2
3 4 5
18