Load test AWS Kinesis with
Last updated 3 years ago by hhvhhv .
MPL-2.0 · Original npm · Tarball · package.json
$ cnpm install artillery-engine-kinesis 
SYNC missed versions from official npm registry. AWS Kinesis Plugin

Load test AWS Kinesis with


Load testing a Kinesis stream will help you answer question like "have we provisioned enough shards to be able to handle expected volume?" and "are our consumers able to handle the amount of messages that will be streamed via Kinesis?"

Take guesswork out of provisioning capacity for your Kinesis streams and make sure your consumers can scale to process incoming data.


Important: The plugin requires Artillery 1.5.8-3 or higher.

Install the plugin

# If Artillery is installed globally:
npm install -g artillery-engine-kinesis

Use the plugin

  1. Set to the name of the Kinesis stream
  2. Specify additional options in config.kinesis:
    • region - AWS region (default: us-east-1)
  3. Set the engine property of the scenario to kinesis.
  4. Use putRecord in your scenario to push data to the stream.

Example Script

  target: "analytics_events"
    region: "us-east-1"
  # Emulate 10 publishers
    arrivalCount: 10
    duration: 1
    kinesis: {}

  - name: "Push to stream"
      - loop:
        - putRecord:
           # data may be a string or an object. Objects
           # will be JSON.stringified.
            eventType: "view"
            objectId: "ba0ec3de-26fe-4874-a74d-b72527160278"
            timestamp: 1492975372004
            location: "London, UK"
        - think: 1
        count: 100

(See example.yml for a complete example.)

Run Your Script

AWS_PROFILE=dev artillery run my_script.yml


MPL 2.0

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

2 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (11)
Dependents (0)

Copyright 2014 - 2016 © |