/wiremock

A tool for mocking HTTP services

Primary LanguageJavaApache License 2.0Apache-2.0

WireMock - a web service test double for all occasions

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

Shiny new documentation can be found at wiremock.org