Victor Pacheco
09/12/2023, 9:44 AM<http://WireMock.post|WireMock.post>(WireMock.urlPathTemplate(PATH))
.atPriority(1)
.withPathParam("instrumentReferenceId", matchingJsonPath("$.requestId"))
.willReturn(WireMock.badRequest()));
But, I get this response (see image):
There is anyway to match a path param with body request attribute? Can I use matchingJsonPath and withPathParam together?