Describe the bug
When adding a query string parameter with an empty value the API call isn't matched.
Expected behavior:
The API call should be match when using a query string parameter with an empty value.
Test to reproduce
Using this API call http://localhost:9998/path?type=
This will match:
server
.Given(Request.Create()
.WithPath("/path")
.UsingGet())
.RespondWith(Response.Create()
.WithStatusCode(200));
This won't match:
server
.Given(Request.Create()
.WithPath("/path")
.WithParam("type", "")
.UsingGet())
.RespondWith(Response.Create()
.WithStatusCode(200));
Describe the bug
When adding a query string parameter with an empty value the API call isn't matched.
Expected behavior:
The API call should be match when using a query string parameter with an empty value.
Test to reproduce
Using this API call
http://localhost:9998/path?type=This will match:
This won't match: