Overview of WireMock.Net features
masterWireMock.Net is a C# .NET implementation of the WireMock functionality, designed to mimic the original Java-based WireMock. It allows you to mock HTTP services for unit and integration testing.
Key capabilities include:
- Stubbing: Mock HTTP responses based on URL/Path, headers, cookies, and body content patterns.
- Deployment Modes: Can run as a standalone process, Windows service, Azure/IIS, or within Docker.
- Configuration: Configurable via a fluent C# .NET API, JSON files, or JSON over HTTP.
- Advanced Mocking: Supports record/playback (proxying), per-request conditional proxying, and stateful behavior simulation.
- Response Manipulation: Uses Handlebars and extensions for response templating and transformation.
- Protocol Support: Includes support for GraphQL, gRPC/ProtoBuf, OpenAPI, WebSockets, and OpenTelemetry.
- Testing Scenarios: Suitable for local development, CI/CD pipelines, and Aspire Distributed Application testing.