/mappings

Stub mappings

get

Get all stub mappings

post

Create a new stub mapping

delete

Delete all stub mappings

Stub mappings

post

Reset stub mappings (restore to defaults defined back the backing store)

Single stub mapping

get

Get a single stub mapping

put

Update an existing stub mapping

delete

Delete a stub mapping

Stub mappings

post

Save all persistent stub mappings to the backing store

post

Find stubs by matching on their metadata

post

Remove stubs by matching on their metadata

/requests

Logged requests and responses received by the mock service

get

Get received requests

delete

Delete all received requests

Single logged request

get

Request journal

post

Empty the request journal

Request journal

post

Count requests logged in the journal matching the specified criteria

post

Retrieve details of requests logged in the journal matching the specified criteria

get

Get details of logged requests that weren't matched by any stub mapping

get

Retrieve near-misses for all unmatched requests

/recordings

Stub mapping record and snapshot functions

Start recording stub mappings

post

Start recording stub mappings

Stop recording stub mappings

post

Stop recording stub mappings

Recording status

get

Get the recording status (started or stopped)

Snapshot recording

post

Take a snapshot recording

/scenarios

Scenarios support modelling of stateful behaviour

get

Get all scenarios

Scenarios

post

Reset the state of all scenarios

/near-misses

Near misses allow querying of received requests or request patterns according to similarity

post

Find at most 3 near misses for closest stub mappings to the specified request

Near misses

post

Find at most 3 near misses for closest logged requests to the specified request pattern

/settings

Global settings

post

Update global settings

/shutdown

Shutdown function

post

Shutdown the WireMock server