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

V5 schema does not support matching on an empty request query #750

Closed
tommysitu opened this issue Jul 5, 2018 · 0 comments
Closed

V5 schema does not support matching on an empty request query #750

tommysitu opened this issue Jul 5, 2018 · 0 comments

Comments

@tommysitu
Copy link
Member

In the new V5 schema, the query field is a map of key and matchers. If you set it as an empty map, Hoverfly simply ignores the query for matching, and there is no way to create a simulation to match on an empty query. As a workaround, you have to use the deprecatedQuery field to create an exact matcher on an empty query string which is likely to be removed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants