Check for null values in request body using Wiremock
问题 I am trying to setup a wiremock stub that will return a 400 error if any field has a null value in the json payload. Basically to simulate a Bad Request. I've been trying with a regex that matches any lowercase string for the json key but it doesn't seem to like it. I can't find any examples of what I want online so not sure if it's even possible. My Bad Request body: { "cat": null, "dog": { "id": 1344 }, "horse": { "id": 1 }, "fish": 1 } My Stub: wireMockServer.stubFor(post(urlEqualTo("