K6 v0.57 HTTP requests hang on AWS EC2 (curl & Python succeed)
I have three clients on the same EC2 instance calling the same API: 1) k6 (v0.57): import http from 'k6/http'; export default function () { http.post( 'https://api.example.com/endpoint',...
View ArticleSynthetic Monitoring using K6 Script - metrics and log output truncated
I recently setup a K6 script to run every 15 minutes, and we consistently see the following two error events in each run: level=error msg=“Log output truncated at 261120 bytes” level=error...
View ArticlePasskeys/WebAuthn extension
Hey there, I wrote a little k6 extension to load-test passkeys/WebAuthn endpoints. I included a little Go sample backend so you can try it yourself right away. I am open for feedback and potential...
View ArticleAuto-completion(IntelliSense) is not working in VSCode
Configure your code editor | Grafana k6 documentation I checked this, and installed @types/k6 $ npm init --yes $ npm install --save-dev @types/k6 But still, autocomplete is not working. Why? Some...
View ArticleError running xk6 tests in docker
My test script (switching_dashboards.test.js) lies in below folder structure k6/tests/switching_dashboards.test.js My test requires fetching some values from SQL and Mongo database which is why I am...
View ArticleContribute to the implementation of binary provisioning
Hi @pablochacin I saw that you opened an issue to create a stable version of the binary provisioning. I really liked what you did and I’m very interested in helping resolve the issues. I’m still...
View ArticleWhat happened with test.k6.io?
I am wondering if anyone knows what happened with test.k6.io and why it now redirects to quickpizza.grafana.com? Is this on purpose or just a misconfiguration? Many tutorials, examples, posts in this...
View ArticleK6 spike test scenario
How can I reliably send 100 requests in 1 second using k6 without dropped iterations? Hi everyone, I’m trying to run a k6 test scenario to send exactly 100 requests within 1 second to an endpoint...
View ArticleCan I download a template from and API with K6?
Hi everyone! To be short, I’m testing an API with K6 and JavaScript, where I need to send 2 dates to get a report. Answer: ERRO[0000] GoError: unknown module: k6/x/file Searching on the web, couldn’t...
View ArticleLegacy k6 Test Services Replaced by quickpizza.grafana.com
Last week, we replaced our legacy test services at https://test.k6.io, https://test-api.k6.io, https://httpbin.test.k6.io and https://grpcbin.test.k6.io with a new and improved one:...
View ArticleK6 1.0 Release Overview
Grafana k6 1.0 Overview and Demo: TypeScript, Extensions, More | What's New | Grafana Labs 1 post - 1 participant Read full topic
View ArticleConsole log error when open 2 tabs on k6/browser for more than 6 vus
I’m trying to open 2 tabs in a chromium browser. It works as expected when reach the 6 VUS, after that the console shows the following error message: Note the code souce is available after error...
View ArticleRunning an archive with new tags removes the tags from the archive
Hi, I’m creating an archive with a tag like this k6 archive --tag foo=1 loadtest.js which adds the foo as a label to emitted metrics when I run the archive, as expected. But when I run the archive...
View ArticleRetrieving a Cookie via k6/browser in the setup function to share it with...
I need to retrieve a cookie at the beginning of my test runs using k6/browser (for example, by logging in via browser automation), and then use this cookie for my subsequent HTTP-based performance...
View ArticleGithub run action does not allow env variables in option object?
Hi, It would appear that the githib k6 run action does not allow environment variables to be used in the options object of a test. Here are screenshots of minimal examples of the test.js and...
View ArticleK6 Runner test not starting when Istio injects sidecar
Hello, would appreciate some guidance or advice dealing with this problem that I have. Some context. Currently, I have a web application deployed on a Kubernetes cluster running Istio to manage...
View ArticleNot able to use 'frame' option on second browser context
Hi, Ideally, K6 opens a new tab when I click on login button on my application(which doesn’t happen in ideal scenario. However, I user browserContext to handle the new tab and I was able to perform...
View ArticlePlaywright Recording to k6 Script: Is Manual Translation Necessary?
I’m looking into browser-based performance testing and used Playwright to record a user flow. My goal is to use this flow for load testing with k6. However, I’ve found that the Playwright script...
View ArticleK6-operator not returning all browser Web vitals compared to running in...
Hello, I am running browser test via K6-operator and docker. Where, k6-operator’s end result has fewer web vitals compared to running it directly in docker. Following are separate results I have got:...
View ArticleK6 Cloud tests fail with "Failed by Threshold" even though all thresholds passed
Anybody running into this? Wondering if i’m missing something : 1 post - 1 participant Read full topic
View ArticleK6 Operator Parallel Pod Index's
Hey all! Is there a method for when I am running my tests in parallel using the k6 operator parallelism feature to figure out which pod index the test is running on. My issue is since I am running...
View ArticleIs 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 Article