Sync docs from master to gh-pages

This commit is contained in:
buildmaster
2017-07-31 14:26:02 +00:00
parent c4145cd63a
commit 446aa65dab

View File

@@ -557,6 +557,7 @@ $(addBlockSwitches);
</li>
<li><a href="#_can_i_have_multiple_base_classes_for_tests">Can I have multiple base classes for tests?</a></li>
<li><a href="#_how_can_i_debug_the_request_response_being_sent_by_the_generated_tests_client">How can I debug the request/response being sent by the generated tests client?</a></li>
<li><a href="#_how_can_i_debug_the_mapping_request_response_being_sent_by_wiremock">How can I debug the mapping/request/response being sent by WireMock?</a></li>
<li><a href="#_how_can_i_see_what_got_registered_in_the_http_server_stub">How can I see what got registered in the HTTP server stub?</a></li>
<li><a href="#_can_i_reference_the_request_from_the_response">Can I reference the request from the response?</a></li>
<li><a href="#_can_i_reference_text_from_file">Can I reference text from file?</a></li>
@@ -2603,6 +2604,23 @@ of either Gradle or Maven plugins.</p>
</div>
</div>
<div class="sect3">
<h4 id="_how_can_i_debug_the_mapping_request_response_being_sent_by_wiremock">How can I debug the mapping/request/response being sent by WireMock?</h4>
<div class="paragraph">
<p>Starting from version <code>1.2.0</code> 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.</p>
</div>
<div class="paragraph">
<p>To turn off this feature just bump WireMock logging to <code>ERROR</code></p>
</div>
<div class="listingblock">
<div class="content">
<pre class="prettyprint highlight"><code class="language-properties" data-lang="properties">logging.level.com.github.tomakehurst.wiremock=ERROR</code></pre>
</div>
</div>
</div>
<div class="sect3">
<h4 id="_how_can_i_see_what_got_registered_in_the_http_server_stub">How can I see what got registered in the HTTP server stub?</h4>
<div class="paragraph">
<p>You can use the <code>mappingsOutputFolder</code> property on <code>@AutoConfigureStubRunner</code> or <code>StubRunnerRule</code>