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:
Api and course developed by Fernando Papito linkedin
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