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

ERRO[0026] Failed to load resource: k6/browser

Hi, I have installed the following version of K6: k6-0.53.0-1.x86_64 I have the following code: import { browser } from 'k6/browser'; import { check } from 'k6'; export const options = { scenarios: {...

View Article


Image may be NSFW.
Clik here to view.

K6 for authenticated URL

need to authenticate url using k6 http authentication as well as Oauth (SSO). 1 post - 1 participant Read full topic

View Article


Image may be NSFW.
Clik here to view.

Group duration value is giving wrong value

HI Team, Im trying to run async functions in group.following is an example of our implementation. and the group duration is giving us wrong response time. the functions inside the group is taking more...

View Article

Is there any solution for running K6 to loadtest thrift api?

I wonder if there is any existing solution for running load test for Thrift API using k6 1 post - 1 participant Read full topic

View Article

Test using Incorrect Csv file

Hi, I have been facing a strange issue, i declared a csv file using sharedarray, but while running the test, my test starts utilizing a different csv file. I need to remove the file which it is...

View Article


Logout only once k6

Hi, I need help to logout only once from my test. I captured the cookies , but not sure how to iterate them and pass it to my logout end point. My scenario: login all users-only once Perform multiple...

View Article

Private probe and checks to RFC1918

Hi, I’m trying to figure out if a grafana private probe can run k6 checks to private IPs? I’m seeing “is in a blacklisted range (10.0.0.0/8)”, my checks seem to be failing because of this. Some of the...

View Article

How to delete a private load zone?

I have created a private load zone to use in k6 tests, but I needed to create another one because the first doesn’t seem to be working correctly. So I created a second one, but when I try to run the...

View Article


Connectex: No connection could be made because the target machine actively...

Hello guys. I have a grpc service written in .net, set up on docker, when trying to connect with more virtual users (over 500) an error occurs: ERRO[0002] GoError: connection error: desc = ‘transport:...

View Article


Configure k6 to OTLP and send metrics to Datado

Hi Team, As per the latest version of k6, i updated the version and trying to send a k6 metrics to datadog by using the following command and document. As per this document i didn’t see any data send...

View Article

Send audio file (wav) with k6 in POST request

Hi, As part of my test in K6, I need to send a wav (audio) file to the server in POST request. The audio file should be first converted/encoded to base64. I tried this code: import encoding from...

View Article

K6 Browser : Upload file using setInputFiles

Facing challenges to Upload file, to do performance testing using k6. Why cannot we use Playwright await page.getByLabel(‘Upload file’).setInputFiles(path.join(__dirname, ‘myfile.pdf’)); or await...

View Article

Frozen browser intermittently and suddenly using k6 browser

Hi there, Just suddenly, using k6 browser 0.51, 0.52 or 0.52, latest Chrome browser, random test execution become frozen at random point and the execution fails for no reason. Could this be Chrome...

View Article


I am getting error "level=error msg="error building browser on IterStart:...

I am getting below message in all the pods of Kubernetes data_received…: 0 B 0 B/s data_sent............: 0 B 0 B/s iteration_duration...: avg=99.3µs min=99.3µs med=99.3µs max=99.3µs p(90)=99.3µs...

View Article

Best practices for managing k6 test cases and dependencies across repositories

Hi, I have a question regarding best practices for managing k6 test cases. To scale our performance testing efforts, I’m considering setting up a dedicated repository to store common functions that...

View Article


Browser tests aborting due to too-many-time-series

Hello everyone, we are facing an issue with streaming local browser test data to Grafana k6 cloud. Longer tests (aprox. > 5 min) are failing with code too-many-time-series. In the Cloud Insights...

View Article

K6 browser load testing (large scale)

Hi! I´m investigating load testing with K6 as an alternative to Jmeter distributed load testing. We today scale out jmeter webdriver loadtests with headless chrome on Azure linux machines. We have...

View Article


Error while using postman-to-k6 CLI to convert postman collection into k6 script

Hi, I am trying to convert a postman collection into a k6-script by using the postman-to-k6 cli provided, as it will save me a lot of time. When I execute the postman-to-k6 command, it throws the...

View Article

Running k6 chromium browser test in Kubernetes cluster using k6 operator

Hi, I have setup a local k6 environment on kubernetes cluster using k6 operator and able to run http request load test successfully. Can someone point me the steps to configure the k6 operator to...

View Article

I am facing some Issue browser In the following code could any one help

import { browser } from ‘k6/browser’; import { check } from ‘k6’; const users = [ { email: ‘rohit1@test.com’, password: ‘QWNjb3VudDogMJSkJ=’, workspaceUrl: ‘https://test.Domainname.com/users/sign_in’...

View Article
Browsing all 339 articles
Browse latest View live