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

Bad request error on jmeter file upload request

I am using JMeter to perform file upload test. I have created an HTTP request to upload the file but I am getting 400 Error. Following is the data I am using to perform the test. File type is PDF ...
0 votes
3 answers
120 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
277 views

JMeter- multiple user login and extract the user id and password without using csv file

I am new to jmeter. so I need to know what is the alternative for csv data set config because if I use csv data it okay for couple of user but every time i need to change or add the data in file. it ...
0 votes
1 answer
14 views

How to capture response time between moving 1 request to another request in jmeter?

My scenario is, I am on page 1 and want to move to page 2 on search result page. I want to Capture response time or the time taken to navigate from 1 page to 2nd page of search result. How can I ...
0 votes
1 answer
37 views

How to check the perfomance for the site in mobile browser using jmeter

Please provide me the step of checking the performance and website open in a mobile browser and get the OTP after adding the mobile number. I want to know the configuration of the mobile with Jmeter ...
1 vote
2 answers
6k views

I cannot open HTTPS web-page even with installed certificate on Mozilla

I try to configure Jmeter on Ubuntu and I cannot open HTTPS web-page even with installed certificate on Mozilla, HSTS statement appears on web page. LOGS in Jmeter 2019/07/10 15:07:12 INFO - jmeter....
1 vote
2 answers
89 views

jMeter - Paramater from JSR223 PreProcesser is not replacing the parameter in JSON request body in the request

mobileNubmer is being generated in JSR223 PreProcessor but it's not replacing the parameter in the request body (JSON). Here is my setup and what am I doing wrong? JSR223 PreProcessor def randomValue =...
1 vote
2 answers
48 views

How to record applications which are using HTTP/2 protocol with Jmeter 5.5

Our applications are built using http/2 protocol. Jmeter 5.5 HTTP test script recorder, by default captures as HTTP1.1 requests. Tried to record a script with Blazemeter recorder plugin in chrome ...
0 votes
1 answer
263 views

Table row data is not being accessed under table body in Jmeter

I am trying to access the table row data which is under the table body. Following is my HTML: <div class="panel panel-default" id="confirmationNotificationPanel"> ...
0 votes
2 answers
112 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
10 views

Facing 500 series Error while running Jmeter Selenium script in Azure pipeline

while executing the Jmeter selenium scripts in azure pipeline ,I repeatedly seeing the error 500 error saying that "No Such Session Found" But while running the same script in our Virtual ...
0 votes
1 answer
10 views

Every Vusers should pick new file

Vusers- 10, Files -250 ,Duration - 3600 Target is to upload 250 Files and file names is Payroll0, Payroll1 ,Payroll2, Payroll3,....Payroll247, Payroll248,Payroll249, Payroll250. Using JMeter Selenium ...
0 votes
1 answer
2k views

JMeter - Header manager alters the headers during test

I have extracted the jwt token from the User login controller through my http service my test plan looks like this: As seen in the images in login request it takes the header of Breakdown ...
0 votes
1 answer
112 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
9 views

jmeter testing mysql and neo4j - neo4j gives me 0 latency and load time comparable to on database execution, but for mysql latency is as big as load

I am testing neo4j and mysql with queries that I want to compare later by latency and sample time considering jmeter as imitation of some web service. I am doing tests for 10000,100000,1000000 rows in ...
0 votes
2 answers
243 views

How to run multiple thread groups in 1 hour duration in JMeter

I have given in each thread duration as 3600 seconds. I want to run all thread groups to run in 1 hour exactly. Please let me know how to set it in Jmeter.
0 votes
1 answer
12 views

Every Vuser should pick different file name

Using JMeter Selenium for web based application so every Vuser should pick different file. Ex:-" User1 ---->Payroll1,User2------>Payroll2,User3------>Payroll3,User4------>Payroll4........
0 votes
1 answer
2k views

Multiple simple controllers inside a thread group in JMeter

I have two loop controllers inside a simple controller. But it stops running after the execution of first loop even if the results is successful. Structure is given below ThreadGroup Simple ...
0 votes
1 answer
2k views

jmeter v5.1.1 - cannot generate html report

I have a result file of Concurrency Thread Group test of 500 users. The file has aproximetly 58K rows and 16Mb 1) I tried generating a report through "Tool > Generate html report" but get time-out ...
0 votes
1 answer
112 views

Unable to locate element: {"method":"xpath","selector":"//*[@id="root"]/div[1]/div/main/div/section/div/section/div/div/ul/li[1]/a"}

The chrome browser version is Version 115.0.5790.171 and downloaded chrome driver version is 114 [![enter image description here][1]][1] as driver version 115 is not available. I'm using the x-path ...
0 votes
2 answers
42 views

Use the token details received from Okta as cookies to the main domain

I want to add the Okta token's received from a redirected URL to another domain as cookies in the same thread group. I have tried the following and not working Add HTTP Cookie Manager under Test Plan ...
0 votes
1 answer
35 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
354 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 vote
1 answer
787 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
0 votes
2 answers
128 views

