Is it safe to calculate summary report based on OTEL metrics from K6 for high...
While reading some blogs, I realized that heavy-load performance testing for longer durations can cause memory issues due to in-memory metrics and summary reports. To address this, I’m considering...
View ArticleDoes k6-browser supports multi browser support
Based on our current findings, the k6/browser module appears to rely on a headless WebKit engine via GoWebKit and does not currently support multiple browsers such as Chrome or Edge. We were wondering...
View ArticleLooking for Throughput and Standard Deviation in report for each API
Hi, I have K6 script created for 5 API’s where I used group for each api to capture metrics for each API. I created summary trends for capturing metrics [Avg, Min, max, all percentiles and count]. I...
View Article**Headless Mode Not Working: `K6_BROWSER_HEADLESS=false` Does Not Launch...
Hi k6 team, I’m trying to run browser-based tests using the k6 browser module. According to the docs and Playwright/Puppeteer experience, setting the browser to run in headful mode (i.e., visible...
View ArticleError running test as an Archive? (Expected \";\" but found \"\\x00\"")
Hello, I am trying to run a test as an archive. My use-case is pretty niche but I want to run the archive command, untar that archive, make some changes to the files that are archived, and then...
View ArticleHar-to-k6 url malformed error
I am using the grafana k6 browser recorder and want to record the traffic to perform load test. However, when I want to convert to k6 scripts, the error URL malformed appear, how can I know...
View ArticleIssue while building xk6 with xk6-browser extension
Hi @ankur , I’m facing an issue while executing the following command in the CLI: xk6 build --output xk6-browser.exe --with GitHub - grafana/xk6-browser: The browser module adds support for browser...
View ArticleHow to add a custom user agent in k6 studio generated script where the script...
I am using k6 studio to record the steps but in that I want to put a custom user agent as cloudflare blocks the user agent I am using. So I have asked my dev team to whitelist the custom user agent I...
View ArticleBrowser metrics testing across multiple pages
I was wondering if the metrics outputted at the end of the browser test are aggregated metrics across each page. Currently testing a webpage going across multiple links (but same website). Are the...
View ArticleMTLS with K6 does not work
Hi Team, Trying to make call to one endpoint using MTLS (private key and certificate) in K6 by following the standard documentation but it does not work. How to replicate: /* This is a test JS file...
View ArticleFailed to push trace samples to the cloud
Following the Correlate results with Grafana Cloud Traces documentation, I’m attempting to enable tracing for my k6 tests. import tempo from...
View ArticleK6 Cloud Secret Support
What is the correct way to handle secrets with k6 cloud? I can use --secret-source=file locally with k6 run but this same command run with k6 cloud run doesn’t seem to handle the secrets. I end up...
View ArticleHow to send parallel grpc requests in k6?
I have a requirement where i need to send multiple grpc calls at same time. can be implemented for grpc in k6? 1 post - 1 participant Read full topic
View ArticleK6 browser test causing K6 POD crash (OOM killed)
We are running a browser base UI test with the following config: ui: { executor: 'shared-iterations', vus: 3, iterations: 3, options: { browser: { type: 'chromium', }, }, } It is loading a lot of...
View ArticlePlaywright APIRequest
In Playwright, I am able to send APIRequests from the browser using this technique: playwright.dev API testing | Playwright Introduction My API needs some cookies and session state established within...
View ArticleInspect Browser Timeline in k6 Browser Test not displaying any traces
I am currently running a k6 browser test via the command: k6 cloud run --local-execution scriptName.js However, I am not seeing any data under the Browser Timeline section of the dashboard as...
View ArticleBest approach to run k6 browser tests with high load
I want to run browser as well as api tests for 500 VU at the same time. Azure agents timeout with just 50 VU. What is the recommended approach to handle such high load 1 post - 1 participant Read full...
View ArticleConnection Pool and OAuth2 logins
I have some trouble with failing OAuth2 logins. I have much less test accounts on the system under test than VUs. The login fails when the same account tries to login multiple times in the same time...
View ArticleDoubt about running K6 to generate a load using dynamic snapshot data
Hi people! I need to run a stress test, but to call the HTTP endpoint I want, I require data that isn’t ready initially. Here’s how it works: The load test (LT) I’m creating calls an endpoint to...
View ArticleK6 TestRun CRD with file access and directory preservation without...
I am trying to write a K6 TestRun CRD with the following limitations: We cannot use VolumeClaim due to certain limitation. The test does an “open()” on a file within the POD, which means we cannot use...
View ArticleGrafana K6 - Real time Dashboard Export PDF?
Can you please help to export pdf too, K6_WEB_DASHBOARD_EXPORT=load-test.html or using K6 screenshot for load-test.html in headless mode. currently both cases are not helping us. K6 browser screenshot...
View ArticleK6 operator with remote test script
Hello, I planned on using the k6 operator. I have my test file and data files uploaded on a AWS S3 bucket. I have a small shell script for downloading them. Is there a way with the operator to...
View ArticleHow to use xk6-sql plugin with PostgreSQL in k6?
Hi, I’m trying to run a load test using k6 and the xk6-sql extension to connect with a PostgreSQL database. 1 post - 1 participant Read full topic
View ArticleK6 browser does not send data if a warn is received
Hi! Version K6 1.0.0 run: K6_PROMETHEUS_RW_SERVER_URL=$URL k6 run -o experimental-prometheus-rw test.js I have a script: import { browser } from 'k6/browser'; export const options = { scenarios: { ui:...
View ArticleLoad Testing Signup API with 100 VUs (Only One Request per User)
Use Case: My backend only allows one signup request per unique email ID. If the same email is used again, it returns a 401 Unauthorized error. My company asked me to conduct load testing with 100...
View Article