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

Taurus - JMeter properties set via command line are not being picked up

I've got a JMeter test setup with the environment details (protocol, hostname and port number) set as properties. This is so I can repeat the same test on multiple environments through a pipeline. ...
  • 255
0 votes
1 answer
321 views

Taurus & JMeter - ignore setup/teardown requests in reports

I'm using Taurus to execute JMeter test files. In my JMeter files, I need to do a small amount of setup and teardown (for authentication purposes and data seeding). They aren't directly related to the ...
  • 255
1 vote
1 answer
3k views

Error when running my test plan in jmeter

Hello I don't know what happened but when I'm running my test plan in jmeter the results doesn't show. the last thing that I did is adding a jmeter graph plugins error: ```2020-10-22 17:01:12,305 INFO ...
  • 11
0 votes
2 answers
2k views

vars.get('var_name') in groovy outputs wrong value in JMeter

I've defined a variable in JMeter. But when I try to access the variable from Groovy script it gives 53 instead of 5, if I put 10 it throws an exception javax.script.ScriptException: org.codehaus....
1 vote
1 answer
431 views

HTTP Header Manager in test fragment is not working

I was testing some REST endpoint with JMeter. Each request requires access_token for calling any of this API. My access tokens are in a CSV file, for removing duplication I've used a test fragment ...
1 vote
1 answer
441 views

Tuning .net core 3.1 application load testing using Jmeter on linux

I want to do (distributed) performance/load testing using jmeter on an Aspnet core 3.1 application on linux but I'm not satisfied with the results I had so far. To make sure the environment is well ...
0 votes
1 answer
684 views

How to get variable in Flexible File Writer in JMeter

I was testing service with JMeter. I need to write the phone number into a CSV file and the phone number is a variable as you can see in the Debug Sampler. I was using Flexible File Writer for writing ...
1 vote
1 answer
780 views

Jmeter - Error Handling when assertion text failed

I have below requests in Jmeter, For the Search ID in Action I am verifying the assertion text. I want to implement that when I do not find assertion text, Jmeter script will not perform the next ...
1 vote
2 answers
3k views

Jmeter: Response Assertion - How do I assert that the response contains a variable name

I am new to Jmeter. I need to write an assertion to my http request. The HTTP request returns all the tags available as an array in JSON response and I need to assert that my tag, which I have stored ...
  • 21
0 votes
1 answer
1k views

Using Socks5 proxy in Jmeter Web driver support proxy config

In Jmeter after adding chrome driver support there is a proxy tab where we can give proxy. I am selecting SOCKS Proxy and giving the IP address as we are using tunneling and then connecting to a ...
  • 101
0 votes
1 answer
1k views

I tried to run a test plan in Jmeter but no results are displayed when I try to see the result as "view results as tree"

Whenever I run the test, the response I got on the error log is shown in the screenshot. Anyone who has an idea about this? please share it. It would be helpful.
  • 100
0 votes
1 answer
122 views

Jmeter: Can we change the username & password in a recorded Login page

I have recorded login page and exported to JMX. In Post method, i am giving invalid username and password, but test cases are passing. It should fail ideally. Does recorded script always PASS? ...
1 vote
1 answer
942 views

JMeter - csv data set with property as filename

