Wiremock

A tool for mocking HTTP services
Alternatives To Wiremock
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Wiremock5,5641,62675214 hours ago104September 10, 2020326apache-2.0Java
A tool for mocking HTTP services
Vcrpy2,4188601112 days ago65June 29, 2022123mitPython
Automatically mock your HTTP interactions to simplify and speed up testing
Hoverfly2,077121 days ago80August 22, 202231apache-2.0Go
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
Httpretty2,0382,6409325 days ago59August 16, 2021113mitPython
Intercept HTTP requests at the Python socket level. Fakes the whole socket module
Gock1,7951204073 months ago21August 03, 202138mitGo
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
Httpmock1,6702177584 days ago16May 06, 20222mitGo
HTTP mocking for Golang
Wiremock.net1,1042312a day ago200June 10, 202221apache-2.0C#
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Gentleman875
12 years ago16February 18, 202117mitGo
Full-featured, plugin-driven, extensible HTTP client toolkit for Go
Mockttp656224314 days ago89July 04, 202225apache-2.0TypeScript
Powerful friendly HTTP mock server & proxy library
Apitest63072225 days ago105May 22, 20221mitGo
A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
Alternatives To Wiremock
Select To Compare


Alternative Project Comparisons
Readme

WireMock - a web service test double for all occasions

Build Status Docs a Participate Maven Central

!!! Log4j notice !!!

WireMock only uses log4j in its test dependencies. Neither the thin nor standalone JAR depends on or embeds log4j, so you can continue to use WireMock 2.32.0 and above without any risk of exposure to the recently discovered vulnerability.

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.
  • Abide by the Architecture Rules enforced by ArchUnit.

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 JAR will be placed under build/libs.

To publish both JARs to your local Maven repository:

./gradlew publishToMavenLocal
Popular Http Projects
Popular Mocking Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Json
Http
Rest
Xml
Mocking
Mock Server
Stubbing