Skip to content

shashwatahalder01/Artillery_demo_reqres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ***

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published