artillery-plugin-tls-cert-loader

1.2.5 • Public • Published

Artillery.io Plugin: TLS Cert Loader

This plugin is intended to be used to attach tls cert files to requests. Should work with CERT, PFX, KEY, CA, and others.

Note: This plugin will take the plugin.config properties, load the files provided, and then append to the config.tls node with the same name. Anything already there will be replaced.

How to add to your project

First off install the package...

npm i artillery-plugin-tls-cert-loader

Add the plugin to your artillery script and reference your file to load...

config:
  tls:
    rejectUnauthorized: false
  plugins:
    tls-cert-loader:
      config:
        pfx: "./path/to/file.pfx"
        ca: "..."
        cert: "..."
        key: "..."

Thats it, run your script!

Readme

Keywords

none

Package Sidebar

Install

npm i artillery-plugin-tls-cert-loader

Weekly Downloads

2

Version

1.2.5

License

MIT

Unpacked Size

3.16 kB

Total Files

4

Last publish

Collaborators

  • cfryerdev