Skip to content

Example about to K6 tool used to implement performance tests.

Notifications You must be signed in to change notification settings

JesusSalinas/K6-Performance-Tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K6 Performance Tests

Table of contents

Resume

The main aim of this project is to share the K6 backbone and basic examples about how to implement K6 Performance Tests. We use the Todoist API as reference, you can find it in the following: link

Pre-requirements

  • To have installed a node version managment
  • To have installed the v16.11.1 node version or higher

Setup

  • $ cd ../repository_folder
  • $ git clone ...
  • For MacOS run $ brew intall k6. For any other S.O. go to the next link
  • Install all the Dependencies
  • Finally, run: $ k6 run --config "./utils/config.json" --console-output "./logs/logs.log" ./scripts/script_name.js

Dependencies

  • Install the HTML report npm install k6-html-reporter --save-dev

Reports

To be able to see the report in HTML format run the next command: npm run html:report once the execution has finished.

Example

k6

About

Example about to K6 tool used to implement performance tests.

Topics

Resources

Stars

Watchers

Forks