-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Question: JsonPathMatcher - not matching? Correct syntax? #120
Comments
Please see JSONPath syntax. |
Thanks Kevin. I guess in terms of json path syntax i need “$..*” - to match all members of my json exactly? |
The latest version from WireMock does now also support using a normal WildcardMatcher if you want to match a json message. So this code should also work like this example: Request.Create().WithPath("/api/beta03").UsingPost()
.WithBody("*beta03*")) |
A new See also #154 Closing this issue now... |
Hi - I'm not having my json match with the JsonPathMatcher. For example, I use:
But it never matches that request. Does the "pattern" to JsonPathMatcher have to be in a specific syntax?
I ended up adding a JsonExactMatcher (that just matches json exactly), since the JsonPathMatcher wasn't working for me. Could you suggest if something is wrong with the above code?
The text was updated successfully, but these errors were encountered: