You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was struggling for a while to work out how i could pass variables from outside my yaml, in to pyresttest, almost concluding it could not be done as it is mentioned nowhere in any of your documentation.
It took running pyresttest --help in CLI to find you could do this:
pyresttest [URL] [file] --vars='{"key": "value"}'
This lets you use $key in your yaml to pass in your value, allowing you to use the same file for lots of different test cases.
Adding this as an issue in the hopes no one else will lose a day to this.
The text was updated successfully, but these errors were encountered:
I was struggling for a while to work out how i could pass variables from outside my yaml, in to pyresttest, almost concluding it could not be done as it is mentioned nowhere in any of your documentation.
It took running pyresttest --help in CLI to find you could do this:
pyresttest [URL] [file] --vars='{"key": "value"}'
This lets you use $key in your yaml to pass in your value, allowing you to use the same file for lots of different test cases.
Adding this as an issue in the hopes no one else will lose a day to this.
The text was updated successfully, but these errors were encountered: