Does k6 Test Builder work with the OSS version?
Hi, According to the official k6 and Grafana documentation, it looks like the Test Builder is mainly a feature of Grafana Cloud k6, and there isn’t much information about using it with the open source...
View ArticleHttp_req_duration metrcis not exported via OpenTelemetry(OTEL)
Hi,I am trying to export k6 metrics to grafana using OTLP.But I cannot see metrics related to http_req_duration. Here is my dockerfile: FROM grafana/k6:0.54.0-with-browser ENV...
View ArticleOccasional spikes in latency k6+influx
Hello guys! I got k6 as a service in AKS running and Influx+Grafana. I got occasional spikes in response times as on pic. I wonder if somebody could suggest what to check to be sure that the issue not...
View ArticleBrowser crashes with "undefined at default" although the button exists
Hi there, I’m trying to have k6 click a button, which shouldn’t be that hard. However, k6 seems to think the button doesn’t exist, which doesn’t make sense. My code is: console.log('02')...
View ArticleDoes k6 browser check supports terraforming as in other checks like HTTP, DNS...
Does the k6 browser based test supports terraforming as in case of other checks like http, ping, dns etc? Also with API usage for the same, I get 404, how do I find the server address, write now uses...
View ArticleIntegration feasibility for Selector AI and Big Panda with Grafana Cloud
Hi team, We are looking into the possibility of Integrating Big Panda and Selector AI tools with the Grafana Cloud for event correlation and network observability. Could you please let us know what...
View ArticleHow to recover from time-out waiting for page or element to load
Hi, I’m having trouble with my k6 browser script. When an element or page takes too long time to load, resulting in a time-out, the current VU in the test aborts abruptly. Thus skipping the following...
View ArticleBreaking an iteration
Hi, So, I have a default function, with couple of requests. I want to break the current iteration if one of the requests fails. I used the following: It does not work, it does not return and use a new...
View ArticleUnable to catch expect() failures with try/catch in k6 - test aborts instead...
Hi everyone, I’m experimenting with the k6-testing library and noticed that expect() failures cannot be caught with a normal try/catch. Even when wrapped properly, the test aborts instead of allowing...
View ArticleShared Array in Setup Function
Hello! I had a general question regarding what people use in scenarios where they want to use a shared array but can’t retrieve the data prior to test start because a request is needed to retrieve the...
View ArticleK6 html report showing different values from console output
We have been using K6 scripts and recently I have started to use the inbuilt html report to both monitor and generate a report to share. One thing I noticed is that the values being output to the...
View ArticleK6 Diffing Har Files/Recording
Hi everyone, Let’s say I have a situation where the application I am testing is at times tending to change in how many Protocol/AJAX request there are in a new release. Sometimes the application would...
View ArticleSplunk Enterprise(On-Prem) integration with Grafana
Hi Everyone, I am new to Grafana, would like to integrate Splunk Enterprise(On-Prem) with Grafana to have great visualization. Can you please help with Splunk Plugins/connector and setup details(if...
View ArticleK6 is use to getting abnormal closure when I run web socket load tests
Hi everyone, I’m running a K6 WebSocket load test and I’m experiencing an issue when running the test from my local machine. When I run the script with more than 1000 virtual users, I frequently start...
View ArticleThresholds, checks - variable name in tag name
Hi, I wrote a function that accepts tag as parameter (variable “tagValue”) and I want to use it as value in check function. But it does not seem to work. After my test finishes, rate of threshold is...
View ArticleP90,p95,p99 metric values are not showing properly in html report
As per my knowledge in K6, I’ve been using this K6 tool for the past 3 years, and I have observed that metric values are not showing the correct values in the HTML report as aggregated values. Those...
View ArticleRunning K6 browser on Azure pipeline
Hi! We’re using k6 for tests at work within Azure pipelines. We’re using the browser module for authentication I’m currently facing an issue where the browser module isn’t working in the pipeline. My...
View ArticleIs there anyway to set default load zones on all new Projects?
Hello, new customer to k6 cloud, really excited to get my company up and running. I’ve set up some PLZs and they are all registered on my account, but it seems I need to manually assign them to all...
View ArticleAborting on error for every test
When exceptions bubble up to k6, it only fails the current test iteration without failing the whole test. I understand I can catch the exception and call test.abort myself to do that. I would like to...
View ArticleClarification required: order of execution with k6-operator
hi, i need a clarification regarding execution order: when the runner pod is created, does it first mount all the volumes described in TestRun.spec.runner.volumes? and only then starts looking for the...
View ArticleK6 Browser Headless / Scale
Hello everyone, Was wondering how K6 browser works when running headless, does this mean that we can get 99% of the measurements even when running headless? Is the rendering still happening in the...
View ArticlemTLS calls do not work in K6
Hi, When I make an mTLS call using K6 I end up getting a 401 Not Authorized - likely due to certificates . Not sure where I am making a mistake . This is the code that I have import http from...
View ArticleK6 date manipulation libraries ala dayjs
I’ve always had a small pure js library for manipulating dates, but now I work on another project where this is taken to another level. So instead of investing in my own library, can I use libraries...
View ArticleGrafana cloud synthetics test - http-debug is true by default and dashboard...
By default it appears that standard http calls such as the simple example below log the Authorization header and are visible in the logs section of the dashboard. The logs include source=http-debug....
View ArticleDay array to vu for scenario
How can I convert my array into a list that take one vu for each day in the days array export default function () { let days = []; const first = dayjs(); const last = first.clone().add(3, 'month');...
View Article