Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 668 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 668 Bytes

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.