Skip to content

shirleydst/wiremock-service

 
 

Repository files navigation

Wiremock Service

Build Status

This project packages WireMock as a .war file, so it can be deployed to a container as a standalone service.

Usage

  1. Deploy the wiremock-service .war file to your container. It contains a jboss-web.xml that sets the context root to "/" so if deployed to JBoss or WildFly it will appear at the server root. Deployment to other containers will require configuration to achieve the same result.

  2. Add a WireMock rule to your integration tests and set up your stub endpoints just like you would if starting a local WireMock server directly in your tests.

Modules

  • wiremock-service - the mocking service
  • wiremock-service-test - an example of how to use the mocking service as part of an integration test using an embedded WildFly instance
  • wiremock-test-utils - utility module for tests

About

WireMock packaged as a standalone service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.6%
  • Shell 1.4%