wiremock / wiremock/wiremock.org

Issue on Quick Start: API Mocking with Java and JUnit 4

Open
#237 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
HTML
Stars
12
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Page

/docs/quickstart/java-junit/

Details

Where can i get
wiremockServer
in
final HttpRequest request = HttpRequest.newBuilder() .uri(wiremockServer.getRequestURI("/my/resource")) .header("Content-Type", "text/xml") .POST().build();

example isnt full

Suggested Edits

add wiremockServer initialization in example

References

https://wiremock.org/docs/quickstart/java-junit/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /docs/quickstart/java-junit/ and inspect the API Mocking with Java and JUnit 4 example around the wiremockServer reference. Add the missing initialization shown by the example's usage, then verify that the complete example is understandable and runnable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.