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
JSON request body whose root starts with an array fails to match with JsonPath/JsonPartial as matcher #895
Labels
Comments
cvadityaflipkart
changed the title
JSON request body whose root starts with an array fails to match with JsonPath as matcher
JSON request body whose root starts with an array fails to match with JsonPath/JsonPartial as matcher
Jan 31, 2020
cvadityaflipkart
added a commit
to cvadityaflipkart/hoverfly
that referenced
this issue
Jan 31, 2020
cvadityaflipkart
added a commit
to cvadityaflipkart/hoverfly
that referenced
this issue
Jan 31, 2020
Merged
tommysitu
pushed a commit
that referenced
this issue
Feb 3, 2020
tommysitu
pushed a commit
that referenced
this issue
Feb 3, 2020
tommysitu
pushed a commit
that referenced
this issue
Feb 3, 2020
fixed in v1.1.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug
JSON request body whose root starts with an array fails to match with JsonPath as matcher.
Steps to reproduce the issue
Any http request with the following body
https://jsonplaceholder.typicode.com/posts
and the simulation file containing the following matcher
Edit: It also occurs with JsonPartial
Observed result
Hoverfly error messages seen (If none, say none)
If possible, add screenshots to help explain your problem
Expected result
No error
Additional relevant information
hoverfly/core/matching/matchers/json_path_match.go
Line 38 in 7c00820
The text was updated successfully, but these errors were encountered: