Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. k6
  3. k6-test-template

k6-test-template

JavaScript

A template for creating and running load tests using the k6 framework with TypeScript support.

GitHubGitHub
7 stars2 forks0 contributors

Overview

This project provides a structured template for developing load tests with k6, a popular open-source load testing tool. It streamlines test creation, execution, and reporting by offering pre-configured scripts, helpers, and examples.

Key Features

  • Pre-configured Environments — Setup scripts for Windows and Unix-based systems to install dependencies and set environment variables.
  • Multiple Execution Modes — Run tests locally, on k6 Cloud, or in CI environments with dedicated npm scripts.
  • Modular Test Structure — Organize load scenarios, endpoints, and request functions in separate files for maintainability.
  • TypeScript Support — Write tests in TypeScript, which are compiled to JavaScript for k6 execution.
  • Comprehensive Metrics — Built-in reporting for key performance indicators like HTTP request duration, error rates, and virtual user activity.
  • Cleanup Utilities — Optional cleanup scripts to manage test data and resources post-execution.

Philosophy

The template emphasizes a modular and repeatable approach to load testing, enabling teams to quickly build, share, and scale performance tests with consistent configurations.

Quick Stats

Stars7
Forks2
Contributors0
Open Issues0
Last commit2 years ago
CreatedSince 2023

Tags

#load-testing#devops#performance-testing#k6#ci-cd#nodejs#typescript#testing-framework

Built With

k
k6
T
TypeScript
N
Node.js
n
npm

Included in

k6748
Auto-fetched 8 hours ago

Related Projects

k6-typescript-templatek6-typescript-template

Template to use TypeScript with k6

Stars306
Forks72
Last commit3 months ago
docker-k6-grafana-influxdbdocker-k6-grafana-influxdb

Demonstrates how to run load tests with containerised instances of K6, Grafana and InfluxDB

Stars179
Forks104
Last commit1 year ago
k6 QuickPizza examplesk6 QuickPizza examples

Demo app for learning observability with Grafana and performance testing with k6.

Stars165
Forks59
Last commit14 hours ago
k6-template-es6k6-template-es6

Template using Webpack and Babel to enable ES6 features in k6 tests

Stars89
Forks19
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub