artillery-plugin-http-file-uploadsdeprecated

This plugin adds powerful HTTP file upload support to HTTP scenarios in Artillery.io.

Usage no npm install needed!

<script type="module">
  import artilleryPluginHttpFileUploads from 'https://cdn.skypack.dev/artillery-plugin-http-file-uploads';
</script>

README

HTTP File Upload Support for Artillery.io

This plugin adds powerful HTTP file upload support to HTTP scenarios in Artillery.io.

This plugin is part of Artillery Pro and may not be distributed or used separately from Artillery Pro.

Usage

config:
  target: "http://localhost:10888"
  phases:
    - duration: 180
      arrivalRate: 20
  plugins:
    #
    # Enable the plugin:
    #
    http-file-uploads: {}
  variables:
    picture:
      - "jeremy-bishop-340107.jpg"
      - "idella-maeland-19069.jpg"
      - "simon-hattinga-verschure-5245.jpg"
      - "verena-yunita-yapi-204090.jpg"

scenarios:
  - flow:
      - post:
          url: "/upload"
          formData:
            #
            # Load the contents of a form field from a file:
            #
            picture:
              fromFile: "./files/{{ picture }}"

License

(c) 2017 Shoreditch Ops Ltd. All rights reserved.

NOTICE: All information contained herein is, and remains
the property of Shoreditch Ops Ltd. The intellectual and
technical concepts contained herein are proprietary to
Shoreditch Ops Ltd and are protected by copyright law.

Modification and/or redistribution of this material is
strictly forbidden unless prior written permission is
obtained from Shoreditch Ops Ltd.