diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 6c473d6ec2..519cd469f9 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -557,6 +557,7 @@ $(addBlockSwitches);
  • Can I have multiple base classes for tests?
  • How can I debug the request/response being sent by the generated tests client?
  • +
  • How can I debug the mapping/request/response being sent by WireMock?
  • How can I see what got registered in the HTTP server stub?
  • Can I reference the request from the response?
  • Can I reference text from file?
  • @@ -2603,6 +2604,23 @@ of either Gradle or Maven plugins.

    +

    How can I debug the mapping/request/response being sent by WireMock?

    +
    +

    Starting from version 1.2.0 we turn on WireMock logging to +info and the WireMock notifier to being verbose. Now you will +exactly know what request was received by WireMock server and which +matching response definition was picked.

    +
    +
    +

    To turn off this feature just bump WireMock logging to ERROR

    +
    +
    +
    +
    logging.level.com.github.tomakehurst.wiremock=ERROR
    +
    +
    +
    +

    How can I see what got registered in the HTTP server stub?

    You can use the mappingsOutputFolder property on @AutoConfigureStubRunner or StubRunnerRule