Quantcast
Browsing latest articles
Browse All 381 View Live

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 Article


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


Looking 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

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


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

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

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


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


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

Image may be NSFW.
Clik here to view.

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

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

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


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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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

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


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

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

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

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


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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Load 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

Browsing latest articles
Browse All 381 View Live