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
2 answers
32 views

How to design a test plan for performance testing using Jmeter for interval of time

I have to design a test plan for an app and below is the requirement Run a thread for 1 user for 55 minutes and in between after the thread starts I need to run another user after 30 minutes. Can you ...
0 votes
1 answer
56 views

Unable to launch a website in firefox browser using firefox Driver config

I am Unable to launch a website in firefox browser using firefox Driver config. Jmeter version : 5.5 Firefox version installed on system : 110.0 . Below are the jmeter logs, 2023-02-16 14:55:35,984 ...
0 votes
1 answer
53 views

Retrieving all Cookies in JMeter and to pass in subsequent requests

While recording I can see the all cookies are stored in the request headers as JSESSIONID=71fc7095-b591-4106-b904-9f5XXXXX58c3; _uid=user-5664708212484720511; oxy_lang=en_US; test-cookie=test; ...
0 votes
2 answers
32 views

CSV download file getting 400 response code

When I recorded the script for downloading a CSV file, only that HTTP request is getting a 400 response code. The audit history of the website displaying file is downloaded. When I hit the audit ...
0 votes
2 answers
73 views

parametrization of body jmeter

I just started using Jmeter and don't know how to make a variable. This is the HTTP body request and I would like to change the project name each time I perform load testing. I tried using CSV config ...
1 vote
1 answer
53 views

Passing variable created from Regular Expression Extractor to HTTP Cookie Manager does not work in JMeter

I've added a regular expression extractor as a child element of the HTTP request From the regular expression extractor I've created a new variable called variabletest. Name of created variable: ...
  • 11
0 votes
1 answer
79 views

How is throughput calculated in Jmeter in case of multiple Users

I am running a sampler request with 1 VUser and using aggregate report as a Listener while have only 1 Vuser eg : and running the test i get the throughput as 2.9/sec as shown in the image . I know ...
1 vote
2 answers
90 views

Jmeter Scenario: Users Login once - pause until all logged in and execute process (based on iterations not time) - processes complete users log out

I'm relatively new to Jmeter, but I have a scenario, that I've not been able to figure out where I need to perform the following: All user log in to application with a ramp-up period of 15 seconds ...
0 votes
2 answers
28 views

JMeter: Writing to CSV causes an extra blank line to be written, but only sometimes

Using JMeter I have been trying to produce a CSV of the ID of all the database IDs that my web app creates. I'm simply looking to save one column of strings without any spaces, however when I do that ...
0 votes
1 answer
32 views

Regular Expression is not taking the value of the last request response

I have a JMeter script in which I'm extracting value from the response of first request via Regular Expression Extractor and sending it in the second request. This mechanism is not working in my ...
  • 1
0 votes
2 answers
44 views

How can I disable sub sample request under a parent request which is unnecessary in jmeter?

I am trying to disable a sub-sample request embedded in jmeter parent request that follows a redirect of the main request.
0 votes
2 answers
37 views

Cannot passing value from non-gui mode if it match the IF Controller condition in JMeter

I've below setup, i've tried to pass the value from non-gui mode but it doesn't work. Config Element/User Defined Variable: portNum:8080 Config Element/HTTP Request Defaults: Port Number: ${__P(...
  • 1
0 votes
2 answers
68 views

jMeter thread running capacity

I am wondering if there is a way to know how many threads JMeter can support for a given machine configuration? Currently, I am working toward a task that requires me to check how many VMs I need to ...
1 vote
2 answers
212 views

Need help writing a regular expression to extract data from response in JMeter

I need to extract an ID from the response of an API call in JMeter. The response looks something like this: "sessionId":"Edhgjhsbdjkkmsdsd-dlkmsdl.Mkhsdiufhskjndjsbsbd.iusdhfjsnkdnsd&...
0 votes
1 answer
127 views

Hitting requests with different IPs in a virtual machine

My jmeter setup is installed in a virtual machine, I want to hit requests such that they appear to come from different IPS. Need a possible solution if any.
0 votes
1 answer
116 views

