Skip to content

dhruvi-alphabin/performance-testing-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performance Testing with K6

Set up microservices

Pre-requisites

  • Install Docker
  • Install Docker Compose

Step 1 : Clone the git repository to set up microservices in our device.

Step 2 : Run docker-compose to run docker containers.

  • docker-compose -f deploy/docker-compose/docker-compose.yml up -d

Getting started

Running local tests :

  • k6 run script.js

Running cloud tests from CLI :

  • k6 login cloud -t ${API Token}

Note: Here API token can find from profile of cloud web app.

  • k6 cloud script.js

Note: Here script.js is node.js file name in which our k6 tests are written.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%