Running k6 cloud for the browser test on the vpn dev site
Hi all, I’m struggling with running the browser test via k6 cloud on the dev site that was behind the vpn. The dev site is hosted on AWS with VPN setup. I’m not sure are theses IP addresses from...
View ArticleBrowser recorder allows only HAR download and not k6 test script
Hi, It seems like browser recorder supports only HAR download and not the test script as per this post. However docs doesn’t mention this. This line The Browser recorder uses the HAR converter under...
View ArticleHow to import custom files from persistent volume claim to k6 operator
Hi, I want to import a .txt file with requests (stored inside a persistent volume claim) into my k6 operator. Is this possible? I am creating a configmap from my test script file and applying the k6...
View ArticleCannot run k6 docker image that was built from windows on linux: lanching...
Hi, all I have developed all the k6 scripts and build the docker image via Dockerfile on on the windows using WSL. Here is my Dockerfile FROM grafana/k6:0.55.0 RUN apk update && apk add...
View ArticleNumber of iterations X Number of requests
Hello! I’m studying K6 and I have a doubt. I ran a test with this code: The Total Requests was 40479 and the total of Iterations was 20245. Since I have only one request in my default function, why do...
View ArticleK6 - getting a pino-like logger JSON output
I’m trying to get to a pino like logger output. the problem is that any setup I got results with stringifying the metadata into the message instead of embedding it into the log entry record. Has...
View ArticleMessage Signing in K6 to match Postman Pre-Request script
I have a postman collection and a pre-request script to POST requests to an API endpoint whilst dynamically adding signature headers to the outbound request. We also have a console app which generates...
View ArticleUnable to install the k6 Studio in Mac
When I’m trying to install the k6 studio on Mac - I’m getting the below error even though I installed the latest version of k6 studio You can’t open the application “k6 Studio” because this...
View ArticleTrend.add metric not recorded if used too late
Hello and thanks for helping. I have a time trend that I’m adding a custom time measurement to. It works unless I delay the test by 0.1 of a second. I can provide more complete code, but I think the...
View ArticleEnsure K6 completes 6k iterations in a min
Hello, I am trying to simulate a scenario where I want my application under test to process a specific number. requests in a min without failure. For e.g. 6k requests in a min I tried the below...
View ArticleK6 operator with Datadog Integeration
Hey I was using k6 for distributed load testing within my cluster and want to output the results to Datadog. I already have the datadog documentation with me but I am unable to send the metrics. Here...
View ArticleWeird uncaught (in promise) error from using `page.url()`
Hi all. I’m currently experiencing this error. Moreover, I cannot reproduce it as it is randomly occurred. Uncaught (in promise) GoError: getting page URL: evaluating JS: Cannot find context with...
View ArticlePassing when running locally, failing when running in cloud
Hi there, I’m new to Grafana K6 and I’m writing a test where this is passing locally, failing in cloud vus: 1, // Number of virtual users duration: ‘30s’, // Duration of the test however, this is...
View ArticleVisual Regression Testing with K6
K6 has the page.screenshot function, but I wonder if it can somehow - via Sobek - make use of mature Visual Regression Testing tools, such as BackstopJS (which works with Playwright, whose API k6...
View ArticleNot able to see the recorded script via chrome k6 recorder
Hello K6 Community, I need your help to see the recorder script in k6 cloud, I am getting this below screen, how can I access to screen, attaching the both snap-shot, please help I am looking to see...
View Article[k6] How to send x requests after x times?
“I want to simulate 50 users logging into the system at the same time. After 10 seconds, another 50 users log in, and so on, until 5 minutes have passed.” My question is how to configure this in k6? I...
View ArticleDoes k6 Support Playback on Electron? Any Plans for Future Support?
We have been using k6 for browser-based performance and functional testing, and our current tests work great on Chrome. However, I am curious if k6 also supports playback on Electron-based...
View ArticleK6 can't create new browser session after killing previous process on...
When scenarios configured to start one after another like this: scenarios: (100.00%) 8 scenarios, 1 max VUs, 10m8s max duration (incl. graceful stop): * s1_1VUs_5k: 1 looping VUs for 1m15s...
View ArticleMouse hover in the page now working
@ankur I want to move the mouse cursor to disappear the pop up menu list to interact with the elements inside the iframe. async clickLoginBtn() { await this.loginBtn.waitFor(); console.log('Login...
View ArticleIs it possible to autogenerate the HTML report at the end of the run?
Hey everyone, I’ve been testing out k6, and it seems like a really solid tool for load and stress testing. As part of my bachelor thesis, I’ve written a few tests and run them using the k6 Docker...
View Article