Wiremock-stub verification

Опубликовано: 03 Ноябрь 2024
на канале: Software Testing Help
2,450
9

Verification is nothing but checking with the Wiremock server whether a given request was received by it or not. It’s analogous to what we do with Mocks in unit testing.
Verification can be done both at the code level through Java bindings or through the JSON requests for standalone Wiremock. Verification is similar to request match and you can define verification parameters similar to request matchers – like URL, Http Method, header match, etc. I