How to use JMeter for parallel executions running using postman?

How to use JMeter for parallel executions running using postman. I want to execute close to 4000 to 5000 requests id`s at the same time and see the results.
0 votes
1 answer
129 views

Jmeter 5.4.3 with mysql-connector-java-8.0.30 -> java.sql.SQLException: No suitable driver

I am trying to connect Jmeter to MySql but getting error Here is my config: Windows 2019 Java 11 MySql version 8.0.30-commersial mysql-connector-java-8.0.30.jar placed as required in jmeter lib ...
0 votes
1 answer
74 views

What is the best way to explain the findings in Jmeter to a customer?

Yes, I know a simple question at first glance, but on the second it leaves you perplexed. Details: One of our customers got a complete setup from us, and that was Jmeter and an integration into a ...
  • 1,107
0 votes
0 answers
119 views

Correlation and Dynamic values in K6

I am using this https://jslib.k6.io/k6-utils/1.2.0/index.js library in k6 script for handling dynamic values , it is getting the data between the tags like " K6 " but it is not if the value ...
0 votes
1 answer
74 views

Sleep multiple thread groups at the same time

I am wondering if multiple thread groups can be made non-active/sleeping at the same time. I need multiple thread groups that run infinitely, with alternating intervals times of being all active and ...
0 votes
1 answer
20 views

Not able to record human action while using desktop application on linux using jmeter

I have a GIS related desktop application on RHEL which communicates to server for fetching and posting data. I am trying to use Jmeter for recording the human actions, I changed the proxy settings of ...
0 votes
1 answer
214 views

Having issues in Jmeter while performing the IF Controller, i'm using Jmeter latest version 5.5

INFO o.a.j.e.StandardJMeterEngine: Running the test! INFO o.a.j.s.SampleEvent: List of sample_variables: [] INFO o.a.j.p.j.s.JavaSampler: Created class: org.apache.jmeter.protocol.java.test.JavaTest. ...
0 votes
1 answer
167 views

In Jmeter , Cannot gracefully Shutdown through Batch file FUNCTION?

I am using Jmeter 5.5. I have created batch file for executing the test in NON GUI Mode. Everything seems to be working fine . In that batch file, I have written function for shutdown I've tried these ...
  • 1
3 votes
1 answer
433 views

How to extract a token from form html using regex

I would like to know how I use the regex in Jmeter to capture tokens from HTML. I have created a regex but it's not getting what I required. My HTML code with the token is : <html><head>&...
2 votes
1 answer
210 views

Apply a radom pacing in Jmeter without using Timers

I wanted to apply Pacing in jmeter for 120- 180 Seconds for all my samplers , I know i can do it with Through put Timers is there anyother way to apply pacing , i think we can use Beanshell Scripting ...
0 votes
1 answer
23 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 ...
-1 votes
1 answer
137 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 ...
0 votes
2 answers
3k 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) { /...
0 votes
1 answer
344 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? ...
-1 votes
1 answer
118 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 ...
0 votes
2 answers
56 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 ...
2 votes
1 answer
188 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 ...
0 votes
1 answer
556 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 ...
  • 1
0 votes
2 answers
377 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 ...
  • 23
0 votes
1 answer
50 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 ...
  • 1,107
0 votes
1 answer
194 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 ...
0 votes
1 answer
462 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, ...
0 votes
1 answer
381 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 vote
1 answer
304 views

Jmeter get requests failing to exit for existing response

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&...
-1 votes
1 answer
152 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
301 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
263 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....
  • 23
1 vote
2 answers
92 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 ...
  • 11
0 votes
1 answer
389 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 ...
0 votes
1 answer
408 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
1 answer
315 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
633 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 .. ...
0 votes
1 answer
342 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} ${...
  • 2,099
0 votes
2 answers
265 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 ...
  • 1
0 votes
1 answer
357 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 ...
  • 1

1
2 3 4 5
18