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

Replicate the Load runner scenario in Jmeter

I want to recreate the loadrunner scenario in Jmeter using ultimate thread group But iam Lost . This is the Load runner scenario Attached the schedule Graph below Below is the formation of ultimate ...
user avatar
-1 votes
2 answers
14 views

Simulate the real World load runner scenario in Jmeter using stepping thread group

My client wants to simulate the Loadrunner scenario in Jmeter using the stepping thread group I have simulated the load in Jmeter with these parameters . It is pulling wrong results can i know how ...
user avatar
0 votes
2 answers
41 views

How to resolve exception - "element click intercepted ,Other element would receive the click"?

Here is my script - next=WDS.browser.findElement(pkg.By.xpath("//button[contains(@class,'btn btn-sm btn-light border ml-3')]")) while(next.isEnabled()==true) { /...
user avatar
0 votes
1 answer
23 views

Jmeter: Unable to connect via SAML protocol

I'm unable to connect to the server via Jmeter. While trying to connect via SAML protocol, the request is blocked and 401 error is returned in the response. Can anyone guide me to resolve this issue? ...
user avatar
-1 votes
1 answer
22 views

How to find max and min element in array when using in WebDriver sampler -selenium javascript

I used WebDriver sampler and wrote selenium Javascript-. I created an array and saved those elements. Now I want to know which element is maxed and minimum. so how is it found, is there any built-in ...
user avatar
0 votes
1 answer
28 views

How to make table structure file using org.apache.commons.io.FileUtils.writeStringToFile(file)?

I used Webdriver sampler and write selenium -Javascript. Now I used org.apache.commons.io.FileUtils.writeStringToFile(new java.io.File('somefile.log'), 'some-data', 'UTF-8', true) function to write a ...
user avatar
2 votes
1 answer
34 views

How to save log file separately for every transaction in JMeter?

I wrote one selenium automation javascript in JMeter using a webdriver sampler. In that, I try to find the total time taken for traversing from first page to last page of the website. To print time or ...
user avatar
0 votes
1 answer
81 views

JMeter + Webdriver : Java code is not taking screenshot and it is giving ERROR c.g.j.p.w.s.WebDriverSampler: Sourced file: inline evaluation of:

I am new to JMeter + WebDriver + Java. JavaScript code is working as expected for screenshot. Due to recent upgrade of Java, we are moving from JavaScript to Java. Below is the code. Can you please ...
user avatar
  • 1
0 votes
1 answer
57 views

JMeter, how to assert a dynamic value, that contains special characters using response assertions

I have a value with the following format [aadrzr@r2za$l919d@ldzkld], but when asserting this value in the response assertion, I am getting a failed response assertion. Since it contains special ...
user avatar
  • 23
0 votes
1 answer
41 views

Is it possible to run automatic performance regression tests based on load and performance monitoring?

Baseline: In our team, we want to emulate certain high loads in production over and over again as a kind of load and performance regression, so to speak. Within one test stage. We use Datadog for ...
user avatar
  • 1,173
0 votes
1 answer
23 views

Errors on recording HTTPS resource in jmeter

I correctly installed jmeter and updated certificates for Firefox. Jmeter succesfully recorded main page on HTTPS. But when I make login into personal account on same HTTPS page, I recieve errors on ...
user avatar
0 votes
1 answer
81 views

while controller isn't working perfectly when testing for multiple users

I have designed a case to wait for specific model name in GET response and then POST data. It is tested and is working fine when only 1 user and 1 loop are set. When the specific model name is found, ...
user avatar
0 votes
1 answer
70 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}...
user avatar
1 vote
1 answer
58 views

While loop does not exit

I want to let JMeter exit while controller when response value "model_name": "Model-Corpus-JMeter2-0001-v1-8k" is found in response data. sample response data: { "message&...
user avatar
-1 votes
1 answer
34 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!!
user avatar
0 votes
1 answer
75 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 ...
user avatar
2 votes
1 answer
37 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....
user avatar
  • 23
0 votes
2 answers
40 views

Want to Extract Data in JMeter

I am using the HTTP request sampler, In which I have used Post Method. When I Execute the request, it executes another HTTP request from another thread. I want to extract the data from that thread ...
user avatar
0 votes
1 answer
100 views

JDBC connection to databricks server is failing in JMeter

I have working JDBC connection to data bricks server in Java code. I'm trying to make similar connection in my JMeter project (tried with apache-jmeter-5.3 and apache-jmeter-5.4.3) using same ...
user avatar
0 votes
1 answer
119 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....
user avatar
2 votes
1 answer
84 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 ...
user avatar
0 votes
1 answer
147 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 .. ...
user avatar
0 votes
1 answer
117 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} ${...
user avatar
  • 2,093
0 votes
1 answer
55 views

Why is my jmeter aggregate report showing much more time than actual?

I created a test script to sign in and sign out an application and tested the script with a single user. The aggregate report shows average time as 72 secs for sign out for just 1 user. But when I ...
user avatar
  • 1
0 votes
1 answer
72 views

Keep getting 403 error code when executing POST request via Jmeter

keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...
user avatar
  • 1
0 votes
1 answer
72 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 ...
user avatar
  • 2,093
0 votes
1 answer
18 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 ...
user avatar
0 votes
1 answer
232 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 ...
user avatar
0 votes
1 answer
265 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" ...
user avatar
0 votes
1 answer
293 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
2 votes
1 answer
64 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: ...
user avatar
0 votes
1 answer
198 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 ...
user avatar
0 votes
2 answers
186 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 ...
user avatar
1 vote
1 answer
74 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 &...
user avatar
1 vote
1 answer
149 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 ...
user avatar
1 vote
1 answer
62 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
user avatar
2 votes
2 answers
379 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 ...
user avatar
  • 21
0 votes
1 answer
61 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 ...
user avatar
  • 1
1 vote
2 answers
2k 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....
user avatar
0 votes
2 answers
421 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 ...
user avatar
0 votes
1 answer
252 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-...
user avatar
0 votes
1 answer
46 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 ...
user avatar
0 votes
1 answer
274 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 ...
user avatar
0 votes
1 answer
34 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. ...
user avatar
1 vote
1 answer
85 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 ...
user avatar
  • 11
2 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
60 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 ...
user avatar
1 vote
1 answer
130 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 ...
user avatar
0 votes
1 answer
67 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 ...
user avatar
  • 101

1
2 3 4 5
18