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

Image may be NSFW.
Clik here to view.

Unable to see Total Requests in HTML report or console for browser...

Hi All, I am not seeing Total requests in HTML report or in the default command prompt logs after running below browser performance testing code. Pleae help me with any missing criteria etc. import {...

View Article


Failed by threshold

Hello! I’m starting to use K6 and Grafana. When I run it locally, no failures are shown, all tests pass. When running k6 cloud run …spec… the tests fail with the message Failed by threshold. Looking...

View Article


handleSummary fires even when the session is terminated rather than...

Hi, Loving using K6 it really makes writing load testing easy! I have built out a framework for delivering building block endpoint benchmark/load tests that can then be composed using the fantastic...

View Article

Typescript import module

I see the release here indicates typescript can now be done without using something to compile the typescript and bundle it into a single js file. New Grafana k6 features: TypeScript support, async...

View Article

Can we use k6 to do Snowflake DB query performance

I need to do a Snowflake DB query performance test. Is k6 supporting this? Can I do the DB connection? 2 posts - 2 participants Read full topic

View Article


Welcome to K6-studio!

Hello, welcome to K6 studio community board! Please leave any questions or comments related to GitHub - grafana/k6-studio here! 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

HTTP Batch requests with user defined tags not appearing in summary output

Hi, K6 version: k6 v0.56.0 (commit/cc8511256d, go1.23.6, linux/amd64) I have the following script where i want to display summary rows per scenario in the test import { check, sleep } from 'k6' import...

View Article

Sending per scenario threshold metrics to Datadog

Hello, Is there a recommended way to send threshold metrics to Datadog with a setup that looks like this: Thresholds per scenario: "thresholds": { "http_req_duration{scenario:1}": ["p(95)<400"],...

View Article


Creating a K6 test which works through multiple endpoints in a sequence

I’m looking to create a K6 test which works through a sequence of requests to different endpoints, passing variables from some responses to subsequent steps. I’ve been searching for a guide to doing...

View Article


Is using class based approach in Grafana K6 test scripts a bad practice?

I’m working on performance testing with Grafana K6 and trying to structure my test scripts to avoid redundancy. So I’ve implemented a class-based approach. Here’s a sample code: const metrics = new...

View Article

Import jslib aws for k6 tests

Hi, when I try to use sqs by that import as described in the docs: import { AWSConfig, SQSClient, } from 'https://jslib.k6.io/aws/0.12.3/sqs.js'; I get an error that there is no https folder, how can...

View Article

Image may be NSFW.
Clik here to view.

Discrepancy in cookies between BrowserContext and browser developer tools

Description When using the k6 browser module to automate login flows, I’m observing inconsistent cookie data between: Cookies visible in browser developer tools (Application > Cookies) Cookies...

View Article

Extremely high memory on EC2 instance

This is my first time using K6 and I’m loving it so far. I need to run a load test with 36000 VUs. I keep running out of memory on an amazon EC2 instance during initialization. I’m generating memory...

View Article


Wait for Active Requests to complete K6 Browser

I am hoping to find a way for all active requests to complete in a k6 browser test. I have been trying to use the waitForNetworkIdle but that also listens for incoming requests and our site is very...

View Article

Monitor or create dashboard for linux/Windows directory

Hello, We would like to monitor Linux/Windows directories like /root or C: , D: etc. Is that possible to create dashboard for directories on the Grafana? 2 posts - 2 participants Read full topic

View Article


How to stop k6 websocket test

import http from 'k6/http'; import { check, sleep } from 'k6'; import ws from 'k6/ws'; import { MessageEncoderDecoder } from './messageEncoderDecoder.js'; import { WebSocket } from...

View Article

K6 - Azure integration repository is archived

Seems that the example repository has been archived. https://github.com/grafana/k6-example-azure-pipelines But there is nothing on the readme in regards of possible alternative? Or way to do a setup...

View Article


Browser mode does not work

I am using the latest version 0.57. I aim to use K6 browser mode but the browser does not open. I am adding console logs and see that the URL is constantly null. I am using the script from K6’s...

View Article

Data Parameterization - Retrieving unique data

Hi Team, Referring Docs - Retrieving unique data, scenario.iterationInTest My test data is stored in testData.json file In my request URL I want to pass random unique set of test data in variable...

View Article

Sending individual scenario threshold metrics to Datadog

Hello, Is there a recommended way to send threshold metrics to Datadog with a setup that looks like this: Thresholds per scenario: "thresholds": { "http_req_duration{scenario:1}": ["p(95)<400"],...

View Article
Browsing all 329 articles
Browse latest View live