Closed mamuf closed 1 year ago
The verification you have provided doesn't look correct. You are requesting path parameters but your expectation is setting query parameters. That is why it is not matching. A bug was fixed with path parameter matching during verifications in the latest version which explains why you bug in your verification request is not correctly not working.
Please change your verification requests to use query parameter instead of path parameter and your code should work as expected.
Oh, that explains it, it works. Thanks!
Hi, I've updated the MockServer Java client to 5.14 and my tests suddenly fail? I use the Spring Boot Test integration and now I get this:
Note that I'm using Maven and Kotlin, but that shouldn't really matter.
This is the verify call that fails:
Interesting fact is that when I comment out either the
withPath
, orwithPathParameter
, it works! So why doesn't it work with more specific verification?