3,461 questions
0
votes
2
answers
41
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
74
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
109
views
Artillery + PlayWright + Fargate: Test durations ramping up and timing out
I'm running a load test on a web application using Artillery with the Playwright engine on AWS Fargate. I'm observing a steady increase in test durations as the test progresses, and a high percentage ...
1
vote
1
answer
59
views
Looking for simple garbage collector load test
I'm looking for some code or some benchmark to roughly asses the pause times or cpu load caused by some GC in order to get some rough estimate how efficient it is. I just want to see whether some GC ...
0
votes
0
answers
52
views
Artillery Socket.IO: {{token}} in socketio.query interpolates as 'undefined' despite beforeConnect
I'm trying to load test a Node.js Socket.IO server using Artillery. My server expects an authentication token as a query parameter during the handshake. I'm using Artillery's socketio.beforeConnect ...
0
votes
0
answers
45
views
k6 reports expiry in the 18th century for all cookies
I'm a new QA, and I'm using k6 with Typescript to test a web app. I noticed that http requests that rely on cookies aren't working correctly in the test script, although they do work when using the ...
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 (...
1
vote
1
answer
42
views
SpringBoot rest service not accepting desired load
My spring boot application is not accepting desired load. In order to isolate problem I created a very simple service that just sleeps for 500ms and returns success response back.
Following is my ...
0
votes
0
answers
57
views
Cleaup test data in K6 `teardown` in UI load test
I have a UI load test written in K6. I am creating a bunch of entries on the page and keeping tab of them using openKv (https://github.com/oleiade/xk6-kv) in the code so that I can delete them after ...
0
votes
1
answer
55
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
69
views
Locust distributed mode: "Unknown message type '_distributor_request' from worker.." warning halts users
I am using Locus in distributed mode with 1 master and n workers to run a load test.
I am also using the locust-plugins library to utilize its Distributor utility. My goal is to preallocate one unique ...
0
votes
2
answers
29
views
Running multiple setUp threads concurrently in jmeter
I have two setUp thread groups:
One runs one time to set up a lot of things.
The second one loops a few times through a file.
Since both of these take a long time to run and they don't conflict with ...
0
votes
1
answer
63
views
JMeter WebSocket Plugin - Received Ping Frame Data and Missing Responses
I am using JMeter 5.6.3 with the Peter Doornbosch WebSocket Sampler Plugin to test a WebSocket API. However, I am facing two issues:
Issue 1: Received Ping Frame Data
When I send a WebSocket request ...
0
votes
1
answer
72
views
Websocket load test utilising high cpu and memory of the VM used for testing
I'm running api load tests with a script that's a combination of REST and websocket APIs. The resource utilisation of the VM where I'm using jmeter to execute load tests is much higher than before ...
0
votes
1
answer
117
views
How to set Jmeter constant throughput timer to JMX XML as user input
I am running a load test using JMeter and I want take the ConstantThroughputTimer value as user input and set in the JMX XML. The JMeter shell script is being called from a bash script.
Bash Script:
...
0
votes
1
answer
122
views
JMeter POST request failing with server error, but works in Postman
I'm trying to load test a POST request API using JMeter, but I'm running into an issue. The request works perfectly in Postman, but when I run it in JMeter, I get a server error response.
I've set up ...
0
votes
1
answer
91
views
How To Replay Production Traffic Using JMeter
I have searched for answers to this and have found many hits containing the same advice - follow the guidance in this BlazeMeter blog article which sounds perfect for my requirements:-
https://www....
0
votes
0
answers
15
views
Loadview Goal Based Curve test is not generating the load that it promises
Anyone using Loadview tool's Goal Based Curve to generate load? I am having a tough time generating a load with it. It asks for "transaction goal per min" but does not ever generate that ...
0
votes
1
answer
324
views
Artillery Playwright Not Capturing Specified Metrics
I am using Artillery with Playwright to measure performance metrics of a website, but I am not getting the metrics I specified in the configuration. Instead, I am seeing only browser-related metrics.
...
0
votes
1
answer
94
views
Confusing Gatling test report
When running a Gatling test, a report is printed to stdout after execution, such as:
21:16:16 ---- Global Information --------------------------------------------------------
21:16:16 > request ...
0
votes
2
answers
173
views
How to approach performance testing and memory leak analysis for a .NET application
Our team has identified a memory leak in a .NET application running in a Kubernetes pod and needs to pinpoint and optimize the performance bottleneck. As a performance tester, I have experience in ...
0
votes
1
answer
60
views
Load Test Scenario Design for JMeter
I have a test plan created which contains a Single Thread Group, Approx 10 Transactions. Each transaction has a varying number of samplers. Example
TXN1: 2
TXN2: 7
TXN3: 17
Etc
Expected Application ...
0
votes
1
answer
80
views
How to set up a test in jmeter with reusable configuration?
I have a lot of test plans that use the same config set up and I've been looking into how to make the set up reusable instead of having to copy and paste it between the many test plans.
Examples of ...
0
votes
1
answer
48
views
How to perform load testing for a GraphQL endpoint that uses persited queries
I have an application that receives frequent updates. It uses persisted queries to communicate with GraphQL endpoint. How can I write efficient and maintainable load tests without having to modify ...
1
vote
0
answers
167
views
How to use custom tags for k6 with xk6-output-prometheus-pushgateway?
I'm trying to capture http_errors with a custom tag to differentiate their status code, within my script I'm creating const httpErrors = new Counter("http_errors");. Then within the default ...
-1
votes
1
answer
53
views
Logging in and out of websites confusion
I am new to Jmeter and learning as I go on a small project in work, but I think I'm getting confused when it comes to the logging in and out of websites, as well as navigating around areas of a logged ...
1
vote
1
answer
88
views
JMeter Summary & Aggregate Total Average Response time seems invalid while using Transaction Controllers
I’m running a test with two Transaction Controllers, each containing three endpoints. After a single iteration, the Aggregate and Summary reports in JMeter show the Total Average Response Time as 85ms....
1
vote
0
answers
158
views
How to prevent simultaneous logins with the same user credentials in k6 for realistic web UI testing?
I'm building a web UI test in k6, where I have a list of users and passwords stored in a SharedArray. Each virtual user (VU) logs in with one of these credentials and performs an ordering process. ...
0
votes
0
answers
73
views
How do I do SSE load testing with Node Js?
I have such a code and I want to do a load test on it to see how many open connections it can handle at the same time. How can I do this?
app.get('/stream', (req, res) => {
res.setHeader('...
0
votes
0
answers
87
views
Requests per second(RPS) not going above certain number with Hana database and Locust
I wanted to perform some load testing on Hana database. For this I decided to use Locust and I referenced the implementation given in this link for another database:
https://community.cratedb.com/t/...
1
vote
0
answers
30
views
Locust POST request does not return expected validation message from form submission
I am trying to simulate a form submission using Locust in Python. When manually submitting the form in a browser with incomplete data, I see the expected validation message: "Please make sure all ...
6
votes
2
answers
483
views
Getting request_before_redirect.url is None for POSTS requests in Locust Python
Trying to use locust following the documentation,
https://docs.locust.io/en/stable/quickstart.html
from locust import HttpUser, task
class TestUser(HttpUser):
# @task(1)
# def health(self):
...
0
votes
1
answer
43
views
Simple HTTP request in Apache Jmeter
Good evening. I'm having trouble with a simple HTTP request. I need to create a load test with JMeter. The given site has authorization. With any request, I get a 200 code without entering a username ...
0
votes
0
answers
1k
views
K6 configuration for more than 1000 Requests per second
I am using K6 to do some load testing but whatever configuration I give it I cannot get it to make more than ~1000 requests per second.
I’ve tried various scenarios to get the RPS much higher but the ...
0
votes
1
answer
58
views
Custom Ramp up in LRE for batch vusers
Is it possible to give custom ramp up in LRE for a single group to a batch of vusers.
For eg.
We have a batch of 17 users which needs to start every 20 seconds. We need to configure for every batch of ...
-1
votes
1
answer
666
views
how do i include the errors with the responses in k6 html output
i have this k6 script but i can't seem to get the errors to show up in my html file although if i console.log i see them
import http from "k6/http";
import { sleep, check } from &...
1
vote
1
answer
301
views
Execute a Gatling scenario exactly once
I want to execute a Gatling scenario exactly once (i.e. execute a single virtual user with a single iteration). I don't want to execute it for a duration, I don't want to concurrent users, I don't ...
0
votes
1
answer
335
views
How to run a k6 script with multiple payloads using fs module?
I'm trying to run a k6 script that uses multiple payloads stored in JSON files. I want to read these files using the fs module and send them as part of my HTTP requests. However, it seems that the fs ...
0
votes
1
answer
441
views
K6 sends 4 times more requests than it should
Kindly asking for your advice. I noticed that my k6 script with Ramping arrival rate sends much more requests than it should. I set following stages:
import http from 'k6/http';
export const options =...
0
votes
1
answer
70
views
Load testing with stateful data [POST http request]
I'm trying to understand how load testing can be done on a POST HTTP Request when the data are stateful.
For clarity, here's an example:
When a POST HTTP request is fired, the data will changed from A ...
0
votes
0
answers
47
views
How to get WebRTC metrics?
Is there any other way to get WebRTC metrics not using web page (browser_name)://webrtc-internals/?
I've been trying to get WebRTC metrics by parsing the web page itself but it won't work out for my ...
0
votes
1
answer
156
views
Time calculation for Grafana K6 test script before execution
While executing grafana k6 script on the console the time to be taken for test execution is mentioned, but do we have a way to know in advance ie before actually the test begin execution how much time ...
0
votes
2
answers
54
views
load test in jmeter is generating duplicate consecutive IDs using multiple threads
Scenario
I am creating some records in a system using three requests of its API. In the first request I need to send and Id which for testing and tracking purposes I am using a consecutive number ...
0
votes
1
answer
133
views
How to retrieve statistics from master node as tests are running
I am running Locust tests using distributed load generation with the flag:
--processes -1
I used to get the stats while the tests were running from
from locust.stats import ...
0
votes
1
answer
127
views
Azure Function App unaccounted for time in Application Insights Timeline
I am attempting to analyse the poor performance of an Azure Function when under load. This is a .NET 8 Isolated Function App (v4) running on Windows (64 bit). A small but significant number of ...
0
votes
1
answer
51
views
Use JMeter to test the running time of the Azure Data Factory pipeline
We have an Azure Data Factory pipeline and we need to pay attention to its performance. So we try to test it with JMeter.
We want to trigger the debug button multiple times through the API (with ...
0
votes
1
answer
34
views
How to perform overbooking testing in JMeter to simulate more booking requests than available resources?
I am currently working on load testing a booking system using JMeter and need to test how the system handles overbooking scenarios, where the number of booking requests exceeds the number of available ...
0
votes
1
answer
150
views
How to generate .jmx file for ADF pipeline
Recently I want to do load testing for my azure data factory pipelines.
Now, I follow the document Load test a website by using a JMeter script in Azure Load Testing:
But the question is that:
This ...
0
votes
0
answers
135
views
Locust: control the user creation sequence of multiple user classes
I have two user classes:
SyncUser
NormalUser
with the following code:
class syncUser(HttpUser):
host = '<hostname>'
def on_start(self):
self.userId = getsyncPullUser()
...
0
votes
1
answer
637
views
Understanding the formula for preAllocatedVUs?
In this k6 documentation https://grafana.com/docs/k6/latest/using-k6/scenarios/concepts/arrival-rate-vu-allocation/, there is a formula for preallocated VUs or virtual users
preAllocatedVUs = [...