UNPKG

747 BYAMLView Raw
1# Emulate 20 publishers sending two records per second
2# for 60 seconds.
3config:
4 target: "my_awesome_function"
5 lambda:
6 region: "ap-southeast-2"
7 phases:
8 - arrivalCount: 10
9 duration: 1
10 engines:
11 lambda: {}
12
13scenarios:
14 - name: "Invoke function"
15 engine: lambda
16 flow:
17 - count: 60
18 loop:
19 - invoke:
20 # Event, RequestResponse or DryRun
21 clientContext: ""
22 invocationType: "Event"
23 # Tail or None
24 logType: "Tail"
25 payload: ""
26 qualifier: ""
27 - invoke:
28 clientContext: ""
29 invocationType: "event"
30 logType: "Tail"
31 payload: ""
32 qualifier: ""
33 - think: 1