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

Variable in comparison predicates are not supported #799

Closed
fabricereix opened this issue Sep 2, 2022 · 0 comments · Fixed by #810
Closed

Variable in comparison predicates are not supported #799

fabricereix opened this issue Sep 2, 2022 · 0 comments · Fixed by #810
Labels
bug Something isn't working
Milestone

Comments

@fabricereix
Copy link
Collaborator

Variables in comparison predicates are not parsed

GET http://localhost:8000/example
HTTP/* 200
[Asserts]
jsonpath "$" count <= {{count}}
$ hurl /tmp/test.hurl 
error: Parsing predicate value
  --> /tmp/test.hurl:4:23
   |
 4 | jsonpath "$" count <= {{count}}
   |                       ^ invalid predicate value
   |
@fabricereix fabricereix added the bug Something isn't working label Sep 2, 2022
@fabricereix fabricereix linked a pull request Sep 7, 2022 that will close this issue
@fabricereix fabricereix added this to the 1.7.0 milestone Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant