19,981 questions
0
votes
1
answer
32
views
JMeter Distributed LoadTesting
The situation is that I set up a master Jmeter instance on the windows under my home LAN, and it can telnet the other two slaves Jmeter instances on the cloud linux server.
#Jmeter Instance 01
...
-3
votes
1
answer
36
views
How to reverse the extracted value and pass it in the next request in Jmeter
My extracted value in JMETER request is e.g. Token= ag8bsj570.
We have to reverse the token value (075jsb8ga) and pass it the next request as parameter.
Request you to suggest how to do that.
0
votes
1
answer
38
views
Why does a Module Controller execute HTTP Requests from a disabled Test Fragment?
I’m using Apache JMeter 5.63 and have a setup where a Module Controller calls a Test Fragment that contains an HTTP Request sampler.
Here’s a simplified version of my test plan structure:
Test Plan
├─...
0
votes
2
answers
46
views
Alternative of distributed load testing
I need help to find a way to generate stress/capacity testing on webpage.
Server Configuration of Load generator
Processor: AMD EPYC 7R13 @ 3.6 GHz, 4 Cores
Operating System: Ubuntu 22.04 (x86_64)
...
0
votes
2
answers
55
views
Apache JMeter testing multiple HTTP requests concurrently with only one query parameter different in requests
I have a question related to Apache JMeter testing. I want to send multiple HTTP requests to a single GET endpoint simultanesously (concurrently), that has multiple query parameters, one of them is ...
0
votes
1
answer
56
views
Jmeter does not save variable with variable name <variable-name>_1
I have a loop controller in my test plan with a counter called fileNumber.
I also have a groovy script which fetches keys and uploadIds from the response of an API call. This is the script I have:
...
0
votes
2
answers
75
views
JMeter test runs much longer when using Include Controller with Test Fragment
I have a JMeter test plan where I’m using an Include Controller that references a Test Fragment.
The Thread Group is configured with a duration of 1 hour.
When running the script with the Include ...
0
votes
1
answer
93
views
why my bun with cache with docker is slower than node.js without a cache (i'm running both of them on localhost)
when i test my code with jmeter my average respond time on the bun with cache is higher that node.js that dont, i using 100 thread with period 1 second, but it seems the standard deviation is better ...
-4
votes
1
answer
106
views
How to run Cypress UI tests in combination with k6 or JMeter?
I run Cypress UI tests locally and in a GitLab pipeline. I want to put them under performance measuring. I am not very experienced with that. What is the best way to do that?
I tried to launch k6 from ...
0
votes
1
answer
34
views
JMeter Websockets test report generator shows start date = 1970
Can anyone help?
I have used Peter Doornbosch websockets to create a performance test plan. The websockets worked as expected but when I generate the dashboard report the start date shows up as "...
0
votes
1
answer
47
views
How to access a Token form the Third party application {Oracle cloud} and needs to pass the same token in Jmeter
I needs to login to the Application, for that it needs Token_ID and Sate token, but they are getting generated from the third party applications where as even in the Dev tools it is not reflecting, ...
0
votes
1
answer
54
views
Jmeter script extractor ( extract path variables and params variable extractor)
I have recorded the JMX file via the BlazeMeter extension. In the JMX, I have different GET/POST APIs that may contain params or path variables. Is there any tool that can automatically convert the ...
0
votes
0
answers
51
views
gRPC request works via code but fails with authorization error in JMeter
I'm trying to send a request to a gRPC service. The service requires an authentication token, which looks like this:
{
"environment": "env_id",
"env_id": "token&...
0
votes
1
answer
54
views
Amazon cognito form Login using Jmeter
I am trying to create a script for my application which has amazon cognito login form, I tried using the below script to generate state and nonce value. there are two different nonce values passed in ...
0
votes
2
answers
95
views
Why does my JMeter freeze at the end of execution in NOT GUI mode?
I am running performance tests of a createUser API in the NON GUI mode of JMeter.
The configuration is a thread having 8000 users for 8 secs.
The execution crashes at the end without displaying ...
0
votes
3
answers
77
views
Is there a way to switch between different database connection configurations?
We are comparing Snowflake and RDS Postgres performance.
We have a set of JDBC samplers, but need to run it either with the Snowflake connection configurations or the Postgres ones.
We can "...
-1
votes
2
answers
67
views
How to specify an OS-independent relative path?
In our JMeter project, for the JDBC configuration item's JDBC URL, we need to specify a certificate and its path as a JDBC URL, e.g.
jdbc:snowflake://xx.snowflakecomputing.com:443/?db=xx&warehouse=...
0
votes
1
answer
65
views
How to maintain session?
I am using JMeter 5.6.3, trying to maintain a session on a legacy CodeIgniter 3.1.13 application in order to do load testing.
I have set up the test in this structure:
Test Plan: Login -> Dashboard ...
1
vote
1
answer
68
views
How to generate an unique dynamic first and last name for each API Test?
I'm running POST API successfully in Jmeter, but the issue is whenever I execute an API I need to send an unique first and last name. When I try send a request with the same first name and last name ...
0
votes
1
answer
67
views
How can I make my JMeter test script reusable across different environments?
I'm working with a JMeter test script where I need to use some pre-defined values (such as client_id, client_secret, scope, etc.) different for each request, that change depending on the environment (...
0
votes
1
answer
42
views
No buffer post request in Jmeter
I’m trying to simulate a streaming POST request in JMeter, equivalent to the following curl command:
curl -N -X POST https://api.example.com/stream
-H "Authorization: Bearer "
-H "...
-1
votes
2
answers
39
views
jmeter counter not unique, it is generates duplicates
I am expecting the jmeter counter to work like an oracle sequence: it will always give the next value.
The problem is that its giving duplicate values, like its not thread safe.
I'm trying to insert ...
0
votes
1
answer
34
views
How to run additional parameter via CLI?
my basic command is this
jmeter -n -t "Get Profile.jmx" -l "..\result_$(Get-Date -Format yyyyMMddHHmmss).jtl" -e -o "..\report_$(Get-Date -Format yyyyMMddHHmmss)" -f
can ...
0
votes
2
answers
41
views
http request without embedded resources is not executing in jmeter when cache manager is enabled
I had configured two http requests(both pointing to the same URL) and a http request defaults. The first request had "Retrieve all embedded resources" ON and for the second one it was OFF. I ...
0
votes
2
answers
103
views
JMeter If Controller not executing even when variable is present and has expected value
I’m working on a JMeter test plan where I need to control flow based on the result of a JSON extraction. Here’s the flow in my thread group:
• Get Shelves (HTTP Request)
• Inside it, I have a JSON ...
0
votes
1
answer
58
views
Timers and "BZM Parallel Controller" in JMeter
I'm trying to use timers to with the "BZM Parallel Controller" in JMeter but not having much luck:
If I put the timer as a child of a http sampler, the Timers are ignored.
If I put the ...
0
votes
1
answer
71
views
Why is JMeter not using persistent connections when it has more than 10 concurrent threads
I am using JMeter 5.6.3 on Windows 11 with Java 11 to run a load test.
When I set up test with only 4 concurrent threads, I can see JMeter is using persistent connections, as I can do a netstat ...
0
votes
3
answers
51
views
How to achieve target of 10KTPM in one minute using jmeter
I am working on one scenario where I have to check login flow of application for 10KTPM in minute.
In my login flow exist- load the URL, Login and Home page load.
In entire login flow we have 55 ...
0
votes
1
answer
23
views
JMeter tearDown Thread Group showing in results file
I'm using JMeter and I have 2 tearDown Thread Group, several Thread Groups and 2 tearDown Thread Groups. I'm using the Tree Results View. In the results file I find the results for the 2 tearDown ...
-1
votes
1
answer
39
views
JMeter generate dashboard configuration
My current project requires a HTML report to be generated by JMeter for publishing and subsequent work. It seems a logical approach to use the JMeter report dashboard, but I'm struggling to customise ...
0
votes
2
answers
32
views
Jmeter remote hosts running once only, regardless of -J parameters sent
Setup: Jmeter 5.6.3 running on windows 11
In jmeter (gui), I have a thread group along with a single HTTP sampler.
Number of threads: ${__P(users)}
Ramp-Up: ${__P(rampup)}
Loop Count: ${__P(loops)}
...
0
votes
1
answer
37
views
How to Prevent specific header from being added to Http sampler from Global HTTP Header Manger
Below is the test plan i have in JMeter and it contains Global Header Manager at the level of Thread Group from where all my request samplers are getting headers from.
I don't need Authorization ...
1
vote
1
answer
44
views
bash file not generetaing Jmeter output as UI
i am using Jmeter for testing purpose this is what is the format exported by Jmeter UI
Label # Samples Average Median 90% Line 95% Line 99% Line Min Max Error % Throughput Received KB/...
0
votes
1
answer
29
views
JMeter - Samplers failed when using loop count infinite
I have a test plan with the following:
Thread count = 2000
Ramp-up = 300 sec
Loop Count = Infinite
Duration 420 Sec
Just 1 Sampler
and Uniform random timer as a child: (Random 4000 - offset 2000)
When ...
0
votes
3
answers
80
views
JMeter recording issue - javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
I have been trying to record a google cloud hosted application from my company based VM. I am using proxy to reach the website to record the flow.
Jmeter version is 5.4.3 with Azul Zulu JDK 11.76.21
I ...
2
votes
1
answer
36
views
How to use different certificates for each thread (each thread. not thread group)
How can I use different certificates for each thread (each thread, not thread group) in JMeter?
For example, one cert for the first thread and a second cert for the second thread, and so on.
0
votes
1
answer
138
views
"JMeter + InfluxDB v2.x + Grafana Integration Fails: 'Error writing metrics to influxDB Url' Error Despite Correct Setup"
I’ve been trying to integrate Apache JMeter, InfluxDB v2.7.11, and Grafana (v10+) for real-time performance test monitoring. However, despite following all possible configurations, I’m constantly ...
0
votes
2
answers
50
views
Jmeter - Issue loading plugin
Running jmeter version 5.4.2, and trying to use the Weighted Switch Controller jmeter-bzm-plugin. Have tried versions jmeter-plugins-wsc-0.6 and jmeter-plugins-wsc-0.7 in lib/ext but see the below ...
-2
votes
1
answer
59
views
How to stop a thread or loop execution if anyone of the request fails in between in JMETER
I have scenario to access application , which includes series of API calls . If I execute a single loop or thread tests passes . But with 10 thread or more loops . some http requests gets failed in ...
0
votes
2
answers
60
views
Unsupported Cipher Suite using JSR223 Sampler in JMeter
I am trying to inject msg to IBM MQ Queue manager using JMeter JSR223 Sampler
Options i tried
Written a grovy script to Establish connection factory
Host, queue manager, channel and port has been ...
-1
votes
1
answer
39
views
Why Jmeter controller node cpu usage is very high?
I'm using Jmeter to run a distributed test. The setup contains 1 controller node and 4 worker nodes.
When it's running, I find that the controller node's cpu usage and network usage are both very high,...
0
votes
1
answer
57
views
How to Script JMeter running 1 request after interval of 15 min and other request normally
How can I correctly configure JMeter to achieve this scenario? Any guidance or examples would be greatly appreciated!
The scenario in JMeter involving two requests:
First Request (GET): This request ...
0
votes
1
answer
40
views
How does transaction controller(JMeter) captures response time of parallel requests present in it?
I Inserted a parallel controller inside transaction controller in JMeter. In realistic behavior, transaction controller should consider max. response time from all parallel requests response time as ...
0
votes
1
answer
59
views
Insert and update database using save() in laravel causing duplicates
I have a function that saves two related models inside a transaction. But after running it, I see duplicate entries in the database — same data but different IDs.
Here’s a simplified version of the ...
0
votes
2
answers
56
views
Loadrunner script conversion to JMeter for https using HTTP(S) Test Script Recorder
I am trying to convert loadRunner scripts to JMeter for a https application using the following
JMeter File -> Templates -> Recording -> Create
start https test script recorder
for LoadRunner ...
0
votes
1
answer
50
views
Why Sampler node returning null? JMeter API
I'm trying to add a regex extractor to each sample whose content type is equal to text/html, but my sample always returns null. Seems that the response body is okay and returns the correct response. I'...
0
votes
1
answer
16
views
How Can I Remove Thread Numbers from Test Items in JMeter HTML Reports?
For my JMeter test, I'm generating HTML reports using "-e -o 'logs\html'" command-line option.
In the generated HTML reports, I have test items showing up with a thread number appended to ...
0
votes
1
answer
209
views
How do I view all requests and responses sent on an Azure load testing portal?
I'm new to azure load testing portal but I was able to run a load test easy enough using a Jmeter script. It was a small test to prove it works. I can see result information on the dashboard below ...
0
votes
1
answer
56
views
JMeter JDBC Configuration Not Reading Properties Set in First Thread
PROBLEM
I have a JMeter test plan with two threads which run sequentially.
Thread 1: Retrieves secrets from Azure Key Vault and stores them as JMeter properties using the following code:
props.put(&...
0
votes
1
answer
243
views
How do I include STX (Start of Text) and ETX (End of Text) characters as prefixes and suffixes to TCP Sampler in JMeter
I'm sending a text to server which a Socket message connected via a Port and IP
I've used JSR223sampler to check the connection, which says "Connected"
This is my Text message
PLPL|WM|SL|AS|...