How to analyse File Upload/ Download in JMeter?

I am doing load testing for file upload and download scenarios in JMeter. I would like to know, which listeners can be used for such purpose and how to analyse the reports? Any link on analysis of ...
0 votes
1 answer
249 views

Jmeter - All threads other than current thread wait

I am new to Jmeter and I have been struggling with my test plan. Test plan steps: Enters the site Creates multiple wish lists (like the wish list on amazon) In the wish list dashboard the order of ...
0 votes
1 answer
378 views

JMeter - How to rampup a specific number of users and to control their iteration per second

I've a requirement for a performance test which says: To ramp-up in 30 minutes, hold the iterations for 60 minutes and then to ramp-down in 30 minutes. The Iteration includes 6 transactions The ...
1 vote
2 answers
182 views

JMeter - Multi User login to a site, each user picks up one number randomly and send HTTP request

I have requirement given below. 100 different users (Defined in CSV file) - Login to a site sequentially. Simultaneously logged in users start to a pick a Number from a CSV file (Totallu 10,000 ...
2 votes
1 answer
38 views

Need to replace "\x2D" on a extracted variable at Jmeter

I was working with on a Jmeter script. At the 1st Response I have extract a lengthy code which I have to pass to the next request. Unfortunately, the 1st request contains "\x2D" characters , ...
0 votes
1 answer
168 views

Jmeter while controller 2nd condition not working

I have a thread group with a While controller. At there I have set below condition. ${__javaScript(((${__time()} - ${LOOPSTART}) < 600000) || ("${Queuing_Status}" == "QUEUED")) ...
0 votes
1 answer
15 views

Jmeter UltimateTgreadGroup - How to set number of threads and load dynamically

I am trying to create a set of dynamic parameters in Jmeter Ultimate thread Groups, which will be inserted from Jenkins. Variables are set on Test Plan level and are definitely read and recognized: ...
-1 votes
1 answer
12 views

Open Source Monitoring Tools For Performance Testing Alternative To Appdynamics

Company requirement is to install Open Source Monitoring Tool For Performance Testing which is Alternative to AppDynamics. To find out which class is taking more time , which method is taking more ...
0 votes
1 answer
32 views

JMeter - out of memory exception when designing test script even after increasing heap size

I'm getting heap size errors when working with my test plan. I'm not executing it - these errors occur when doing the following: do a search for a string within the test plan copy or move http ...
1 vote
1 answer
204 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 ...
0 votes
1 answer
18 views

How to get jmeter raw results for cancelled workflow in github actions

I have configured Jmeter load tests with GitHub actions workflow. Some times we need to cancel/stop the workflow due to errors. I would like to collect the Jmeter raw results. I added below step to ...
0 votes
2 answers
1k views

Im trying to open jmeter using jmeter.bat command prompt is directly closing its not storing how to resolve this issue?

Can anyone please suggust me to solve this issue?
0 votes
1 answer
302 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
465 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 vote
1 answer
426 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&...
0 votes
2 answers
76 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 ...
1 vote
1 answer
898 views

Record script using JMeter proxy from command line

I have one requirement: I need to execute a command in command prompt that should trigger “Start” button of “HTTP(S) Test Script Recorder”. Even if I don't press “Start” button, the HTTP response ...
0 votes
1 answer
2k views

How to pass dynamic pass parameter values in jmeter using beanshell pre-processor?

I want to select books which is 'In-stock'. Each time number of 'In-stock' vary dynamically. Some time we have only 4 books "In-stock". some other time more or less than 4 books 'In-stock'.
0 votes
2 answers
135 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
25 views

how to pass Jmeter correlated value to sitespeed.io input as cookie in GitHub actions

I have setup GitHub actions with Jmeter and I would like to validate page load times with Sitespeed.io tool. So I have created a workflow in which I have included 2 steps. Run jmeter login script and ...
0 votes
1 answer
3k 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
1 answer
4k views

How to parse Json data which is in the HTTP post request in JMeter

Here is the Json Data: filterKeys":{"${FilterGroup}":["Phenols"]},"lastFilterGroup":"${FilterGroup}"} I have to extract phenols from the post request for every filter group this value changes.
0 votes
1 answer
462 views

How do I view the blazemeter sense report when I run the jmx script via the terminal or Jenkins?

Recently added the blazemeter sense uploader plugin for reporting purposes and it is really nice. Post running the script, you get a sense.jtl file and a url to view the reports on the browser with ...
1 vote
1 answer
1k views

How to get number of requests sent and actually received by server in JMeter

I'm using Jmeter in remote env.(1manager server, 3-5 querying servers, 1 target server). I have fixed EPS/QPS and threads(gradually increasing up to a certain value). I want to know if there is any ...
2 votes
1 answer
335 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
8k 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 ...

1
2 3 4 5
19