Quantcast
Channel: Grafana k6 - Grafana Labs Community Forums
Browsing all 339 articles
Browse latest View live

Http_req_failed high on output.json but succed on console output

Hi Team, I just run loadtest k6 using this script import http from 'k6/http'; import { check, sleep } from 'k6'; // Accept these status codes as successful // http.setResponseCallback( //...

View Article


Image may be NSFW.
Clik here to view.

502 Bad gateway K6 studio (self-signed certificate in certificate chain

Hi everyone, I just started with K6-studio (version 1.0.2), installed on Windows 10. Recording an app on the internet looks fine but trying an internal resulting in 502 bad gateway (certificate verify...

View Article


Image may be NSFW.
Clik here to view.

Redirects not working in grafana cloud performance testing

What happened? Redirects do seem to be timing out on K6 Cloud. We have tests that get redirected to a homepage. The homepage redirection constantly timeouts. When the test is executed locally (from...

View Article

Generate .har file support?

Hi, I see lots of documentation & examples of using a har file for generating scripts, so it’s hard to find if the opposite is true. Can k6 browser generate a .har file? I see Playwright does it....

View Article

Need to run Browser Test using GHA

Getting error while running it from GHA 2 posts - 1 participant Read full topic

View Article


Another 'message signing' hurdle

I’m currently setting up a test script in K6 and I’m trying to dynamically sign a json object and generating an HTTP request with multiple headers and so on. Currently we have to send our JSON objects...

View Article

K6 operator prometheus build-in parameter

Hello. I’ve just setup the k6-operator and I just noticed that there is a parameter to send metrics to prometheus. Here are the docs and the corresponding value parameter here. So far I was using the...

View Article

Image may be NSFW.
Clik here to view.

K6- Studio -- InvalidEventFormat in Content

Hi , I using K6 Studio , I am able to record and when validating test script I see in Content of the POST URL .Anyone faced this kind of issue ? Please suggest how to overcome this error. “acc”: 0,...

View Article


Image may be NSFW.
Clik here to view.

Http only: retrieve multiple Set-Cookie-s from response

I’ve invested quite some time into writing a script suite for a scale test. I’m following industry standard procedure and went with a hybrid solution. The headless-browser scenario works fine and I’m...

View Article


How to find an element inside of Iframe using K6 browser

Hi Community, I am wondering how we can use the Frame element described in the documentation. Its does not have an example Frame | Grafana k6 documentation, I have read the other post but they are old...

View Article

Can't install k6 on Ubuntu 25.04

Hi, I have a problem installing k6 on Ubuntu 25.04. When I run: sudo gpg -k sudo gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80...

View Article

Check multiple selectors through page.locator call like puppeteer.locator.race

Is there way to look for multiple selectors at a time through page.locator ? case where page have result to display in table, or if no result to display, want to have page.locator to check either...

View Article

Automating end-to-end load testing of highly dynamic applications

Hi, we have a website / application that is highliy dynamic in nature from two perspectives: The names of static assets / resources change with every build. Significant client-side logic that depends...

View Article


Suggestion for k6 Studio: Add Incognito Mode for Recording

Hello Grafana Community, I’m currently testing k6 Studio and I’m impressed with its capabilities. However, I’ve identified an area where I believe the tool could be enhanced, specifically in the...

View Article

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 Article


Synthetic 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 Article

Image may be NSFW.
Clik here to view.

Passkeys/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 Article


Image may be NSFW.
Clik here to view.

Auto-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 Article

Error 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 Article
Browsing all 339 articles
Browse latest View live