-
-
Notifications
You must be signed in to change notification settings - Fork 209
Home
A core feature of WireMock is the ability to return predefined HTTP responses for requests matching criteria, Stubbing & Request Matching.
WireMock.Net has the ability to selectively proxy requests through to other hosts. This supports a proxy/intercept setup where requests are by default proxied to another (possibly real, live) service, but where specific stubs are configured these are returned in place of the remote service’s response. Responses that the live service can’t be forced to generate on demand can thus be injected for testing. Wiki : Proxying.
WireMock.Net has the ability to create stub mappings by recording them while you send requests. This can be used to quickly capture a collection of responses from a real service then use them offline in your tests. Wiki : Proxy and Record) and Save.
WireMock.Net supports state via the notion of scenarios. A scenario is essentially a state machine whose states can be arbitrarily assigned. See Wiki : Scenarios and States
You can use your favorite test framework and use WireMock within your tests, see Wiki : UnitTesting.
The WireMock admin API provides functionality to define the mappings via a http interface, see Wiki : Admin API Reference.
This is quite straight forward to launch a mock server within a console application, see Wiki : standalone.
It's also possible to run in IIS or as a WebApp in Azure. See Wiki: IIS/Azure
See Wiki : Windows Service on how to run as a Windows service.
- Home
- What is WireMock.Net
- WireMock.Org
- References
- Settings
- Admin REST API
- Proxying
- Stubbing
- Webhook
- Request Matching
- Response Templating
- Unit Testing
- Using WireMock
- Advanced
- Errors