You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
define WireMockServerConfiguration annotated with @Configuration - it should provide configured WireMockServer using: com.github.tomakehurst.wiremock.core.WireMockConfiguration implementation of com.github.tomakehurst.wiremock.core.Options. The WireMockConfiguration should be configured with Wiremock port - by default 8082. The port should be configurable via application.properties
implement CommandLineRunner: WireMockServerRunner - it should start WireMockServer provided by WireMockServerConfiguration bean. It should be possible to enable/disable runner via configuration. By default it should be disabled.
if you start Mokka now you should end up with two ports exposed:
8081 - exposed by SpringBoot web servlet
8082 - exposed by WireMock. Under http://localhost:8082/__admin/swagger-ui/ Admin API reference should be exposed
The text was updated successfully, but these errors were encountered:
We would like to add Wiremock server as a new stub engine.
How to start:
wiremock-standalone
dependency topom.xml
:WireMockServerConfiguration
annotated with@Configuration
- it should provide configured WireMockServer using:com.github.tomakehurst.wiremock.core.WireMockConfiguration
implementation ofcom.github.tomakehurst.wiremock.core.Options
. TheWireMockConfiguration
should be configured with Wiremock port - by default 8082. The port should be configurable via application.propertiesCommandLineRunner
: WireMockServerRunner - it should startWireMockServer
provided byWireMockServerConfiguration
bean. It should be possible to enable/disable runner via configuration. By default it should be disabled.http://localhost:8082/__admin/swagger-ui/
Admin API reference should be exposedThe text was updated successfully, but these errors were encountered: