Skip to content

Latest commit

 

History

History
37 lines (18 loc) · 838 Bytes

README.md

File metadata and controls

37 lines (18 loc) · 838 Bytes

Load Testing Demo using Artillery.io

Uses a sample API defined here:

Notes

  • Run all commands below from the root directory of the project

Setup

  • Install Node.js - (download)
  • Install Artillery - npm install -g artillery
  • Install Artillery Expect Plugin - npm install -g artillery-plugin-expect
  • Install project dependencies - npm install

Run Tests

  • Open the terminal to the root directory of this project

Check Single Endpoint

  • artillery run tests/filename

How to generate report as a json file

  • artillery run --output .json tests/<test_fileName>.yml

How to create a html report

  • artillery report --output .html .json

*** For generate html report, before must have to generate json reponse ***