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.
825
questions
0
votes
1answer
20 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 ...
0
votes
1answer
9 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 ...
0
votes
2answers
27 views
What is the maximum value I can put for Ramp Up Period in JMeter?
I'm interested in running a test over many hours.
What is the maximum value I can put for Ramp Up Period in JMeter?
0
votes
1answer
13 views
How to run thread group forever with time delay in JMeter
I have a thread group with 30 Http request. I would like to run the whole thread group once with just 1 user, than wait 30 minutes, run it again, wait 30 minutes and so on for few days.
How should I ...
0
votes
1answer
28 views
i want to run my selenium python script with appachi jmeter .how we integrate selenium python script in apache jmeter
import time
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support.select import Select
driver = webdriver.Chrome(...
0
votes
1answer
12 views
Load testing an AI use case/application
I'm struggling to understand the steps for measuring the time for a use case built on AI platform to clear the alarms automatically executing a series of commands. Issue is that only task that needs ...
1
vote
1answer
24 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
0
votes
1answer
17 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 ...
0
votes
1answer
19 views
Jmeter Scripts Taking Time Run With 2 CSV Configs
Jmeter Scripts are taking Double the Time when 2 CSV configs are introduced. Can anyone provide solution for same?
-1
votes
1answer
16 views
How can we use variable of the request which are inside if controller
I am facing issues like I have some requests inside if controller and from those requests, I am fetching some json data and I have to use that data in another if controller and outside from if ...
0
votes
1answer
67 views
Handling a dynamic refresh token on JMeter
I have recorded JMeter script for a website.
One of the HTTP request is the below screenshot where a refresh_token is already set as a hard-coded parameter when I recorded the script first time. This ...
0
votes
1answer
28 views
Running load test on more than one site at the same time
I need to run same JMeter script on more than one site at the same time to test performace. I am trying to use one JMeter script and hit 10 sites at the same time
I have tried to use multi test ...
0
votes
1answer
29 views
How do I run the recorded scripts in JMeter?
I recorded some actions in Mobile Application via Test Recorder in JMeter and tried to run the generated scripts adding some users (in Thread groups). But I did not receive any results in Listener. ...
1
vote
1answer
50 views
Why isn't none of the contents of the page loading while recording script through JMeter in Firefox even after all the configurations are done right?
I am facing an issue with recording Scripts in FireFox browser through JMeter.
Configuration:
I have the Proxy setting in Firefox set to Proxy -localhost; Port -8080.
I have added the RootCA ...
0
votes
1answer
22 views
How to automate Mobile App with wired system using JMeter?
I have a system connected with LAN cable. Now I want to record the test of a Mobile Application (Android and iOS), and then see the performance of the app using JMeter.
I tried with connecting the ...
0
votes
1answer
72 views
JMETER: java.lang.OutOfMemoryError: Java heap space
I have configured Jmeter for database load testing, and have been using the CLI to test load on my redshift database. i have increased the memory heap but the same problem remains
Below is the Error ...
0
votes
1answer
14 views
JMETER: Parallel Controller - no response data
I have defined the JDBC Connection configuration and have added multiple JDBC requests in JMeter and have added the bzm - Parallel Controller plugin. Below is the image for the setup of the parallel ...
0
votes
1answer
40 views
JMETER: How do I run parallel JDBC requests in JMeter?
I have defined the JDBC Connection configuration and have added multiple JDBC requests in JMeter.
Currently, when I trigger the requests, the requests are executed one after the other.
I would like to ...
-1
votes
1answer
62 views
How to record mobile application using jmeter?
I need to do load testing of my mobile application. I am using android mobile.
while i am trying to record the script using Jmeter nothing is getting recorded.
I had followed this process to record:
I ...
0
votes
1answer
23 views
Taurus/JMeter - total time for thread group execution within pass/fail criteria
I have an end-to-end scenario to include in performance testing that takes a decent length of time to execute. Between releases of the system, this time needs to be monitored to ensure it hasn't ...
0
votes
2answers
22 views
JMeter - How to extract values from the specific subsample
I have a script like registering flow: the user is registering, getting his id and get a verification URL and id with the email address.
If the script is run with one user, everything is ok, the user ...
0
votes
1answer
82 views
JMeter 403 Error - CSRF Token
I am load testing a CSRF protected website and have successfully extracted the csrf token and authorized the login, however when loading a pages with many different graphs, all the graphs seem to fail....
0
votes
1answer
17 views
JMeter- While running 2 loop count , In 2nd loop count all the http requests are not running . Few http requests are missing
I'm new to JMeter, When I'm running multiple threads with 2 loop count, every 2nd loop count for each user fails, because few http requests are missing they are not running for 2nd loop count.
Could ...
0
votes
1answer
41 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)
...
1
vote
1answer
75 views
JMeter - save response to file listener but also ignore result
In JMeter, I am using a post processor running prev.setIgnore() within the setup thread group to ignore those requests.
Some of these requests are JDBC requests to select data out of the database and ...
0
votes
2answers
103 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.
...
0
votes
1answer
20 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 ...
0
votes
1answer
330 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 ...
0
votes
0answers
49 views
How to convert my current JMeter HTTP test case to HTTP2?
According to this link, to test HTTP2 connections using JMeter, a plugin would need to be installed and a new kind of sampler is used.
The problem is that I already have lots of test case set up using ...
0
votes
2answers
123 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....
0
votes
1answer
56 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 ...
0
votes
1answer
111 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
1answer
101 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 ...
0
votes
1answer
90 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 ...
0
votes
2answers
333 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 ...
0
votes
1answer
248 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 ...
0
votes
1answer
74 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.
0
votes
1answer
34 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
1answer
140 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 ...
0
votes
2answers
22 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 ...
0
votes
1answer
52 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
73 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
20 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 ...
0
votes
2answers
37 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
116 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
39 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
23 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
42 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 ...