Run a given file with a set of input variable values? #263
natalie-o-perret
started this conversation in
General
Replies: 1 comment 2 replies
-
Does using environments not work? https://httpyac.github.io/guide/environments.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🙋♀️ Hello,
So here is below a file I'm using, and I would like to create a test suite that would run different values of
@inputVariable
, is there a way to achieve that with the latest version of httpyac?What I'm usually doing is running
Get Stuff From Api 7
(since it references everything else) and the piece of js script at the bottom runs right after theGet Stuff From Api 7
execution which allows to fetch every other request referenced byGet Stuff From Api 7
andGet Stuff From Api 7
itsef to be used in the script.That being said, it's get a bit tedious when I need to run with set of values for the same
@inputVariable
.Eventually, I'd like to write
expect
's for each value for the@inputVariable
.If so, how? (been through the docs, can't find something that would allow running a same file with different value for the
@inputVariable
.Beta Was this translation helpful? Give feedback.
All reactions