Registry / testing / wiremock-jre8-standalone

wiremock-jre8-standalone

JSON →
library3.0.1javamavenunverified

WireMock is a flexible API mocking tool for HTTP-based services.

<dependency> <groupId>com.github.tomakehurst</groupId> <artifactId>wiremock-jre8-standalone</artifactId> <version>3.0.1</version> </dependency>
INSTALL
IMPORT
SIG · WIREMOCK-JRE8-STAN
W
wiremock-jre8-standalone
testingjavav3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WireMockServer
✓ com.github.tomakehurst.wiremock.WireMockServer

Start a WireMock server and stub a GET endpoint

import com.github.tomakehurst.wiremock.WireMockServer; import static com.github.tomakehurst.wiremock.client.WireMock.*; WireMockServer wireMockServer = new WireMockServer(); wireMockServer.start(); stubFor(get(urlEqualTo("/test")).willReturn(aResponse().withBody("Hello")));
Debug
Known issues
breakingWireMock 3.x has breaking changes from 2.x, including package restructuring.
fix
Use version 2.x if upgrading from older projects, or migrate to new API.
affects: >=3.0.0
Upgrade
Version history
3.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
wiremock-jre8-standalone — mvn dependency:get wiremock-jre8-standalone · libregistry