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
235 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
23 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
18 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
55 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
209 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
20 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
2k 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
322 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
478 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
438 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
93 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
902 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
2 answers
178 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
38 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 ...
1 vote
1 answer
880 views

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

Here are the steps I have followed so far.... Recorded steps using Selenium IDE Then I export it (".side" file) into a java(junit 4) file. Created a maven project and added the necessary ...
0 votes
2 answers
885 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 ...
2 votes
1 answer
98 views

How to hide(child samplers) in jtl and html report using jmeter tool

After making changes in JMeter but still I can able to child samplers. I have followed this link How to hide (Child samplers ) in jtl and html report Below are the changes I made in JMeter: Unchecked ...
0 votes
1 answer
243 views

I am getting 403 response code while uploading file in jmeter

Am working on one application & i created script using dev tools after uploading file using csv data and everything using http request am getting 403 response code can u pls suggest me about this ...
-1 votes
1 answer
81 views

How to hide (Child samplers ) in jtl and html report

Executed the test in Non GUI mode and jtl file child samplers are also got generated and after reading the articles tried to uncheck the Save the subresults and clicked on done but still child ...
1 vote
2 answers
113 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(...
0 votes
1 answer
169 views

JMeter: Use Command line sh jmeter -n -t <test JMX file> -l <test log file> run test plan does not end on mac

When I run the test plan in JMeter, it is working fine, but use command line jmeter -n -t <test JMX file> -l <test log file>, the run cannot stop. The number of thread user is "1"...
16 votes
6 answers
75k views

How to run JMeter test plan for specified amount of time?

How to run an JMeter test plan that it should be completed in specified time or it should be terminated within that stipulated time? Please throw me light on this question.
0 votes
1 answer
51 views

JMeter - cannot use recorder for internal site that has some resources that should use corporate proxy

I have a site that sits within corporate firewall. When I start JMeter with corporate proxy address defined (ie parameters in command line) and start recording a scenario, page gets blocked by ...
1 vote
0 answers
434 views

Getting error in Response header Location field

We are doing web application scripting using JMeter. In the flow after submitting the application URL is redirecting and we are getting one auth token in the location field of response header which ...
0 votes
1 answer
365 views

How to extract the __RequestVerificationToken cookie in JMeter?

In an ASP.NET web application, at first, I got the error of the anti-forgery token not being matched. This has been resolved by using the CSS Selector Extractor as a post-processor in an HTTP Request, ...
-1 votes
1 answer
82 views

How to push my JMeter WEB DRIVER(Selenium Scripts) project to Azure Github Repository and run it via Azure Pipeline

Company requirements is to integrate JMETER WEB DRIVER(SELENIUM SCRIPTS) with AZURE PIPELINE so could anyone please help me the easy way process please? In the VM the installed software's are below: 1....
0 votes
1 answer
2k 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 ...
0 votes
1 answer
76 views

I want to confirm whether Jmeter's IP Spoofing only works on local networks and not for public?

Suppose I want to hit Server A on the internet, I have a public IP aa.aa.aa.aa and local IPs bbb.bbb.bbb.bbb, ccc.ccc.ccc.ccc. When hitting Server A, what will be recorded in the server log is only ip ...
1 vote
2 answers
101 views

API Performance for 30 user, after 1 second

I want to hit an API with different data that will be fetched from a CSV and this data will be hit one at a time after every second. What I did is that used CSV data config to upload data and in ...
-1 votes
1 answer
182 views

How to extract the values dynamically using JMeter?

I am testing one application using JMeter. 1st I record using blaze meter and do login and do some check box action and get my input. it for one user. for multi login, for users (user id, password) I'...
0 votes
2 answers
223 views

Not able to run tests on remote host using Jmeter Distributed Testing

I am trying to configure a distributed load testing setup for a browser based testing. Below are the settings used: Settings Done on Client machine: Made one change in meter-server file in jmeter/bin ...
1 vote
5 answers
10k views

Jmeter's WebDriver Sampler VS. Selenium

Now that Jmeter has a webdriver sampler, is there anything that regular selenium can do to test a UI, that Jmeter still can't? For example, I use Selenium in Java to do things like getting html ...
1 vote
2 answers
5k views

How Jmeter's Aggregate report calculates total time of "Transaction Controller"?

Whenever I navigate to a page in my website, 63 number of requests will hit server. Some of them will be sent concurrently and others will be sent one after the other(After receiving response from ...
2 votes
2 answers
3k views

How to make sure HTTP Request completed then proceed to next request using JMeter

Recently I'm new to JMeter, I have 9 HTTP requests and I want to make sure all the threads must run accordingly in order to complete the whole task in my project. Moreover, I do not think, that adding ...
0 votes
1 answer
2k views

How to increment alphanum value in Jmeter inside a loop counter

I have requirement with increment value for each iteration and using loop controller. I tried with the _V function and __intSum(${myVar},${__counter(,)},)}. it's incrementing only for digit and not ...
3 votes
1 answer
18k views

Jmeter Test is not getting stopped?

Run a test in Jmeter. After that terminate it abnormally. GUI is showing that test has been stooped but the test is being run at the backend I tried to close it from the close button but it is giving ...
1 vote
3 answers
766 views

JMeter performance testing with the same user performing multiple scenarios

Just consider an admin account: Using JMeter I can record a script: goto url -> sign in -> create order if I create Thread group of 10 this means -> these 10 users will do the same action ...
4 votes
4 answers
24k views

Jmeter throws "org.apache.http.NoHttpResponseException"

We use Jmeter to do performance testing. I gave 10 threads(10 users) with ramp up time 60 secs, 4 out 10 users failing to logout getting org.apache.http.NoHttpResponseException: The target server ...
-1 votes
1 answer
218 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
366 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.
1 vote
2 answers
5k views

JMETER: Getting timestamp error in log file when giving CSV filename in Summary Report

When I am giving a CSV filename path in Summary Report, I get an error to see log file. I see log file and it shows: 2019-01-30 14:23:38,146 WARN o.a.j.s.CSVSaveService: Unknown column name 2019-01-...
3 votes
3 answers
12k views

Content encoding = utf-8 problem while testing a web application using jmeter

I’m new to Jmeter and I'm currently testing a web application using Jmeter. When I’m trying to record using HTTP(S) Test Script Recorder, Jmeter records 'two' HTTP Request for 'one' static screen (I'm ...
0 votes
1 answer
10k views

Jmeter - How to fetch IDs from a json response and use it in the next request

From a JSON response of the format below, {"data":[{"id":"xxx","data":{"A":"111","B":"222","C":"333"}},{"id":"yyy","data":{"A":"111","B":"222","C":"333"}}] I need to fetch only IDs and pass it in ...
1 vote
1 answer
144 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: ...
0 votes
1 answer
3k views

How to convert xml file to jmx file in jmeter?

Please refer the XML data below: <?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.8" jmeter="2.13 r1665067"> <hashTree> <TestPlan guiclass=...
2 votes
1 answer
194 views

JMeter - How can I check mail count in gmail box thread by thread

I'd like to connect gmail server before user thread group, and I wanna open inbox and check mail count in every user interaction. Connect gmail ones Check registration emails many times (100, 1000) ...
6 votes
1 answer
918 views

Nothings gets recorded when using JMeter for load testing of Vaddin-based app

We have been trying to do a Quick Load test on one of the POC application developed in Vaddin using JMeter tool, the server is hosted on local network. The settings for automating Vaddin application ...
1 vote
2 answers
1k views

Jmeter - Test scenario 1000 users are visiting multiple static pages

Test Scenario details: 800 users on Web site and going up to 1200. We need split of users in following way: 200 Users on Home page 50 users on categories page 450 users on Web page #1 200 on web ...
0 votes
1 answer
109 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 vote
1 answer
482 views

Difference between JMeter - HTML Dashboard Report(Response Times Over Time) and Response Times Over Time Listener

I have observed difference between JMeter - HTML Dashboard Report(Response Times Over Time) and Response Times Over Time Listener. I am using JMeter version 3.3 HTML Dashboard Report shows Peak value ...

1 2
3
4 5
19