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
484 views

Variables in jsonpath expression

I have tested this Json extractor - JSON path expression to extract the GET response's model_name which value matched previous POST data. POST data: "model_name": "Model-Test-${variable}...
-1 votes
1 answer
201 views

Unable to extract CSS selector and attribute value in Jmeter

I am unable to extract the CSS selector and attribute from the response body of the http request. I need to extract state value from the below response body. Kindly help!!
0 votes
1 answer
409 views

Getting error 403 and 500 code in jmeter

I am working with Jmeter to do load testing. I created a simple login script using BlazeMeter. Then I imported the file into Jmeter. Whenever I try to run the script, it fails. The problem I encounter ...
2 votes
1 answer
361 views

Jmeter- How to Extract part of the API Response value using Jmeter?

I have the below response from the API: {"info":{"message":"success","details":{}},"data":"https://127.0.0.1:80/view-report?https://routethis....
3 votes
2 answers
4k views

How can I create a Test scenario in JMeter where multiple users login and logout concurrently for a certain ramp up time?

I am a complete newbie in JMeter or load testing in general. The JMeter Test scenario i want to create:- 50 different users(having different login credentials) login into a web application - do ...
0 votes
1 answer
492 views

Error while running the jmeter Perfmon plugin

2022-01-10 09:02:52,633 INFO o.j.r.PluginManager: Plugins Status: [jpgc-perfmon=2.1, jpgc-plugins-manager=0.20, jmeter-core=5.4.3, jmeter-ftp=5.4.3, jmeter-http=5.4.3, jmeter-jdbc=5.4.3, jmeter-jms=5....
2 votes
8 answers
2k views

Performance test tool that can record without proxy

I'm doing a performance test for a report upload system of a bank on an intranet network. (I have to turn off the internet to access.) Initially, I used JMeter to record HTTP traffic, but then I ran ...
0 votes
2 answers
1k views

JMeter Recorder 501 Method not implemented Error

I am recording a test in JMeter using HTTPS Test Script Recorder with a Recording Controller and Firefox Browser. I want to record going to google and making a search. However, instead of google ...
2 votes
1 answer
411 views

What's coordinated omisssion and how to properly avoid it?

I recently run into the issue of the so-called "coordinated omission " when finding out the latency result of wrk doesn't look normal. Some search leads me to How NOT to Measure Latency and ...
0 votes
1 answer
795 views

Issue in JMeter -Specify Thread lifetime-

I'm using JMeter (5.4.3). I noticed that the Duration of Thread group isn't working. And here's an example of what I've tried. Number of threads: 300 I've Checked Specify Thread lifetime checkbox .. ...
1 vote
1 answer
7k views

Html file is not generated in JMeter report in non GUI mode

I run my test plan in non GUI mode and it executed successfully, however it was only the csv report that got generated while the html report wasn't generated in the specified folder. this is my folder ...
0 votes
1 answer
363 views

Help on adding a if controller login Jmeter

I have a set of variables which will populate from previous API calls. And variables are looks like, which will go up to 12. ${V_ProductCode_1} ${V_ProductCode_2} ${V_ProductCode_3} ${...
0 votes
1 answer
486 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 ...
0 votes
1 answer
32 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 ...
4 votes
3 answers
24k views

Jmeter's threads got stuck and never end

I'm working on some Jmeter scripts, everything seems to work just fine; they got recorded and run properly (for a couple of users anyway). The problem appears when I run the scripts for more than 50-...
0 votes
1 answer
621 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
571 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" ...
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
360 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
489 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
885 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
143 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 &...
0 votes
3 answers
7k views

Proxy setting for JMeter

When I set the proxy setting in a browser as 127.0.0.1:8080 then I am able to run the JMeter recorder for the project I am running using JBoss server from my system only that is ok and doing enough. ...
4 votes
4 answers
4k views

How to share the generated JMeter Report dashboard to stakeholders via email?

Now that I have generated the report dashboard after the JMeter test run, I want to share the same via email to concerned members and stakeholders. Please suggest how can I do the aforementioned task!
1 vote
3 answers
792 views

Is there a better way to code-review JMeter test-plans?

TLDR - What is the best way to review JMeter Test-Plans stored in a GitHub repo? Currently, the code-review process that my performance-test team uses is somewhat cumbersome and of questionable ...
1 vote
1 answer
3k views

Generating SRP_A for AWS Cognito user login for a performance test script using JMeter

I am trying to test a Guidewire application that uses Cognito for user portal Login authentication. A Javascript is downloaded, at the application launch, that is generating SRP_A string There are a ...
13 votes
1 answer
12k views

JMeter: Getting error in non GUI mode

While trying to execute JMeter from the command line in non-GUI mode I'm getting errorlevel=2 error message. What I did is, Navigate to the JMeter bin directory in command prompt. Run the command &...
0 votes
1 answer
816 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
2 answers
4k views

Jmeter env custom function doesn't read environment variable

I was following blazemeter tutorial on how to run Jmeter script from the command line (cmd.exe in Windows10 OS). I'm trying to pass environment variable to the Jmeter ${__env} (according to this page) ...
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....
0 votes
1 answer
506 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-...
1 vote
2 answers
605 views

How to Store multiple id from one request and retrieve few id for update within the same thread group in jmeter?

My Scenario. [ All are in Same Thread group] I have to Create Cart, Add Multiple Items(5), Update few items(1) and then checkout. Add Items - I have to add 5 Items [ Each Item will generate unique ...
0 votes
2 answers
5k views

Jmeter CSV Data Set Config to skip first row

I am trying to run HTTP request using JMeter with parameters inside .csv file and it is working as expected. As i am using 8 different request, with different inputs, header would be really helpful. ...
0 votes
1 answer
105 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 ...
1 vote
0 answers
399 views

Getting error in Response header Location field

We are doing web application scripting using JMeter. In the flow after submitting the application URL is redirecting and we are getting one auth token in the location field of response header which ...
0 votes
1 answer
111 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. ...
2 votes
4 answers
2k views

How to convert LoadRunner scripts to JMeter compatible scripts with least re-work effort?

We have few existing scripts in LoadRunner. Is there a way to convert those scripts to JMeter scripts(JMX files), which requires a little to no amount of re-work(correlation, parameterization, etc)? ...
6 votes
1 answer
32k views

Setting a Connection time out in Jmeter

I want to know how to set the Timeout in milliseconds for HTTP Samplers that are generated by using recording controller. Is there any way to configure this at one place, so that it will be applied to ...
7 votes
3 answers
7k views

Maximum Number of Threads in Jmeter

what is the maximum number of threads in JMeter from a single machine? I know there is a dependency for hardware configuration. I'm using this hardware configuration: Command: #lscpu Architecture: ...
14 votes
5 answers
71k views

How to run JMeter test plan for specified amount of time?

How to run an JMeter test plan that it should be completed in specified time or it should be terminated within that stipulated time? Please throw me light on this question.
1 vote
1 answer
667 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 ...
1 vote
1 answer
402 views

Regarding reading Jmeter output in Java

I have executed jmeter script through java, however I am not able to get output in java. Could you please help me in that. Regards Pankaj
1 vote
1 answer
151 views

Issue while using Constant Throughput timer in Jmeter

I have constant throughput timer which will hit 1 request in 3 minutes in my test plan due to this my requests are getting timeout as it is delaying requests to 1 hour. Please suggest what should be ...
2 votes
2 answers
3k views

Performance test using Jmeter - Tune the Script as per requirement

I have to do performance test on our API. In our current system they told 3500 request are handling per minute. But there is no way to take the amount of concurrent users per minute. So I just run my ...
3 votes
1 answer
487 views

How to generate JMeter Composite Graph using CLI?

I have a test plan with Composite Graph inside it. Everything is working fine when using GUI. Unfortunately, I got this error when trying to generate that graph using CLI: $ ~/apache-jmeter-5.2.1/bin/...
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
2k views

How to read data from Websphere MQ using jmeter, is there any plugin or utility available?

We are trying to use JMeter for SOA testing to reduce some cost. Where we are unable to find a utility to option to read data from MQ using JMeter as like we have option in Parasoft SOA test. Is ...
1 vote
2 answers
186 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
708 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
125 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 ...

1 2 3
4
5
19