WireMock.Net.Abstractions 2.35.0
WireMock.Net
Lightweight Http Mocking Server for .NET, inspired by WireMock.org (from the Java landscape).
:star: Key Features
- HTTP response stubbing, matchable on URL/Path, headers, cookies and body content patterns
- Library can be used in unit tests and integration tests
- Runs as a standalone process, as windows service, as Azure/IIS or as docker
- Configurable via a fluent C# .NET API, JSON files and JSON over HTTP
- Record/playback of stubs (proxying)
- Per-request conditional proxying
- Stateful behaviour simulation
- Response templating / transformation using Handlebars and extensions
- Can be used locally or in CI/CD scenarios
- Can be used for Aspire Distributed Application testing
:star: Stubbing
A core feature of WireMock.Net is the ability to return predefined HTTP responses for requests matching criteria. See Stubbing.
:star: Request Matching
WireMock.Net support advanced request-matching logic, see Request Matching.
:star: Response Templating
The response which is returned WireMock.Net can be changed using templating. This is described here Response Templating.
:star: Admin API Reference
The WireMock admin API provides functionality to define the mappings via a http interface see Admin API Reference.
:star: Using
WireMock.Net can be used in several ways:
UnitTesting
You can use your favorite test framework and use WireMock within your tests, see UnitTesting.
Unit/Integration Testing using Testcontainers.DotNet
See WireMock.Net.Testcontainers on how to build a WireMock.Net Docker container which can be used in Unit/Integration testing.
Unit/Integration Testing using an an Aspire Distributed Application
See WireMock.Net.Aspire on how to use WireMock.Net as an Aspire Hosted application to do Unit/Integration testing.
As a dotnet tool
It's simple to install WireMock.Net as (global) dotnet tool, see dotnet tool.
As standalone process / console application
This is quite straight forward to launch a mock server within a console application, see Standalone Process.
As a Windows Service
You can also run WireMock.Net as a Windows Service, follow this Windows Service.
As a Web Job in Azure or application in IIS
See this link WireMock-as-a-(Azure)-Web-App
In a docker container
There is also a Linux and Windows-Nano container available at hub.docker.com. For more details see also Docker.
HTTPS / SSL
More details on using HTTPS (SSL) can be found here HTTPS
:books: Documentation
For more info, see also this documentation page: What is WireMock.Net.
Showing the top 20 packages that depend on WireMock.Net.Abstractions.
| Packages | Downloads |
|---|---|
|
WireMock.Net.Shared
Shared interfaces, models, enumerations and types.
|
21 |
|
WireMock.Net.Shared
Shared interfaces, models, enumerations and types.
|
18 |
|
WireMock.Net.Shared
Shared interfaces, models, enumerations and types.
|
17 |
|
WireMock.Net.OpenApiParser
An OpenApi (swagger) parser to generate MappingModel or mapping.json file.
|
16 |
|
WireMock.Net.Shared
Shared interfaces, models, enumerations and types.
|
16 |
|
WireMock.Net.OpenApiParser
An OpenApi (swagger) parser to generate MappingModel or mapping.json file.
|
15 |
|
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
|
14 |
|
WireMock.Net.OpenApiParser
An OpenApi (swagger) parser to generate MappingModel or mapping.json file.
|
14 |
2.35.0 (27 November 2026)
- #1552 Upgrade NJsonSchema.Extensions & NSwag.Core [dependencies]
The full release notes can be found here: https://github.com/wiremock/WireMock.Net/blob/master/CHANGELOG.md
.NET 10.0
- No dependencies.
.NET 8.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 2.35.0 | 1 | 11/29/2026 |
| 2.34.0 | 1 | 11/27/2026 |
| 2.33.0 | 0 | 11/24/2026 |
| 2.32.0 | 2 | 11/21/2026 |
| 2.31.0 | 3 | 11/14/2026 |
| 2.30.0 | 1 | 11/20/2026 |
| 2.21.0 | 2 | 11/05/2026 |
| 2.20.0 | 2 | 11/08/2026 |
| 2.19.0 | 5 | 10/12/2026 |
| 2.18.0 | 7 | 09/29/2026 |
| 2.17.0 | 7 | 09/28/2026 |
| 2.16.0 | 6 | 09/27/2026 |
| 2.15.0 | 5 | 08/18/2026 |
| 2.14.0 | 9 | 08/10/2026 |
| 2.13.0 | 11 | 07/21/2026 |
| 2.12.0 | 13 | 07/08/2026 |
| 2.11.0 | 13 | 06/14/2026 |
| 2.10.0 | 12 | 06/26/2026 |
| 2.9.0 | 10 | 06/14/2026 |
| 2.8.0 | 9 | 06/29/2026 |
| 2.7.0 | 13 | 06/29/2026 |
| 2.6.0 | 10 | 05/12/2026 |
| 2.5.0 | 9 | 05/30/2026 |
| 2.4.0 | 10 | 06/29/2026 |
| 2.3.0 | 9 | 04/21/2026 |
| 2.2.0 | 14 | 04/15/2026 |
| 2.1.0 | 9 | 05/01/2026 |
| 2.0.0 | 13 | 04/29/2026 |
| 1.25.0 | 12 | 01/27/2026 |
| 1.24.0 | 15 | 01/27/2026 |
| 1.23.0 | 14 | 01/12/2026 |
| 1.22.0 | 9 | 01/12/2026 |
| 1.21.0 | 13 | 12/27/2025 |
| 1.20.0 | 14 | 12/25/2025 |
| 1.19.0 | 16 | 12/20/2025 |
| 1.18.0 | 7 | 12/10/2025 |
| 1.17.0 | 15 | 12/10/2025 |
| 1.16.0 | 12 | 11/27/2025 |
| 1.15.0 | 8 | 10/23/2025 |
| 1.14.0 | 13 | 10/23/2025 |
| 1.14.0-preview-01 | 10 | 10/06/2025 |
| 1.13.0 | 15 | 10/06/2025 |
| 1.12.0 | 15 | 09/06/2025 |
| 1.11.2 | 13 | 08/28/2025 |
| 1.11.1 | 14 | 08/28/2025 |
| 1.11.0 | 10 | 08/29/2025 |
| 1.10.1 | 12 | 08/23/2025 |
| 1.10.0 | 12 | 08/23/2025 |
| 1.9.1 | 10 | 08/23/2025 |
| 1.9.0 | 9 | 08/16/2025 |
| 1.8.18 | 16 | 08/17/2025 |
| 1.8.17 | 14 | 08/17/2025 |
| 1.8.16 | 11 | 08/17/2025 |
| 1.8.15 | 9 | 08/17/2025 |
| 1.8.14 | 11 | 06/26/2026 |
| 1.8.13 | 14 | 09/18/2025 |
| 1.8.13-preview-02 | 10 | 06/26/2026 |
| 1.8.13-preview-01 | 12 | 08/24/2025 |
| 1.8.12 | 10 | 08/19/2025 |
| 1.8.11 | 10 | 06/12/2025 |
| 1.8.10 | 10 | 08/09/2025 |
| 1.8.9 | 16 | 06/22/2025 |
| 1.8.8 | 15 | 12/27/2025 |
| 1.8.7 | 11 | 06/26/2026 |
| 1.8.6 | 7 | 08/17/2025 |
| 1.8.5 | 8 | 08/09/2025 |
| 1.8.4 | 11 | 06/26/2026 |
| 1.8.3 | 15 | 05/08/2025 |
| 1.8.2 | 17 | 05/08/2025 |
| 1.8.1 | 12 | 05/04/2025 |
| 1.8.0 | 14 | 05/04/2025 |
| 1.8.0-prview-01 | 16 | 03/05/2025 |
| 1.7.5-preview-02 | 12 | 05/04/2025 |
| 1.7.5-preview-01 | 11 | 07/07/2026 |
| 1.7.4 | 12 | 03/01/2025 |
| 1.7.3 | 18 | 03/01/2025 |
| 1.7.2 | 15 | 02/15/2025 |
| 1.7.2-preview-01 | 15 | 07/18/2026 |
| 1.7.1 | 14 | 01/30/2025 |
| 1.7.0 | 16 | 01/30/2025 |
| 1.6.12 | 16 | 01/30/2025 |
| 1.6.11 | 13 | 01/30/2025 |
| 1.6.10 | 5 | 06/26/2026 |
| 1.6.9 | 14 | 12/18/2024 |
| 1.6.8 | 10 | 11/30/2024 |
| 1.6.7 | 20 | 11/06/2024 |
| 1.6.7-preview-02 | 12 | 07/02/2026 |
| 1.6.7-preview-01 | 9 | 07/18/2026 |
| 1.6.6 | 17 | 11/07/2024 |
| 1.6.5 | 13 | 11/06/2024 |
| 1.6.4 | 17 | 06/30/2026 |
| 1.6.3 | 14 | 09/23/2024 |
| 1.6.2 | 16 | 09/23/2024 |
| 1.6.1 | 12 | 08/31/2024 |
| 1.6.0 | 8 | 08/31/2024 |
| 1.5.62 | 13 | 08/03/2024 |
| 1.5.61 | 14 | 08/03/2024 |
| 1.5.60 | 19 | 07/11/2024 |
| 1.5.59 | 13 | 06/29/2024 |
| 1.5.58 | 16 | 06/28/2024 |
| 1.5.57 | 10 | 07/01/2024 |
| 1.5.56 | 14 | 06/28/2024 |
| 1.5.55 | 10 | 07/14/2024 |
| 1.5.54 | 11 | 08/01/2024 |
| 1.5.53 | 13 | 05/19/2024 |
| 1.5.52 | 7 | 07/29/2024 |
| 1.5.51 | 8 | 03/30/2024 |
| 1.5.50 | 17 | 06/26/2026 |
| 1.5.49 | 8 | 06/26/2026 |
| 1.5.48 | 13 | 06/28/2024 |
| 1.5.47 | 7 | 06/28/2024 |
| 1.5.46 | 7 | 06/26/2026 |
| 1.5.45 | 12 | 06/26/2026 |
| 1.5.44 | 5 | 06/26/2026 |
| 1.5.43 | 10 | 06/26/2026 |
| 1.5.42 | 6 | 05/13/2025 |
| 1.5.41 | 8 | 12/11/2023 |
| 1.5.40 | 8 | 10/01/2024 |
| 1.5.39 | 14 | 06/26/2026 |
| 1.5.38 | 8 | 05/01/2025 |
| 1.5.37 | 15 | 08/09/2024 |
| 1.5.36 | 9 | 05/22/2024 |
| 1.5.35 | 14 | 05/27/2024 |
| 1.5.34 | 13 | 05/03/2024 |
| 1.5.32 | 15 | 06/26/2026 |
| 1.5.31 | 13 | 10/11/2024 |
| 1.5.30 | 9 | 02/15/2024 |
| 1.5.29 | 11 | 06/26/2026 |
| 1.5.28 | 10 | 03/20/2024 |
| 1.5.27 | 16 | 03/17/2024 |
| 1.5.26 | 9 | 11/06/2024 |
| 1.5.25 | 13 | 06/26/2026 |
| 1.5.24 | 15 | 03/17/2024 |
| 1.5.23 | 11 | 01/12/2024 |
| 1.5.22 | 11 | 06/07/2024 |
| 1.5.21 | 6 | 06/26/2026 |
| 1.5.20 | 11 | 12/13/2024 |
| 1.5.19 | 14 | 05/28/2024 |
| 1.5.18 | 13 | 03/31/2024 |
| 1.5.17 | 11 | 03/12/2024 |
| 1.5.16 | 13 | 05/21/2024 |
| 1.5.15 | 8 | 11/03/2024 |
| 1.5.14 | 6 | 06/26/2026 |
| 1.5.13 | 13 | 06/26/2026 |
| 1.5.12 | 10 | 02/15/2025 |
| 1.5.11 | 7 | 12/12/2024 |
| 1.5.10 | 12 | 09/22/2024 |
| 1.5.9 | 20 | 09/03/2025 |
| 1.5.8 | 9 | 01/08/2024 |
| 1.5.7 | 10 | 06/29/2026 |
| 1.5.6 | 17 | 08/14/2024 |
| 1.5.5 | 10 | 04/12/2024 |
| 1.5.4 | 10 | 12/16/2024 |
| 1.5.3 | 8 | 10/22/2024 |
| 1.5.2 | 11 | 04/14/2025 |
| 1.5.1 | 8 | 06/26/2026 |
| 1.5.0 | 15 | 04/07/2024 |
| 1.4.43 | 7 | 10/12/2024 |
| 1.4.42 | 11 | 07/05/2024 |
| 1.4.41 | 12 | 06/07/2025 |
| 1.4.40 | 12 | 10/08/2024 |
| 1.4.39 | 14 | 05/08/2025 |
| 1.4.38 | 8 | 06/26/2026 |
| 1.4.37 | 9 | 06/26/2026 |
| 1.4.36 | 9 | 06/26/2026 |
| 1.4.35 | 15 | 03/01/2024 |
| 1.4.34 | 12 | 02/20/2025 |
| 1.4.33 | 9 | 10/10/2024 |
| 1.4.32 | 13 | 03/26/2024 |
| 1.4.31 | 10 | 12/24/2023 |
| 1.4.30 | 6 | 01/30/2025 |
| 1.4.29 | 12 | 03/13/2025 |
| 1.4.28 | 8 | 06/26/2026 |
| 1.4.27 | 10 | 01/09/2025 |
| 1.4.26 | 13 | 06/01/2024 |
| 1.4.25 | 9 | 06/27/2026 |
| 1.4.24 | 19 | 07/11/2024 |
| 1.4.23 | 12 | 06/26/2026 |
| 1.4.22 | 9 | 06/01/2025 |
| 1.4.21 | 12 | 06/26/2026 |
| 1.4.21-preview-03 | 14 | 08/28/2024 |
| 1.4.20 | 13 | 09/06/2025 |
| 1.4.19 | 11 | 03/29/2025 |
| 1.4.18 | 8 | 08/30/2024 |
| 1.4.17 | 8 | 05/28/2024 |
| 1.4.16 | 11 | 06/26/2026 |
| 1.4.15 | 11 | 06/26/2026 |
| 1.4.14 | 8 | 06/26/2026 |
| 1.4.13 | 11 | 02/21/2024 |
| 1.4.12 | 9 | 02/11/2025 |
| 1.4.11 | 9 | 05/30/2024 |
| 1.4.10 | 6 | 06/26/2026 |
| 1.4.9 | 13 | 03/12/2025 |
| 1.4.8 | 10 | 06/26/2026 |
| 1.4.7 | 14 | 10/15/2024 |
| 1.4.6 | 12 | 10/11/2024 |
| 1.4.5 | 10 | 05/15/2024 |
| 1.4.4 | 8 | 10/20/2024 |
| 1.4.3 | 14 | 09/21/2024 |
| 1.4.2 | 11 | 10/29/2025 |
| 1.4.1 | 18 | 06/03/2024 |
| 1.4.0 | 10 | 07/04/2026 |
| 1.3.10 | 10 | 06/26/2026 |
| 1.3.9 | 16 | 12/21/2023 |
| 1.3.8 | 13 | 12/24/2024 |
| 1.3.7 | 13 | 04/01/2024 |
| 1.3.6 | 9 | 03/17/2024 |
| 1.3.5 | 13 | 02/04/2025 |
| 1.3.4 | 14 | 12/19/2023 |
| 1.3.3 | 9 | 02/12/2025 |
| 1.3.2 | 6 | 06/01/2025 |
| 1.3.1 | 8 | 01/15/2024 |
| 1.3.0 | 11 | 02/13/2025 |
| 1.2.18 | 9 | 05/26/2024 |
| 1.2.17 | 7 | 06/26/2026 |
| 1.2.16 | 15 | 02/23/2024 |
| 1.2.15 | 10 | 06/26/2026 |
| 1.2.14 | 13 | 12/08/2024 |
| 1.2.13 | 12 | 10/29/2025 |
| 1.2.12 | 11 | 06/26/2026 |
| 1.2.11 | 15 | 10/02/2024 |
| 1.2.10 | 10 | 06/26/2026 |
| 1.2.9 | 12 | 07/06/2026 |
| 1.2.8 | 11 | 07/04/2026 |
| 1.2.7 | 11 | 05/31/2024 |
| 1.2.6 | 12 | 03/10/2024 |
| 1.2.5 | 11 | 01/11/2025 |
| 1.2.4 | 13 | 12/04/2024 |
| 1.2.3 | 10 | 02/23/2025 |
| 1.2.2 | 13 | 01/05/2025 |
| 1.2.1 | 12 | 11/29/2024 |
| 1.2.0 | 15 | 02/21/2024 |
| 1.1.10 | 10 | 12/07/2024 |
| 1.1.9 | 11 | 06/26/2026 |
| 1.1.8 | 6 | 06/26/2026 |
| 1.1.7 | 11 | 06/26/2026 |
| 1.1.6 | 10 | 10/16/2024 |
| 1.1.5 | 11 | 05/02/2025 |
| 1.1.4 | 14 | 08/07/2025 |
| 1.1.3 | 8 | 03/22/2025 |
| 1.1.2 | 12 | 10/12/2024 |
| 1.1.1 | 12 | 06/26/2026 |
| 1.1.0 | 17 | 12/31/2023 |
| 1.1.0-preview-01 | 11 | 05/14/2025 |
| 1.0.0 | 13 | 06/26/2026 |