A tool for mocking HTTP services
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Full documentation can be found at wiremock.org
If you have a question about WireMock, or are experiencing a problem you're not sure is a bug please post a message to the WireMock mailing list.
On the other hand if you're pretty certain you've found a bug please open an issue.
We welcome bug fixes and new features in the form of pull requests. If you'd like to contribute, please be mindful of the following guidelines: * All changes should include suitable tests, whether to demonstrate the bug or exercise and document the new feature. * Please make one change per pull request. * If the new feature is significantly large/complex/breaks existing behaviour, please first post a summary of your idea on the mailing list to generate a discussion. This will avoid significant amounts of coding time spent on changes that ultimately get rejected. * Try to avoid reformats of files that change the indentation, tabs to spaces etc., as this makes reviewing diffs much more difficult.
To run all of WireMock's tests:
bash ./gradlew clean test
To build both JARs (thin and standalone):
bash ./gradlew -c release-settings.gradle :java8:shadowJar
The built JAR will be placed under
IntelliJ can't import the gradle build script correctly automatically, so run
bash ./gradlew -c release-settings.gradle :java8:idea
Make sure you have no
.ideadirectory, the plugin generates old style .ipr, .iml & .iws metadata files.
You may have to then set up your project SDK to point at your Java 8 installation.
Then edit the module settings. Remove the "null" Source & Test source folders from all modules. Add
wiremockas a module dependency to Java 7 & Java 8.