Skip to content

Conversation

@darrenlangley
Copy link

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: 
    - "dflfjsdlkjlwkwekkjlkjr"
    - "poipoiwerisdfsdf"
  auth:
    - "234rfewrew3243"
    - "765765dfgdf454"

SOLUTION:
But also now like this:

variables:
  - 
    xsrf: "dflfjsdlkjlwkwekkjlkjr"
    auth: "234rfewrew3243"
  - 
    xsrf: "poipoiwerisdfsdf"
    auth: "765765dfgdf454"

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant