Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 598 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 598 Bytes

k6-testing

Testing simple API using k6 [smoke, load, strees, and soak].

The API was built using expressjs and the endpoint would be tested are /home and /hello

Installation

  1. Clone this repo git clone https://github.com/shotozuro/k6-testing.git

  2. Install the dependencies npm install

  3. Run the project npm run start

Testing

  1. This repo use k6 for testing. Please, follow k6 installation instruction first.

  2. Run the test

for /home endpoint npm run test:home

and

for /hello endpoint npm run test:hello