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

How to disable the --quiet flag in the pods created by testrun jobs

Hello. I have been trying to test a particular link with the k6 operator, and i have been using the logs to try to find the reason it is unreachable, but recently i stopped seeing the logs. I only get...

View Article


VU UID increment within a specific numerical range

Hello, Within k6, I was using the counter to increment the user ids for the session. By default, it would begin with zero and increment to whichever VU count it reached. Now, I need to implement a...

View Article


Cross Domain Cookie Syncing

Hello there! I’m currently testing an API user journey which traverses two domains (one LegacySystem and a NewSystem). An example test might be: Req1 - Home page (NewSystem) Req2 - Login POST...

View Article

K6 crypto sha256 digest question

in python In [18]: data = '{"CIDR": "192.168.0.0/16", "clientToken": "79fa97e3- ...: c48b-xxxx-9f46-6a13d8163678", "enableIpv6": false, "name": " ...: vpc-for-test-wowop1", "regionID":...

View Article

How to Fill a textarea with text and Send the Message?

Hi, I’m trying to go to a URL, fill a textarea input with some text, and click on a button which should send the message (Q&A Chat system). NOTES: I’m testing using the Grafana Cloud Script...

View Article


Sequential Data Assignment for VUs in constant-vus Executor

I’m working on a load test scenario in K6 where I need each Virtual User (VU) to process unique data from a CSV file. Here’s what I’ve tried so far: export const options = { scenarios: { functionName:...

View Article

Image may be NSFW.
Clik here to view.

The hundred users should log in simultaneously only once. How should we...

export const options = { vus: 100, iterations: 100, }; Is this correct, or should I update it? Can anyone help me? I don’t have any duration condition; I just need 100 users to log in simultaneously,...

View Article

Grafana + K6 + Influx Data Error

I currently have a k6 script that runs around 15 different scenarios and outputs that data to an instance of grafana deployed on kubernetes where I then have a deployed instance of grafana pull the...

View Article


How to deal with load tests on APIs that make costly external calls?

Hello, I’m currently trying to understand the correct approach of using Grafana k6 to load test an API route that internally makes other API calls to services that costs $$. I have a simple use case...

View Article


Datadog k6 metrics for Graphql operations

I am doing performance testing for a application which have graphql operations. The tool I used for monitoring is Datadog. I was using datadog metrics to get the test results details, such as status,...

View Article

Performance testing in continues deployment to prod

I would like to hear the process you follow when you do performance testing using k6 in a continues deployment to production pipeline. 1 post - 1 participant Read full topic

View Article

Hot To Send JSON As File Multipart/form-data

I want test JSON Send as multipart/form-data. So, I change JSON String into File With Blob. But the k6 is not include Blob library. my k6 code is below export default function () { let url =...

View Article

Image may be NSFW.
Clik here to view.

K6 runners fail on a large script

Hi all, I have written a script for load testing my service The size of the script is > 256kB. I am facing a peculiar problem where in I if I supply parallelism as 5 to k6 operator out of 5 pods 2...

View Article


Parsing CSV data in K6 script

Hello All, I have a simple K6 js script that reads through a CSV file and tries to identify the individual values. When i try to extract the values it renders unidentified for username while it is...

View Article

Image may be NSFW.
Clik here to view.

Xk6-dashboard html report show more qps than it's supposed to be

I’m trying to run k6 with ramping-arrival-rate scenario, but mostly it should be constant at 15,000 requests per second. scenarios: { ramping: { executor: "ramping-arrival-rate", // Pre-allocate...

View Article


Image may be NSFW.
Clik here to view.

Grafana K6 - New user - Memory issues reading from JSON and/or CSV when file...

Hi All, apologies for the question as it may sound silly BUT, I’m currently on the lookout for a new load testing tool. Currently we use NeoLoad and find it very user unfriendly and their support is...

View Article

Synthetic monitoring API for k6s script

Hello everyone, Has anyone successfully pushed a scripted monitor via API? I have done this for API endpoint monitors like HTTP, etc....

View Article


How to set TestRun with --no-summary --no-thresholds

Based on this post here. I am looking to have our test run use the arguments --no-summary --no-thresholds. I think I am setting it incorrectly since the summary report still ran at the end of the...

View Article

Image may be NSFW.
Clik here to view.

Need to embed Grafana dashboard in react web application

We have a requirement to embed Grafana dashboard in react web application. We have published the dashboard, and we have a public dashboard link. The issue which we are facing is due to template...

View Article

Using k6 with Event Hub Messaging by Producing and Consuming messages

Hello all, Does k6 have an official interface to Event Hub or is it something that is being worked upon? It’s just that I am using k6 to simulate producing messages to an Event Hub instance and then...

View Article
Browsing all 400 articles
Browse latest View live