You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
MockServer JSON body matching does not work when JsonUnit 3.0.0 and higher is in use. Basically, request matching fails with the following error:
After a small digging, I found out that there was a refactoring made in JsonUnit (lukas-krecan/JsonUnit#634) as a part of which Options class had been moved to another package (which is mentioned on their release notes: https://github.com/lukas-krecan/JsonUnit#300-2023-07-05). Therefore, MockServer is not anymore compatible with JsonUnit 3.0.0+.
Describe the issue
MockServer JSON body matching does not work when JsonUnit 3.0.0 and higher is in use. Basically, request matching fails with the following error:
After a small digging, I found out that there was a refactoring made in JsonUnit (lukas-krecan/JsonUnit#634) as a part of which
Options
class had been moved to another package (which is mentioned on their release notes: https://github.com/lukas-krecan/JsonUnit#300-2023-07-05). Therefore, MockServer is not anymore compatible with JsonUnit 3.0.0+.Unfortunately, https://mvnrepository.com/artifact/org.mock-server/mockserver-core/5.15.0 suggests that MockServer is compatible with JsonUnit 3.2.2 which is not true.
What you are trying to do
I'm just trying to check/match JSON requests sent from a Spring application.
MockServer version
5.15.0
To Reproduce
Steps to reproduce the issue:
Expected behaviour
Request with the same JSON body matches
The text was updated successfully, but these errors were encountered: