artillery-plugin-aws-sigv4

0.0.5 • Public • Published

artillery-plugin-aws-sigv4

A plugin for artillery.io that signs HTTP requests using the AWS Signature V4 specification.

To use:

  1. npm install -g artillery

  2. npm install artillery-plugin-aws-sigv4

  3. Add aws-sigv4 plugin config to your "hello.json" Artillery script

    {
      "config": {
        "plugins": {
          "aws-sigv4": {
             "serviceName": "execute-api"
           }
        }
      },
      "scenarios": [
        {
          "beforeRequest": "addAmazonSignatureV4"
        }
      ]
    }
  4. artillery run hello.json

This will add an authentication header to every request that conforms to V4 of the AWS Signature Specification.

For more information, see:

Enjoy!

/artillery-plugin-aws-sigv4/

    Package Sidebar

    Install

    npm i artillery-plugin-aws-sigv4

    Weekly Downloads

    286

    Version

    0.0.5

    License

    Apache-2.0

    Unpacked Size

    290 kB

    Total Files

    18

    Last publish

    Collaborators

    • feli.pe
    • tfrego
    • serverless-nordstrom
    • gwsii