artilleryio / artillery-core

artillery-core - deprecated
Mozilla Public License 2.0
29 stars 104 forks source link

Variables can now be grouped into sequences that can be used together… #207

Closed darrenlangley closed 7 years ago

darrenlangley commented 7 years ago

Variables can now be grouped into sequences that can be used together in a scenario.

PROBLEM: When you want a set of variables to be used together on requests. For example you have an auth header and xsrf token that are tied to a user and need them to go together. Currently the variables section uses lodash sample to randomly pick the value across the possible values.

CURRENT: Currently variables can be defined like this (where the value is pulled at random): variables: xsrf:

SOLUTION: But also now like this: variables:

Where auth and xsrf values are pulled out together in sets.