Skip to content

etienne-bechara/k6-load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K6 Load Test - TypeScript Template

This project offers a quick solution to load test an API in TypeScript language.

It is based on K6 which is a feature rich free tool for load testing.

Installation

Download and install K6 based on your platform.

Install Node.js dependencies for typings information:

npm i -g pnpm
pnpm i

Running

Modify source/main.ts to your liking, if you would like to use environment variables copy .env.schema as .env.

Then run the built-in script:

pnpm test

Results will be output in the console as well as in result.csv file.

About

K6 load testing in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published