Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
/ template-k6 Public archive

A K6 Performance Test Suite Template

License

Notifications You must be signed in to change notification settings

Im5tu/template-k6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K6 Performance Test Suite Template

This is a simple a K6 performance test suite template. Some of the common functionality that's required for tracking errors has already been taken care of for you, allowing you to concentrate on building your performance tests.

This repository assumes that you have a basic knowledge of docker, javascript and k6.

Build & Run

If you're on Windows, simply set the variables for K6_HOSTENV and K6_SCRIPT to your target values and run .\run.ps1. Otherwise, see the instructions below for a manual build and run.

Build

docker build -t test .

Run

docker run -it -e K6_HOSTENV=qa -e K6_SCRIPT=TEMPLATE.js test

About

A K6 Performance Test Suite Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published