0.4.0
Features
- Added sampling support.
You can specify a sample
option for a step to only run this step by specified number of clients from the group:
- perform:
sample: ":scale / 2"
channel: "chat"
params:
id: 2
action: "speak"
data:
message: "Hello!"
Useful in combination with :scale
.
NOTE: Sample size is always greater or equal to 1.
- Added ERB support.
Now you can, for example, parameterize scenarios with env vars:
- perform:
channel: "chat"
params:
id: <%= ENV["CHAT_ID"] %>
action: "speak"
data:
message: "Hello!"
Changes
- Ruby 2.5 is now required.