Systems | Development | Analytics | API | Testing

November 2022

How to Lint K6 Tests and add a pre-commit hook - Stuart Thomas

I’m a big fan of K6, it makes writing performance tests quick and easy. In fact I wrote about it previously on my blog in a post titled Performance testing APIs in pipelines? K6 makes it simple! What I didn’t mention in that post was how to lint K6. Now you might be thinking, K6 tests are written in JavaScript, how hard can it be to lint? The problem is that although we write K6 tests in JavaScript, K6 itself is written in GoLang, an so we run into issues with Linting when importing K6.

Distributed load testing using Kubernetes with k6 (k6 Office Hours #72)

We demonstrate how to run distributed load testing using Kubernetes with k6 and k6 operator. k6 can already run up to 40,000 virtual users from a single load generator, but if you want to scale that up further, you can use the Kubernetes operator to create a k6 custom resource within your cluster.

From the newsletter - k6 v0.41.0, k6 named a leader by G2, Env variables, Tempo, Keptn, and more

Hi there, Here at k6, we’re constantly shipping new features to help our users get the most out of k6. In case you missed it, here’s a roundup of all the k6 and k6 Cloud news, updates, and improvements you should know about.

Hybrid performance testing with k6 (k6 Office Hours #71)

What is hybrid performance testing? It's an approach that involves writing and executing browser- and protocol-level testing scripts, but it does come with its own challenges. On this week's k6 Office Hours, Developer Advocates Marie Cruz and Leandro Melendez (Señor Performo) discuss the best practices for running hybrid performance tests with k6.

Performance Testing in Keptn using k6

This tutorial will demonstrate Keptn, a CNCF Incubator Project’s integration with k6. Keptn is a cloud-native application delivery and operations platform. We will use the Job Executor Service to execute k6 performance testing in a Keptn project. We'll start with running a k6 script and how the logs look. And then we'll modify the k6 script to see the behavior when it fails.

Distributed tracing with Grafana k6 x Tempo (k6 Office Hours #70)

Just announced: distributed tracing with Grafana k6 x Tempo! Daniel González Lopes joins us to talk about what distributed tracing is, and how traces using the Tempo backend could help you troubleshoot your performance issues and improve overall reliability. This new integration was just announced at ObservabilityCon 2022, and Daniel's here to tell us all about it!

How to correlate performance testing and distributed tracing to proactively improve reliability

At ObservabilityCON, we announced our first step towards launching a native integration between Grafana k6 load testing and Grafana Tempo tracing (k6 x Tempo) in Grafana Cloud. We created k6 x Tempo to help dev, testing, and operation teams analyze their performance test results more effectively and proactively improve the reliability of their business-critical applications.