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

How Loop count = -1 works in jmeter

Unable to understand how loop count = -1 works in jmeter? As per my understanding, when Threads = 2 Ramp up time = 2sec Loop count = 2 Delay between the threads = 2/2 = 1sec then, At 10:00:00, T1 ...
1
vote
2answers
96 views

Huge variation in response time of same application in two different environments

I have done execution in the JMeter tool in two different environments and found a huge variation in response time. For ENV1 I am getting nearly 3sec and for ENV2 it is coming < 1 sec. I checked in ...
-2
votes
1answer
1k views

I got an issue with database as Cannot create JDBC driver of class 'com.mysql.jdbc.Driver [closed]

Here is the screenshot for it [] I added everything but am getting error can anyone pls rectify where i did mistake ....!
-2
votes
1answer
252 views

how to extract “url ”using regualr expression extractor

]3 "url": "https://tinypng.com/web/output/96xgbqc264xu4xfkckc40x7xmkybu6ra" Need to extract the url and https from the above url can any one suggest me how to extract it from regular expression ...
1
vote
2answers
1k views

What is the default file upload and file download limit file size in http requests for uploading and download huge data files using Jmeter [closed]

Can anyone please suggest me ,default fileupload and download limit file size in jmeter using http requests. Thanks in Advance
-1
votes
1answer
46 views

JMeter: Database load test

I'm doing some load test on an MS SQL Database using JMeter. I'm able to connect and read a specific record using a JDBC Request. I would like to insert in my Table 100 records having the same fields ...
1
vote
2answers
454 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 ...
0
votes
1answer
657 views

How to decrypt the username in Jmeter

I am having an issue with an application, when am recording the flow in jmeter, username and password is coming in HTTP header manager in encoded format ("TWFuYWdlcjE6cGFzczEyMw=="), I tried to ...
-1
votes
1answer
156 views

xUnit equivalents for performance testing

Good evening everyone. I'm wondering if there are libraries in any programming languages that can generate load/performance tests. I'm picturing a test script that would fit in next to the ...
1
vote
1answer
298 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
1answer
99 views

How to check latency with JMS PUB/SUB in Jmeter?

Created 2 samplers: JMS publisher and JMS Subscriber JMS Publisher send msgs on one queue and JMS subscriber listens msgs on another topic. How can I link these msgs to show latency?? AUT is ...
-1
votes
2answers
463 views

How to use regular expression for Cookies in jmeter

I am missing something, now sure how to pass the Cookies if its expecting.
-1
votes
1answer
37 views

J meter Record and Playback

My question is how should I test a transactions using HTTPS record and controller.I have recorded one transaction,while running the playback option in jmeter the responses getting logged twice for ...
-1
votes
2answers
89 views

Getting Jmeter error: Padding is invalid and cannot be removed

Response data i am getting: Padding is invalid and cannot be removed.
0
votes
1answer
98 views

Unable to record using HTTP recording controller behind a prxoy

I am accessing some external sites using company proxy server, in order to record in jMeter i have to change proxy settings to local host. Due to this i am unable to record those sites using jMeter. ...
1
vote
2answers
752 views

How to extract dynamic values with jmeter Regular expression extractor?

Please let me know how to fetch the ID from the html using a regular expression & find the below expression i have used but am getting error response only. Response Body: "input type="hidden" ...
2
votes
1answer
278 views

What does finished threads mean in jmeter headless mode?

I am running a JMeter test in headless mode and here is part of my answer: As you see, it always Starts by 50 threads, but then only a few portion of threads remain Active and more than half of them ...
3
votes
1answer
2k 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
2answers
38 views

I have defined one variable Total_users=100 in test plan and want to define thread group in defined percantages of total users

