wiremock / wiremock/wiremock.org
Issue on Quick Start: API Mocking with Java and JUnit 4
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 12
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Page
/docs/quickstart/java-junit/
Details
After copy/pasting the code. I get a compile error:
wiremockServer cannot be resolved
I tried to change wiremockServer.url("/my/resource") to URI.create(wireMockRule.url("/my/resource")), but then I got:
The method POST(HttpRequest.BodyPublisher) in the type HttpRequest.Builder is not applicable for the arguments ()
Suggested Edits
No response
References
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /docs/quickstart/java-junit/ and reproduce the copy/paste example to confirm both reported compile errors. Update the quick-start example so the Java/JUnit 4 instructions compile as written, then verify the HTTP request example builds without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100