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
2answers
1k views

JMeter test for Cas Log into AJAX application

I am trying to load test an AJAX application with cas log in. I recorded and played back the script; I saw user info in log just after recording it and playing back, but as soon as I closed HNX and ...
1
vote
1answer
9 views

what is the best approach to run performance test for scaled down environment?

I have a task for load testing on application by 1,000 concurrent users. we are allowed to run load test on pre-prod environment which have 25% from production environment what is the correct ...
1
vote
1answer
26 views

Jmeter Multi Tenant

Stuck on a multi tenant load test. I have 10 sites and each site will run the same exact test with the same users. I first created the script with 10 thread groups (1 for each tenant)and works but ...
1
vote
1answer
17 views

Stop http request after certain condition using JMeter

I have my HTTP request and have some conditions need to wait get at least 1 results or complete=true from the response, but also i want to add if keep executing to satisfy the below condition i want ...
1
vote
1answer
30 views

How to get id and name using regular expression and json extractor

[{id:1, name:"test1"}, {id:2, name:"test2"}, {id:3, name:"test3"},...] get id based on the name get id's based on the list of names
1
vote
1answer
37 views

Install Root CA certificate in mobile to use JMETER Script Recorder but showing No internet connection while running the mobile application

I am using the JMeter for recording API logs through HTTP(S) Script Recorder and I have also installed the ApacheJMeterTemporaryRootCA certificate in the mobile and set the WiFi setting in manual ...
1
vote
1answer
459 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 ...
1
vote
1answer
149 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 ...
1
vote
1answer
124 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
2answers
488 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 ...
1
vote
1answer
194 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 ...
1
vote
2answers
24 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 ...
1
vote
2answers
38 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 ...
1
vote
1answer
297 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 ...
1
vote
1answer
250 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) ...
1
vote
1answer
602 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 ...
1
vote
1answer
261 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
83 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 ...
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
36 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
745 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 ...
1
vote
2answers
2k 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 ...
1
vote
1answer
38 views

How to configure Step Load Test in jmeter

We are planning to do a step load test to find the max user our sever can withstand. Scenario is to ramp up 200 user and add steady state of 15 minutes than ramp up 100 user and add 15 minutes steady ...
1
vote
1answer
960 views

How to set Chrome driver for selenium/Webdriver in Jmeter non-gui using Command prompt?

I am executing the load test plan using the non-GUI mode of Jmeter and I want to set the chrome driver using non-GUI mode. I have used the below command for executing the test plan and storing the ...
1
vote
1answer
115 views

Why JMeter Ultimate Thread Groups create incorrect number of users?

When I'm using the original JMeter Thread Groups and set 10 threads (users), it fires 10 external HTTP calls. When I changed it to Ultimate Thread Groups (UTG) and set the following attributes... ...
1
vote
1answer
119 views

How to execute load by 4 users every user generate 100 requests hitting the server at the same time

I want to run a load with this below scenarios 1- 4 users each user send 100 requests to the server 2- 4 users all together send 100 requests to the server Server specs 16 GB Ram CPU 4 cores HD 120 I ...
1
vote
1answer
415 views

How to do load app socket testing?

We are handling the calling functionality through a socket connection in mobile Application, so anyone helps that know how to test the load on the socket connection? Jmeter is helpful for testing the ...
1
vote
3answers
147 views

Network connect lost in JMeter it goes more then 500 request

When I am using the Jmeter I created multiple threads(More than 500) when I started for the more than 500 requests on the server in 10 Seconds, then I can't get any response and API goes fail and my ...
1
vote
1answer
842 views

Can we run One thread group with multiple threads but hitting same request by all threads concurrently in jmeter?

I have a one thread group with 100 requests in it, I am passing some ids from one request to another (it is a one complete flow of application). What I want to achieve is if I give 50 threads, each ...
1
vote
1answer
134 views

JMeter response times too high compared to fiddler

The response times are normal within 2-3 second range when running in fiddler (while the performance test is ongoing) but the jmeter 5.2 results are >100 seconds for most of the transactions. I have 8 ...
1
vote
1answer
980 views

Empty csv file showing non empty in report generation in non-gui mode in jmeter

I am trying to generate an HTML report dashboard for JMeter test in NON-GUI mode with a command jmeter -n -t C:\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin\DeviceManagementSystem1.jmx -l C:\Users\...
1
vote
1answer
52 views

JMeter: I have to run scenario where I am loading the api

I have to start with 100 users and keep increasing them gradually until they reach 1000 and I have to run it for some duration. I am trying threads as 1000 and ramp up as 10 that means 100 users will ...
1
vote
1answer
94 views

performing load test for encrypted application using Jmeter version5

how to do load test for encrypted application using Jmeter, where the application is encrypted across all pages? The application is developed in angular JS technology.
1
vote
2answers
38 views

Does Jmeter tests Server Load or Database Load?

When we test load in Jmeter and an API makes a call to database; do we test server load or database load ?
1
vote
2answers
523 views

Jmeter 1 Thread Group and Multiple HttpRequest

I have the following Jmeter configuration where I have 1 Thread Group with Number of Threads 1 and under this 4 HttpRequest I have defined. The loop count is forever. My question is how will my ...
1
vote
2answers
95 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 ...
1
vote
2answers
381 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 ...
1
vote
2answers
615 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" ...
1
vote
1answer
297 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 ...
1
vote
1answer
56 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
1
vote
1answer
762 views

Not able to launch JMeter after a certain time

I lately updated to the JMeter 5.0, and initially, it worked fine. But after some time, say after a day, it does not open when I try launching it. I tried launching it by clicking the jar file of ...
1
vote
1answer
181 views

Jmeter extract from first sub sample

Is there a way to only parse the first sub sample of a HTTP Request? I have request that gives two sub samples. The first sub sample is 302 that redirects to the second sub sample. In the first sub ...
1
vote
1answer
4k views

Call Python class in JMeter

How can I call python class in JMeter to test the performance of the python code as we do in java by importing jar file and write a script in BeanShell?
1
vote
1answer
557 views

Deviation in JMeter

I am new to Web API development. I have created a small Web API, which returns a JSON output. The Web API is running on another PC in the same network. I have been connected to the API via GET ...
1
vote
1answer
4k views

Html file is not generated in JMeter report in non GUI mode

I run my test plan in non GUI mode and it executed successfully, however it was only the csv report that got generated while the html report wasn't generated in the specified folder. this is my folder ...
1
vote
1answer
2k views

Proxy setting for jmeter not working properly

I am trying to set up proxy in firefox so that I can use recoding controller from Jmeter GUI. Below is my network settings in firefox: and also the jmeter GUI: But when I try to load my site in ...
1
vote
1answer
2k views

Error Rate of Jmeter Execution Report

I execute jmeter script via Blazemeter and I got 2% error. Is it a acceptable rate? In detail report I observed 1353 request are failed. I just run the script for one user. In that case non of the ...
1
vote
1answer
206 views

Jmeter issue - How to record Auto login of application via jmeter

I'm pretty new to jMeter but knows the basics pretty well. I got a task to perform a loading test which goes like that: User navigate to HomePage of responsive application. User perform login via ...
1
vote
2answers
11k views

Getting 400 response error for my jmeter request

I am running Jmeter, request as beow. I Am getting Response code: 400 I may be due to the format of the parameters which send for the request. I have recoded requested via blazermeter. It ...

1
5 6
7
8 9
17