I have defined variable Total_users=100 in test plan and i have four thread group. ThreadGroup1:- Dashboard(50% of total users), ThreadGroup2:- Order(10% of total users), ThreadGroup3:- Shipments(...
-1
votes
2answers
45 views

How can we pass payment Id from response to request using Regular expression extractor in jmeter?

here I am trying to pass payment id from request to response
0
votes
1answer
3k views

How to Handle the java,net.SocketException error in Jmeter?

I am running the load test with 100 users in JMeter. Application is working fine, but when I increase the load up to 200 users, few of the transactions getting failed. The error is Non HTTP Response ...
0
votes
2answers
367 views

I want to hide error and throw my own message in jmeter for Non HTTP response code: java.net.URISyntaxException

I am capturing URl and path from s3URL from previous response. Some time S3URL not generated then URL and Path not found. In this case i want to hide error because it is application issue not ...
0
votes
1answer
567 views

How to Handle Dynamic path in jmeter

How to handle Dynamic Request URL Path in Jmeter. This request is not recorded in Script, it dynamically appears only in Login page response where in two places.
0
votes
2answers
848 views

Jmeter - How send data from response to URL?

I need to send "id" from response to the next request in URL (like - - send/request/"id"). How do it right? Response https://joxi.ru/1A5374vhDENjXm Regular Expression Extractor https://joxi.ru/...
0
votes
2answers
87 views

How to analyse File Upload/ Download in JMeter

I am doing load testing for file upload and download scenarios in JMeter. I want to know which listeners are to be used and how to analyse the reports. Any link on analysis of reports will be helpful
1
vote
0answers
351 views

JMeter starting next thread loop using setTestLogicalAction(TestLogicalAction.START_NEXT_ITERATION_OF_THREAD)

In JMeter5.1 I am using a beanShell pre-processor to achieve following If previous request fails wait for 5 sec Start next thread loop But it is not restarting the next loop. Searched everywhere on ...
0
votes
1answer
549 views

JMeter - How can I send token and using it to the next request?

How to send token with this request? I send POST request with the body: https://joxi.ru/MAjyLKZHj7lXN2 I created Regular Expression Extractor to take a token: https://joxi.ru/LmGLPxGHwdPL32 Then I ...
-1
votes
1answer
31 views

Login call should hit before every call in Jmeter

In my projects' auth token, I can use it once then it expires so obviously other calls are also failing. All the sub calls are configured in the csv file(s), tied with multiple jmx file integration ...
0
votes
1answer
54 views

Having trouble getting WCF-based traffic to show up in JMeter recorder

I'm running into an issue with getting the traffic from a WCF-based Windows desktop client to show up in the JMeter recorder - and I'm hoping someone out there might be able to point me in the right ...
0
votes
2answers
2k views

I cannot open HTTPS web-page even I install certificate on Mozilla

I try to configure Jmeter on Ubuntu and I cannot open HTTPS web-page even I install certificate on Mozilla, HSTS statement appears on web page. LOGS in jmeter 2019/07/10 15:07:12 INFO - jmeter....
0
votes
1answer
2k views

How to compare jmeter graphs of multiple test cycles efficiently?

I created an automated jmeter test which gives me these nice reports: The test is executed every day. If I want to compare two cycles, then I need to open two charts and compare them, but I would ...
1
vote
1answer
343 views

Add extra columns in the existing csv using jmeter

I have a csv file contains around 1000+ rows. I need to add some extra columns in the existing file and also corresponding values of each row of information using jmeter script.Please can someone help ...
-2
votes
1answer
31 views

Application testing on jmeter

I am testing my application on jmeter but after we run the test the login is unsuccessful so how i can i extract the request verification token with single user so that i can login and test the ...
1
vote
1answer
79 views

Sample application for access log sampler

I am trying to learn about access log sampler and how to use it. I am looking for sample application which can generate access logs on tomcat server. Can anyone help me with such an application
0
votes
2answers
174 views

Code to update excel rows, is working in eclipse but not working in JSR223 PreProcessor/Sampler. No error is appearing and file is not updating

import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Iterator; import java.util.Date;...
0
votes
2answers
2k views

How to browse Excel file in JMeter?

Use case : I need to import orders from Excel file. I need to browse a Excel file.
1
vote
2answers
2k views

How to extract a number from response body in jmeter?

I am calling 2 different endpoints in my jmeter test. The first endpoint should provide me with a single number (for instance 568959) in its response body and then I must pass it to my second ...
0
votes
1answer
1k views

I want to write Java code in Jmeter to copy current date in a variable and use this variable in next request. Where should I write it?

This is my code: package dateTime; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format....
0
votes
1answer
190 views

file.exists() is returning false in JSR223 Assertion.When hit file path in windows explorer then file is getting open

String file = vars.get("downloadedFileName"); log.info("file name is " + file); String path= "C:\\Users\\abhishek\\Desktop\\JMeter\\apache-jmeter-3.3\\bin\\"; String filePath = path+file+".pdf"; //...
0
votes
1answer
66 views

Performance testing using jmeter scripts

When I have my settings of the script as below Concurrency : 1 hold-for: 0s ramp-up: 1s throughput: 10 iterations: 100 What does it mean
0
votes
1answer
54 views

What is the optimal time that performance/load tests should take when building an application?

So I'm on this project where we re-build our application on one of our environments on each merge to repository. I'm a Automation Tester, and have been doing functional and REST Api tests so far, no ...
1
vote
0answers
349 views

JMeter Selenium Browser not opening up new tab

I am executing my Jmeter test with Selenium and once I click on an Analysis link, it ideally opens up in a new tab on the same browser window. However, If I am click on the link using Jmeter Selenium, ...
1
vote
1answer
985 views

I am getting NET::ERR_CERT_AUTHORITY_INVALID when try to record script from JMeter

I setup the same proxy setting in my browser setting as in the JMeter. I tried to record some other website with same settings and they recorded successfully. Following is the screenshot of the ...
-1
votes
1answer
148 views

How to plan Jmeter test in a Website were multiple tabs and sub-tabs to match user experience

How do i design my Jmeter Test plan to get desired output for the below load test: The User experience and load pattern in the live website is in below order and i want to generate the load based on ...
0
votes
0answers
88 views

Extract and Reuse elements as list in JMeter

[{ elem1: value, elem2: value }, { elem1: value, elem2: value }] I want to be able to extract all elem2 value based on a regex condition on elem1 value from a JSON response. I ...
1
vote
1answer
1k views

How to edit or customize content of JMeter Dashboard Report generated in Jmeter v5.0?

I need to know what and where to change if I have to add an extra table in the dashboart report or if I wanted to add some extra metrics in the Statistics summary to show in the dashboard report. ...
1
vote
0answers
26 views

Last user gets stucked and never ramps down

I am running a script on AWS Machine. I have 30 users and when i run my script last user is likely to never ramp down. Also, I have cross checked many possible solutions that were on internet which ...
1
vote
1answer
630 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
1
vote
0answers
479 views

Unable to run For Each Controller in jmeter

I have list of names in my application which I extracted using regular expression extractor. Now i need to add ForEach Controller to run through the list of names but I am unable to get it working. ...
-2
votes
1answer
33 views

How to Extract PaymentKeys from below response in Jmeter

{"PaymentKeys":["2d34b3b2-ae35-4778-965c-6eb71421f32f", "82ba494b-7eb9-458a-914c-6542e73e0e22"],"Attributes": [{"Key":"CardIssuer","Value":"Unknown"}, {"Key":"MaskedCardNumber","Value":null}]}

1
3 4
5
6 7
17