Skip to content

Instantly share code, notes, and snippets.

@georgmao
Created February 18, 2020 01:33
Show Gist options
  • Save georgmao/b3560dc4be67c0c056378da904397d12 to your computer and use it in GitHub Desktop.
Save georgmao/b3560dc4be67c0c056378da904397d12 to your computer and use it in GitHub Desktop.
Sample Artillery load test for Lambda using Artillery and sigv4 plugin
config:
target: https://lambda.us-east-2.amazonaws.com
phases:
- duration: 60
arrivalRate: 10
rampTo: 50
plugins:
aws-sigv4:
serviceName: lambda
scenarios:
- flow:
- post:
url: "/2015-03-31/functions/[your function name here]/invocations"
json:
foo: bar
beforeRequest: addAmazonSignatureV4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment