Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables can now be grouped into sequences that can be used together #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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