Error trying to use browser module: "browser not found in registry"
Trying to use the browser module but getting this error: ERRO[0001] Uncaught (in promise) browser not found in registry. make sure to set browser type option in scenario definition in order to use the...
View ArticleK6 Skip TLS verify not working, Getting error failed to verify certificate: x509
I have been trying skip TLS verify in K6 scripts. tried passing “insecureSkipTLSVerify: true” in options passed as flag (–insecure-skip-tls-verify) After applying above solutions However still getting...
View ArticleK6 browser pods: handleSummary does not give consolidate
Hi Grafana K6 Community, My K6 browser tests are running in different k6 pods(4 total). Is there a way to consolidate the K6 metrics end-of-test summary report* (eg: browser_data_received,...
View ArticleProcess with PID 41 unexpectedly ended: context canceled
Hi, I am getting the error “process with PID 41 unexpectedly ended: context canceled” while running a k6 browser test in aws codebuild, but my checks in the k6 script are passing. Should I ignore the...
View ArticleShould I add third party services, css, js images, docs etc in hybrid test
I’m considering a hybrid approach to browser testing and have used the k6 recorder to capture the user’s browser journey. My hybrid scenario would look like this (separated here for clarity): export...
View ArticleAdding id in handleSummary
Hi, Is there a way to add a unique id to handleSummary? Thanks. 1 post - 1 participant Read full topic
View ArticleNot able to generate K6 script using postman-to-k6
Hi, I am trying to use postman-to-k6 to generate a K6 script however it failed with the error below. The xyz.js was not even generated. It seems complaining a syntax error in the xyz.js (which is...
View ArticleGetting TypeError: Object has no member 'contentFrame' after migrating...
Hello, I am getting the following error after I migrate my browser test script into k6 v0.52 ERRO[0007] Uncaught (in promise) TypeError: Object has no member ‘contentFrame’ async _clickCaptcha() {...
View ArticleDifferentiate browser vital metrics between 2 pages which are running in one...
Hello, In my script I am visiting more than one page for example login page (Entering username and password and clicking “Sig in” button) dashboard page (navigating to dashboard page after login) I...
View ArticleIs xk6 extension required with k6 0.52 version?
I was trying to upload csv using setInputFiles command but getting a type error as Execution completed Code: const fileInput = import page.$(“locator”); fileInput.setInputFiles(‘path of file’);...
View ArticlePage.goto, page.waitForNavigation/page.locator causes Datadog warning
Hello! I’m using k6 browser for the first time to simulate logging into a page. Two lines of code provoke the following warning: Datadog Browser SDK: service value doesn't meet tag requirements and...
View ArticleWriting logs to a persistent storage
Hi all., I am running k6 operator in argo workflows with multiple instances. I want to write /pipe all the logs generated by test pods to a persistent storage so that it can be later ingested into...
View ArticleHow can achieve post script validation
Each api commit some data in Elastic via business api. Is there any way after completing this execution , I can verify in elastic search to validate that the data is consumed properly or not. export...
View ArticleGrafana alloy not getting any data
Hi I am using below helm chart using grafana open source tool to get the metrics. However after configuring grafana alloy, I am getting no data on grafana OSS however it works fine in grafana cloud ....
View ArticleExtract value from a nested JSON response based on another value
Hello, I am trying to extract a value from a nested JSON response based on another value from the response: { “primaryId”: “1”, “details”: { “secondaryId”: “3”, } In the above instance, I would...
View ArticleGenerate post with json body containing dynamic values
I’ve been looking at using k6 to generate otlp requests for logs metrics and traces against our opentelemetry-collector / lgtm stack. Is it possible to have a json object and generate certain strings...
View ArticleGetting the number of requests started per second
Hi there, I’m hoping to be able to record, as live output, the number of iterations started per second by k6. This GitHub issue comment indicates that the iteration counter metric is emitted at the...
View ArticleIs there any way to modify VU Context
The setup that I’m currently working on was built on top of a Fork of k6 so that we could support custom instrumentation regarding tracing. K6 http methods were all changed in order to generate spans...
View ArticleLaunching the k6 recorder extension automatically?
Hey folks, been searching but with no success, so asking here. I have some UI automation that my team wants to convert to k6 UI performance tests. They’re written using Playwright - Cucumber -...
View ArticleK6 incredibly bad ram usage
Hello guys ! I am currently working on a load testing using k6’s browser .There is no way i can make it using http.get because it requires ui interactivity . I made a script that logins and then in an...
View Article