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

Accept predicate value raw-string and base64 #215

Closed
fabricereix opened this issue Jun 22, 2021 · 0 comments · Fixed by #223 or #225
Closed

Accept predicate value raw-string and base64 #215

fabricereix opened this issue Jun 22, 2021 · 0 comments · Fixed by #223 or #225
Labels
enhancement New feature or request
Milestone

Comments

@fabricereix
Copy link
Collaborator

fabricereix commented Jun 22, 2021

Currently predicates accept primitive literals such as

jsonpath "$.id" == "123"
jsonpath "$.value" == true
sha256 equals hex,a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb88;

We could accept more literals, reusing the one defined for the request/response body.

body == base64, SGVsbG8gV29ybGQh;  
jsonpath "$.content" == ```List of items
- item1
- item2
- item3
```
@fabricereix fabricereix added enhancement New feature or request 1.3.0 labels Jun 22, 2021
@fabricereix fabricereix changed the title Accept more literals for predicate value Accept predicate value raw-string and base64 Jul 2, 2021
This was linked to pull requests Jul 2, 2021
@lepapareil lepapareil added this to the 1.3.0 milestone Oct 12, 2021
@lepapareil lepapareil removed the 1.3.0 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants