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
104 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
1answer
135 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 ...
0
votes
1answer
25 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 ...
1
vote
2answers
40 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
1answer
209 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 ...
1
vote
0answers
59 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. ...
0
votes
0answers
10 views

build-timout plugin for jenkins

I am trying to setup build-timeout plugin to jenkins template. Could anyone let me know, how to integrate or setup build-timeout plugin in jenkins for template.
0
votes
0answers
39 views

I need to capture csv file name which is currently participating in Test

I am using CSV Data Set Config inside loop controller. I need to capture csv file name which is currently participating in Thread Group for further use. I have multiple Thread Group and each Thread ...
1
vote
0answers
27 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....
0
votes
1answer
71 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
2answers
68 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** ...
1
vote
1answer
530 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 ...
0
votes
1answer
197 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
1answer
534 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 ...
0
votes
1answer
79 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
1answer
323 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
2answers
244 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
1answer
805 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
1answer
908 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/...
2
votes
4answers
227 views

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

I am using jmeter for load testing so I am 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
2answers
50 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 ...
1
vote
1answer
362 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
1answer
113 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
1answer
1k 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 ...
0
votes
1answer
378 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
1answer
30 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
2answers
37 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
1answer
49 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
1answer
276 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
votes
1answer
42 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
1answer
316 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 ...
1
vote
1answer
32 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
1answer
64 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 ...
1
vote
1answer
36 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
1answer
140 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 ...
1
vote
2answers
1k 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
1answer
1k 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 ...
0
votes
1answer
112 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 ...
0
votes
1answer
153 views

Automation testing for video chat web application upto 20 users?

I have a video conference web app for multiple users to login and chat . I want to automate below scenario by using selenium and Jmeter Scenario - test this application for max of 20 users login into ...
1
vote
2answers
3k views

JMeter - FileToString with relative file path to test plan?

I've got a JMeter POST request that has body data like below: ${__FileToString(/${json_request}.txt,,)} The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
0
votes
1answer
760 views

Jmeter test plan is not running using chrome headless mode in jmeter

Further to the previous question Unable to execute the test plan using chrome driver headless mode in jmeter using selenium, I have added the explicit wait of 150 seconds and run the test plan with ...
0
votes
1answer
25 views

how to select a value based on the value of a chooseRandom function?

I'm currently writing a post request witha a JSON body. i'm wanting my JSON to produce unique data on each iteration of test plan, but due to dependancies, this is leading to my requests sending ...
2
votes
1answer
2k views

Unable to run the JMeter test plan on Ubuntu Server getting an error `NonGUIDriver java.lang.IllegalArgumentException`

I am executing the Jmeter test plan on Ubuntu Server but at the end left with an error saying: Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/testScripts/...
0
votes
2answers
83 views

Jmeter | Groovy functions aren't working

I am currently following the 'Blazemeter Jmeter Pro' certification training and while working on an exercise, I noticed that for some reason, the groovy functions aren't working for me. Let me show ...
0
votes
1answer
38 views

How to get the Combined report of multiple threads when they are accessing the same URL

I am executing a test plan in which I have used two thread groups in which I have used multiple Selenium/WebDriver samples just for getting the URLs with the help of getCurrentUrl() function. In the ...
0
votes
1answer
41 views

Send the same JSON several requests but with different value in a node via POST with Apache JMeter

I am testing the behavior and performance of an endpoint and I have a JSON to test it, so I am sending via HTTP POST that JSON with Apache JMeter. When sending a single request there is no problem (...
-1
votes
1answer
205 views

Unable to Retrieve Json value from CSV file

I am in need to send Json value as payload which is stored in csv file using CSV config element in Jmeter But in Jmeter value is not properly updated only bracket is updated in the payload fields
1
vote
0answers
65 views

How to get the AJAX request using the Selenium Webdriver in jmeter?

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but I want to also show the ...
2
votes
1answer
153 views

Unable to get the results for a particular URL after using the getCurrentUrl() function in the script

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but didn't get any response ...
0
votes
1answer
600 views

Set the default value to the jmeter local variable same as the property variable

We can set the default value for property variable ${__P(Threads,1)}, if Threads is null then the default value 1 will be used. Now I want to use the variable in the same way. We can call the ...

1
2
3 4 5
17