In my setupThread, I firstly run some code to generate a property containing a file path. I then want to use this file path as the filename parameter for a CSV data set config (still within the ...
  • 255
1 vote
2 answers
37 views

Jmeter Testing Backend behaviour

I am new to jmeter load testing. I am doing tests for a web based application. Will the load testing actions can be seen from the DB BE? for ex: If I am doing load testing for ordering items from ...
  • 11
1 vote
1 answer
729 views

How to use Jmeter variable into JSON path expressions - JSON Extractor?

For example, my query is $._data[?(@.label == 'IssueID' )].id now in place of 'IssueID' i want to use the jmeter variable like $._data[?(@.label == ${IssueID} )].id or $._data[?(@.label == '${IssueID}'...
1 vote
1 answer
367 views

JMeter to Taurus - how to handle external property files and pass/fail criteria?

I've got a lot of JMeter tests setup - multiple test plans, thread groups, requests, asserts etc. We're using it for our functional API testing, as well as performance testing. I am now investigating ...
  • 255
0 votes
1 answer
74 views

In JMeter, what are some good methods to handle external dependencies?

As the title says, what are some ideas for dealing with non-API request related dependencies in a JMeter test? I have a series of tests that work with zipped-up data. The first step in the test is to ...
  • 255
1 vote
2 answers
76 views

Graphical front-end for jmeter

I use jmeter to test REST web services. For some customers, I'd like a graphical interface to show the flow of a script. I imagine tiles for each web service call and lines connecting those tiles to ...
0 votes
1 answer
668 views

Issue with switching / clicking an iFrame jmeter selenium

As on the image I have to click on the highlighted iFrame and I'm on Jmeter Web Driver Sampler. The issue is the bottom part of the iFrame id will get change time to time. So can't exactly identify it ...
  • 2,099
1 vote
0 answers
184 views

How to correctly understand measureed JMeter PerfMon plugin CPU percentage metric?

I have question about JMeter PerfMon plugin which is measuring percentage use of CPU which my Dropwizard app is consuming. Important things to mention: Operating system is Linux Fedora 31 64-bit OS. ...
  • 143
1 vote
0 answers
60 views

How can I solve "ERROR k.a.j.j.JMXMonSampler: The client has been closed" in JMeter after installing SSHMon Sample Collector in JMeter?

I have a problem regarding running jp@gc-Graph Generator plugin more than two times in my TestPlan in JMeter. I get following stacktrace in Log Viewer panel : 2020-08-25 17:23:29,114 INFO o.a.j.e....
  • 143
0 votes
1 answer
289 views

How to handle runtime request value change in JMeter which is generated in results?

In my project application, after login dashboard can be seen in which there is a Projects section where we can see a sequence of projects with an edit icon to open it. I'm recording a scenario where ...
1 vote
2 answers
931 views

How to perform HTTP PUT Request by reading values from CSV in JMeter?

I have a question how can I set up HTTP Request Sampler for HTTP PUT method in JMeter so it can read data from CSV file using CSV Data Set Config? In my scenario I'm using **Concurrency Thread Group** ...
  • 143
1 vote
1 answer
3k views

How can I output the Debug Sampler's output to the JMeter log?

I have several JMeter variables that are read in from User-Defined Properties, read from a CSV, or extracted from an HTTP response. I need to be able to output the variables in a log file, and want to ...
  • 173
0 votes
1 answer
553 views

How to remove the info message "Not storing invalid cookie" from Jmeter log

While running my Jmeter test I am observing too many following info logs, Using Jmeter 5.2, any clue how to exclude them from the log? 2020-08-04 06:35:10,791 INFO o.a.j.p.h.c.HC4CookieHandler: Not ...
0 votes
1 answer
1k views

JMeter - can multiple thread groups use different rows within the same input csv file?

As part of my setUp Thread Group, I plan on creating objects that I need to refer to later on. Some of these objects are to test particular request methods like GET/PATCH/DELETE - things that need a ...
  • 255
0 votes
1 answer
171 views

Possibility of sending JMeter Result to Azure Cosmos DB

Context: I am trying to send my performance result to azure cosmos db using post call ,through the end point exposed and can be access by using the master key. The JSON format of the payload is ...
1 vote
1 answer
829 views

JMeter - Pause threads for a random number of seconds when a specific code is returned from an API call

I have a situation where I need to pause all of the threads to a particular endpoint when I receive a specific error code from the response. So I basically need to look for this error code (ex. 404) ...
0 votes
2 answers
987 views

Getting error in jmeter beanshell response while code is working fine in eclipse

I have created a java program to count occurrences from a csv file and working fine in eclipse. Below is the code. import java.io.File; import java.io.FileNotFoundException; import java.io....
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 ...
0 votes
1 answer
2k views

JMeter - how to use external property files robustly in GUI and non-GUI mode?

I've got a JMeter test plan that I'm in the process of amending to use external property files for environment details and thread group numbers - similar to this link: https://octoperf.com/blog/2019/...
  • 255
3 votes
4 answers
2k views

Jmeter (jmx) - How to run requests sequentially where first request response is dependent on the second request

I'm using jmeter for load testing so I'm a little bit stuck at this situation. Below is the scenario. There are two HTTPS (target1 and target2) requests, which needed to be generated sequentially in ...
2 votes
2 answers
112 views

Is it possible create more threads that specified in ThreadGroup in Jmeter?

Is it possible create more threads that specified in ThreadGroup in Jmeter? I need to make a test with 10 threads and 10 iterations with a random pause of 2 to 5 seconds between requests. As I know ...
2 votes
1 answer
1k views

Random pause of 2 to 5 seconds between requests Jmeter

I need to make a random pause of 2 to 5 seconds between requests. I suppose, that it is a constant timer with such settings as ${__Random(2000,5000)}. I can't understand where should I create this ...
1 vote
1 answer
296 views

How to record and run the script in JMeter for multiple users doing multiple navigations

I am new to JMeter. My requirement is as follow: I wanted to check the performance of my web application when two user logged in same time and doing different actions/navigation after logged in. I ...
1 vote
1 answer
3k views

Getting timeout error with JMETER VERSION 5.21 Non HTTP ConnectException connection timeout failure

I am simply trying to launch an application with JMETER 5.2.1 for one user. The webserver SSL certification was recently updated because the previous certification had expired. Prior to that JMETER ...
  • 11
0 votes
1 answer
1k views

Algorithm for generating PASSWORD_CLAIM_SIGNATURE parameter to assign in the script in jmeter

While load testing the login module in jmeter, using X-Amz-Target AWSCognitoIdentityProviderService.RespondToAuthChallenge, how is the value for PASSWORD_CLAIM_SIGNATURE parameter assigned in the ...
1 vote
1 answer
36 views

Recording Save functionality in Jmeter

Suppose If I perform save functionality in recording with one thread count(Blazmeter tool).Now run the same (which I recorded earlier) .jmx file in Jmter with 100 thread count. My question is whether ...
1 vote
2 answers
214 views

First HTTP request is taking more time than usual

First Business transaction: First HTTP request - performing edit functionality on the Add User Page (Login --> Homepage --> Adduser) is taking more time than usual. (Delay in launching URL) Second ...
1 vote
1 answer
206 views

How to record Jmeter Script - Browser Proxy Settings window is disabled and not allowing blazemeter chrome extention

In our organisation, Browser Proxy Settings (connections) window is disabled and not allowing blazemeter chrome extention. Please help me, to record the script with jmeter?
1 vote
1 answer
732 views

How to open browser windows one by one with Jmeter selenium

I was using jmeter with jp@gc - WebDriver Sampler plugin on Chrome driver. When I set thread count to 100 it will open 100 browsers. Is there any way to open the browser 1 after another? Below is ...
  • 2,099
3 votes
1 answer
47 views

Different functionality under one scenario

I want to edit the "Register Form" with 100 users. Out of 100 users, 98 users will click edit and perform some changes and then click save button remaining 2 users will click the edit button and ...
0 votes
1 answer
722 views

Move files from source to destination in jmeter

Further to this question Unable to print the individually reporting status using Label of JSR223 Sampler in HTML Dashboard Report of JMeter. I am executing a test plan on the server where I have moved ...
  • 203
1 vote
1 answer
126 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 ...
0 votes
1 answer
161 views

Unable to print the individually reporting status using Label of JSR223 Sampler in HTML Dashboard Report of JMeter

I am executing a test plan where I have moved the files from source to destination one by one by using for each loop in JSR223 Sampler of JMeter. I am unable to print each fIle's status that has been ...
  • 203
1 vote
1 answer
162 views

How to execute multiple test fragments in a single thread group through commandline

I have a test plan in which i am using 5 Test Fragments given below and using a single Thread Group Test Fragment A Test Fragment B Test Fragment C Test Fragment D Test Fragment E If i use 5 Module ...
0 votes
1 answer
451 views

How to check the files are present or not after sent those in a destination directory using jmeter?

I have created a test plan using JMeter in which I have just moved the files from source folder to destination folder and in that, I have successfully succeeded. Now the main problem is after moving ...
  • 203
2 votes
2 answers
4k views

How to convert .har files to .jmx files?

I am fairly new to Performance testing and need some help!! I am writing scripts for an internal application that makes a ton of AJAX calls. I am unable to set up a proxy server to use the JMeter ...
1 vote
1 answer
3k views

How to regenerate auth tokens based on conditions in Jmeter

I'm working on testing some API's (10-15 in number) that uses Bearer token for authentication. The token has an expiration condition post which I have to re-generate the token. I've not worked on this ...
  • 3,540
0 votes
1 answer
256 views

How to ramp up and ramp down the test plan using selenium/WebDriver in JMeter

I am executing the test plan using selenium/webdriver sampler in JMeter using concurrency Thread Group. I want the real pacing of test plan means First I want to set the ramp-up for supposing 10 users ...
  • 203

1 2
3
4 5
18