Skip to content

ThomasCookOnline/wiremock

This branch is 2589 commits behind wiremock/wiremock:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 6, 2017
Oct 3, 2016
Jul 8, 2016
Apr 11, 2017
May 11, 2013
Jan 14, 2017
Nov 3, 2016
Dec 4, 2011
Dec 19, 2016
Feb 24, 2015
Apr 11, 2017
Jul 27, 2016
Feb 18, 2014
Feb 18, 2014
Dec 29, 2012

Repository files navigation

WireMock - a web service test double for all occasions

Build Status Maven Central

Key Features

  • HTTP response stubbing, matchable on URL, header and body content patterns
  • Request verification
  • Runs in unit tests, as a standalone process or as a WAR app
  • Configurable via a fluent Java API, JSON files and JSON over HTTP
  • Record/playback of stubs
  • Fault injection
  • Per-request conditional proxying
  • Browser proxying for request inspection and replacement
  • Stateful behaviour simulation
  • Configurable response delays

Full documentation can be found at wiremock.org

Questions and Issues

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.

Contributing

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.

Building WireMock locally

To run all of WireMock's tests:

./gradlew clean test

To build both JARs (thin and standalone):

./gradlew jar shadowJar

The built JARs will be placed under build/libs.

About

A tool for mocking HTTP services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.5%
  • Java 30.2%
  • CSS 4.1%
  • HTML 2.4%
  • XSLT 0.4%
  • RAML 0.2%
  • Other 0.2%