Skip to content

kstayner/learning-k6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Learning k6

How to run the api

Create an account in mongodb cloud, create a cluster and get the credentials and put in the .env in learning-k6/api/src/.env

Node.js v16 or higher to run.

To release the Yarn package manager:

corepack enable

Run the commands below to install the project dependencies:

cd learning-k6/api
yarn install
yarn dev

topology:

Alt text

Api and course developed by Fernando Papito linkedin

How to run tests using k6

Install k6

go to the test directory:

cd learning-k6/tests

to run the load test run the command:

k6 run signup-load.js

to run the smoke test run the command:

k6 run signup-smoke.js

to run the stress test run the command:

k6 run signup-stress.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published