Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/docs/grpc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Using these, it converts incoming messages to JSON before passing them to WireMo
It also converts JSON responses back into proto messages so that all of WireMock's response definition features including templating can be used.


<img src="../../assets/images/solutions/grpc/intro_schema.png" alt="WireMock and gRPC scheman" style="width: 100%; height: auto; margin-top: 1em;"/>
<img src="../../../assets/images/solutions/grpc/intro_schema.png" alt="WireMock and gRPC scheman" style="width: 100%; height: auto; margin-top: 1em;"/>


The extension also adds a Java DSL that works with the Java classes generated by `protoc`, while also providing a more gRPC idiomatic way of defining stubs.
Expand Down
76 changes: 0 additions & 76 deletions src/content/docs/docs/mock-api-templates/usage.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion src/content/docs/docs/proxying.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ To configure your browser to proxy via WireMock, first start WireMock with brows

Then open your browser's proxy settings and point them to the running server:

<img src="../../assets/images/firefox-proxy-screenshot.png" alt="Firefox proxy screenshot" style="width: 50%; height: auto; margin-top: 1em;"/>
<img src="../../../assets/images/firefox-proxy-screenshot.png" alt="Firefox proxy screenshot" style="width: 50%; height: auto; margin-top: 1em;"/>

After that, you can configure stubs as described in [Running Standalone](../standalone/java-jar/#configuring-wiremock-using-the-java-client) and then browse to a website. Any resources fetched whose requests are matched by stubs you have configured will be overridden by the stub's response.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/record-playback.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Once that's running visit the recorder UI page at [http://localhost:8080/\_\_adm



<img src="../../assets/images/recorder-screenshot.png" alt="Recorder UI" style="width: 100%; height: auto; margin-top: 1em;"/>
<img src="../../../assets/images/recorder-screenshot.png" alt="Recorder UI" style="width: 100%; height: auto; margin-top: 1em;"/>


Enter the URL you wish to record from in the target URL field and click the Record button. You can use `http://examples.wiremockapi.cloud` to try it out.
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/docs/verifying.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Like stubbing, verification also uses WireMock's [Request Matching](../request-m
When verifying via the Java API all failed verifications will result in a `VerificationException` being thrown.


<img src="../../assets/images/verification-exception.png" alt="Verification exception" style="width: 100%; height: auto; margin-top: 1em;"/>
<img src="../../../assets/images/verification-exception.png" alt="Verification exception" style="width: 100%; height: auto; margin-top: 1em;"/>


The message text in the exception is formatted to enable IntelliJ's failure comparison view:


<img src="../../assets/images/idea-comparison-failure.png" alt="Comparison failure" style="width: 100%; height: auto; margin-top: 1em;"/>
<img src="../../../assets/images/idea-comparison-failure.png" alt="Comparison failure" style="width: 100%; height: auto; margin-top: 1em;"/>


## Verifying in Java
Expand Down