Skip to content

Latest commit

 

History

History
24 lines (24 loc) · 1.3 KB

README.md

File metadata and controls

24 lines (24 loc) · 1.3 KB

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