Setting up a PersistentVolume to run test
Hi, I would like to Setting up a PersistentVolume to run test. I am geting the following error: level=error msg="The moduleSpecifier "/test/test.js" couldn’t be found on local disk. Make sure that...
View ArticleRamp up VUs immediately to handly 50000 test users which have to be scheduled...
I have a test scenario in which my testdata is stored in a database and based on the coloumn time_to_send i will be sending the request. I am using function setTimeout() to simulate this behavior and...
View ArticleUnable to start chrome on Jenkins docker container with k6-browser test
Hello team, I am trying to run k6-browser test on a Jenkins instance which is in docker container. The test is failing on starting chrome step with error:...
View ArticleRPS gaps and SUT's strange behavior
SUT: HAProxy (as balancer) WSO2 APIM (as API gateways)(one as a control-plane and 4 as gateways) microservice (written in Golang) in k8s CentOS-7 as a host OS for servers that runs HAProxy and WSO2...
View ArticleCreating random bursts of load?
I’m looking for some advice on the best way to achieve the following load test What we are looking to get is some random bursts of traffic to a specific api endpoint whilst maintaining a constant load...
View ArticleInserting Ids generated by individual VUs to an array
Hi, I am trying to do the following: VU’s are extracting Ids of interest from the database record I want the Ids from individual VUs to be pushed to an array I want to do further operations on the...
View ArticleK6 Browser: Using .locator() on a found element gives error "Object has no...
In Playwright I could find an element, and then use that to find and use sub-elements, example: A row of cells some just text, some actionable such as a combo box with selectable options that I want...
View ArticleCan I use a variable in a threshold and page tag?
I have a switch statement that selects one of about 20 APIs, can I configure a threshold with a variable and then the tag on the request parms to send a value for the threshold http_req_duration....
View ArticleFufh the day I was wondering if you have any questions or need any help you to
Thug life is a good morning sir I am in the exam will be conducted on Sunday the day I was wondering if you have any questions or need any help you to 1 post - 1 participant Read full topic
View ArticleHttp asynchronous request in K6 load testing
Since I have asynchronous API call in my front-end, I have used http.asyncRequest method for API calls. const response = await http.asyncRequest(“GET”, url, null, params); However, I want the response...
View ArticleSingle Iteration only for 100 users not working as expected
Hi all! I want to perform a test where 100 VU will perform only one iteration each. I couldn’t manage to achieve it using the following configurations: 1. export const options = { vus: 100, duration:...
View ArticleTestRun is not initializing - No initializing pod found yet
Reconcile(); stage = {“namespace”: “default”, “name”: “k6-sample”, “reconcileID”: “68b7bcb6-bd99-4f31-8967-aad21fdb879c”} │ │ -09-30T13:30:45Z INFO controllers.TestRun Initialize test {“namespace”:...
View ArticleWhen clicking something to open a new tab I get a GO Error
//Load new page from address console.log('stop5') const address = await page.locator('[href="Link to new site I only use this for the locator)"]'); await address.waitFor({ state: 'visible', timeout:...
View ArticleMax Number of Vus not matching with number of pods
Hi all, I am using k6 oss via operator in k8. I initilize the test with parallelism 4 and emitting metrics to influx. Here is my options while setting up load test : export const options = {...
View ArticleIs there any way to customise the metrics output with --out...
Hello, We’re running some longer tests and as expected, they produce a lot of metrics. I’m wondering if it is possible to customise what is output as part of the --out flag, to just include...
View ArticleHow to run a k6 script that works onprem using k6 oss to work in the k6 cloud...
i have a complex script that works in k6 oss but I am unable to get it to work in the k6 cloud. i bundle’d it using the archive feature and get the following error… k6 cloud archive.tar Command...
View ArticleK6_http_req_duration_$quantile_stat Metrics are the Same Across Quantiles for...
I’m facing an issue with Grafana when using k6 to send trend metrics with the $quantile_stat method. We’re using the older method of sending metrics where the trend quantiles (like...
View ArticleDiscrepancy Between k6 Console Output and Grafana Dashboard for p90/p95 Metrics
I am using the k6 Prometheus dashboard with the remote write option to send quantile metrics (min, max, p90, p95, p99). I’m having trouble matching the API request duration metrics from the local k6...
View ArticleRequests failed is 1/s constantly for a ramp of up to 500 rps without a...
I am trying to understand what the web dashboard in k6 shows and what it means. I am having trouble understanding the failure rate metric. I have the following script: import { check } from 'k6';...
View ArticleK6 typescript monorepo setup with custom libraries and tree-shaking
Hey! I’m trying to achieve something like this: Have a monorepo with various testing projects (e.g. both e2e and k6 tests) Have a common typescript library that will share common query constants...
View Article