artillery-plugin-sitemap

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i artillery-plugin-sitemap

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

3.19 kB

Total Files

6

Last publish

Collaborators

  • jjouffroy