WireMock

WireMock is an open-source HTTP mock tool for API testing and development environments. As a Java library, it can be run in the form of an independent server or in a container. URL supports matching HTTP responses stub, request verification, and status management features based on title and body contents.

WI

wiremock · API Testing & Mocking

STARS7.4K
FORKS1.5K
COMMITS—
CONTRIBUTORS307
VERSIONrelease-1.25
UPDATED2 days ago
mockhttpjavaTestingApache-2.0

Common commercial products in this category: Postman, Insomnia, Paw

What can it do?
  • URL, according to header and body content patterns HTTP responses stub
  • Confirms the compliance of incoming requests to criteria and adds response delays
  • By isolating third-party services, you simulate API that doesn't exist yet.
Heads up
  • • High number of open issues (501)
User reviews
  • ↓ NegativeHacker News

    WireMock

    “More generally, it's useful for mobile development in the following scenarios: * The back-end API you depend on isn't ready yet * The back-end test server is slow, flakey etc. * You want to test scenarios you can't easily make happen on demand like slow responses, 503 errors,…”

  • ↑ PositiveHacker News

    WireMock

    “I used WireMock extensively in a recent project that had a dependency on flaky REST API. Using the proxy/recording feature to quickly get some canned responses from the dependency allowed us to perform integration testing even though the dependency was frequently down...we…”

My note

Alternative pages

More in: API Testing & Mocking