artillery-plugin-sitemap
v1.0.1
Published
Use sitemap URL with Artillery
Downloads
136
Readme
Artillery Sitemap
This Artillery plugin allows you to get all URL from a sitemap then call randoms URL from this one.
Usage
Install
npm install artillery-plugin-sitemap
Usage
Simple example :
config:
target: "https://toto.test/sitemap.xml" # Set the sitemap there
phases:
- duration: 20
arrivalRate: 1
plugins:
sitemap: {}
scenarios:
- flow:
- loop:
- get:
url: "/" # We should assign a useless URL there (it will be replaced by a random URL)
headers:
User-Agent: "bot"
count: 100