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
Values used in Hurl in Captures/Assert are typed (integer, boolean, string,...)
On the opposite, the input variables (from the option --variable) are all strings.
It will be interesting to type the input variable implicitly.
The string <1> should be treated as integer, therefore the first assert should fail rather than the second.
Similarly, the value should be treated as bool.
To force a string value, the value can be quoted.
This is consistent with the predicate value.
For example, the id <123> is passed as string as follow:
hurl --variable id='"123"' sample.hurl
The text was updated successfully, but these errors were encountered:
Values used in Hurl in Captures/Assert are typed (integer, boolean, string,...)
On the opposite, the input variables (from the option --variable) are all strings.
It will be interesting to type the input variable implicitly.
The string <1> should be treated as integer, therefore the first assert should fail rather than the second.
Similarly, the value should be treated as bool.
To force a string value, the value can be quoted.
This is consistent with the predicate value.
For example, the id <123> is passed as string as follow:
The text was updated successfully, but these errors were encountered: