Feature: negate condition in verify()
Author: ashakirinCreated Jun 2, 2022Updated Aug 1, 2026
Labelsenhancementhelp wanted
Feature requests
Provide an option to negate verification, like:
verify(getRequestedFor("/my_url"))
.withHeader("X-MyHeader").not(containing("value1"))Source: wiremock/wiremock