Replies: 1 comment
-
| Super old thread, but I am interested in this idea as well. Thinking initially of bash syntax, ${variable:-valueIfEmpty}which is supported by things like docker compose for instance. I think that the syntax for it is a sort of convention that many would understand, but also it's not self-explanatory, requires knowledge of bash or others who have implemented the syntax, etc. Something like a simple  Something that always bugs me about the way that docker compose utilizes the defaults is that you have to override the value in every single location that it's used. It would be nice if, for hurl, a syntax could be found that could set the default for the variable in all locations of the file for the case when it is not assigned by the user. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is to have parametrised hurl file where paremeters are optional
I could call
hurl search.hurlto use the default limit/offset equal 10 and 0 respectively.And then I could
hurl --variable LIMIT=100 --variable OFFSET=100 search.hurlto change the paging paramsBeta Was this translation helpful? Give feedback.
All reactions