WireMock.Net 1.8.9

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 Wiki : Stubbing.

:star: Request Matching

WireMock.Net support advanced request-matching logic, see Wiki : Request Matching.

:star: Response Templating

The response which is returned WireMock.Net can be changed using templating. This is described here Wiki : Response Templating.

:star: Admin API Reference

The WireMock admin API provides functionality to define the mappings via a http interface see Wiki : 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 Wiki : UnitTesting.

Unit/Integration Testing using Testcontainers.DotNet

See Wiki : 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 Wiki : 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 Wiki : dotnet tool.

As standalone process / console application

This is quite straight forward to launch a mock server within a console application, see Wiki : Standalone Process.

As a Windows Service

You can also run WireMock.Net as a Windows Service, follow this WireMock-as-a-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 Wiki : HTTPS

:books: Documentation

For more info, see also this WIKI page: What is WireMock.Net.

No packages depend on WireMock.Net.

1.8.8 (28 May 2025)

  • #1303 Add option to provide X509Certificate [feature]
  • #1302 Support In-Memory SSL Certificate [feature]

The full release notes can be found here: https://github.com/wiremock/WireMock.Net/blob/master/CHANGELOG.md

Version Downloads Last updated
2.19.0 12 10/09/2026
2.18.0 20 10/01/2026
2.17.0 16 09/30/2026
2.16.0 15 10/01/2026
2.15.0 13 10/01/2026
2.14.0 15 10/01/2026
2.13.0 15 10/01/2026
2.12.0 10 10/01/2026
2.11.0 10 10/02/2026
2.10.0 15 10/01/2026
2.9.0 10 10/01/2026
2.8.0 15 10/01/2026
2.7.0 17 10/01/2026
2.6.0 16 10/01/2026
2.5.0 16 10/01/2026
2.4.0 16 10/01/2026
2.3.0 13 10/01/2026
2.2.0 13 10/01/2026
2.1.0 15 10/01/2026
2.0.0 14 10/01/2026
1.25.0 12 10/01/2026
1.24.0 15 10/01/2026
1.23.0 14 10/01/2026
1.22.0 15 10/01/2026
1.21.0 13 10/01/2026
1.20.0 13 10/01/2026
1.19.0 17 10/01/2026
1.18.0 13 10/01/2026
1.17.0 11 10/01/2026
1.16.0 13 10/01/2026
1.15.0 10 10/01/2026
1.14.0 13 10/01/2026
1.14.0-preview-01 11 10/02/2026
1.13.0 13 10/01/2026
1.12.0 13 10/01/2026
1.11.2 15 10/01/2026
1.11.1 12 10/01/2026
1.11.0 13 10/01/2026
1.10.1 9 10/01/2026
1.10.0 11 10/01/2026
1.9.1 11 10/01/2026
1.9.0 15 10/01/2026
1.8.18 15 10/01/2026
1.8.17 18 10/01/2026
1.8.16 15 10/01/2026
1.8.15 17 10/01/2026
1.8.14 11 10/01/2026
1.8.13 12 10/01/2026
1.8.13-preview-02 14 10/01/2026
1.8.13-preview-01 11 10/02/2026
1.8.12 14 10/01/2026
1.8.11 15 10/01/2026
1.8.10 13 10/01/2026
1.8.9 10 10/01/2026
1.8.8 12 10/01/2026
1.8.7 23 10/01/2026
1.8.6 12 10/01/2026
1.8.5 10 10/01/2026
1.8.4 13 10/01/2026
1.8.3 14 10/01/2026
1.8.2 14 10/01/2026
1.8.1 14 10/01/2026
1.8.0 14 10/01/2026
1.8.0-prview-01 14 10/01/2026
1.7.5-preview-02 15 10/02/2026
1.7.5-preview-01 11 10/02/2026
1.7.4 12 10/01/2026
1.7.3 13 10/01/2026
1.7.2 14 10/01/2026
1.7.2-preview-01 10 10/02/2026
1.7.1 14 10/01/2026
1.7.0 15 10/01/2026
1.6.12 12 10/01/2026
1.6.11 14 10/01/2026
1.6.10 15 10/01/2026
1.6.9 15 10/01/2026
1.6.8 16 10/01/2026
1.6.7 12 10/01/2026
1.6.7-preview-02 15 10/02/2026
1.6.7-preview-01 10 10/02/2026
1.6.6 15 10/01/2026
1.6.5 13 10/01/2026
1.6.4 15 10/01/2026
1.6.3 13 10/01/2026
1.6.2 13 10/01/2026
1.6.1 11 10/01/2026
1.6.0 10 10/01/2026
1.5.62 12 10/01/2026
1.5.61 15 10/01/2026
1.5.60 12 10/01/2026
1.5.59 13 10/01/2026
1.5.58 12 10/01/2026
1.5.57 13 10/01/2026
1.5.56 15 10/01/2026
1.5.55 16 10/01/2026
1.5.54 11 10/01/2026
1.5.53 10 10/01/2026
1.5.52 13 10/01/2026
1.5.51 15 10/01/2026
1.5.50 12 10/02/2026
1.5.49 16 10/01/2026
1.5.48 10 10/01/2026
1.5.47 16 10/01/2026
1.5.46 16 10/01/2026
1.5.45 16 10/01/2026
1.5.44 15 10/01/2026
1.5.43 12 10/01/2026
1.5.42 15 10/01/2026
1.5.41 12 10/01/2026
1.5.40 15 10/01/2026
1.5.39 13 10/01/2026
1.5.38 12 10/01/2026
1.5.37 19 10/01/2026
1.5.36 13 10/01/2026
1.5.35 9 10/01/2026
1.5.34 11 10/01/2026
1.5.32 16 10/01/2026
1.5.31 13 10/01/2026
1.5.30 15 10/01/2026
1.5.29 16 10/01/2026
1.5.28 15 10/01/2026
1.5.27 11 10/01/2026
1.5.26 12 10/01/2026
1.5.25 14 10/01/2026
1.5.24 16 10/01/2026
1.5.23 12 10/01/2026
1.5.22 11 10/01/2026
1.5.21 16 10/01/2026
1.5.20 18 10/01/2026
1.5.19 17 10/01/2026
1.5.18 9 10/01/2026
1.5.17 15 10/01/2026
1.5.16 15 10/01/2026
1.5.15 11 10/01/2026
1.5.14 12 10/01/2026
1.5.13 12 10/01/2026
1.5.12 10 10/01/2026
1.5.11 11 10/01/2026
1.5.10 12 10/01/2026
1.5.9 16 10/01/2026
1.5.8 14 10/01/2026
1.5.7 11 10/01/2026
1.5.6 14 10/01/2026
1.5.5 9 10/01/2026
1.5.4 15 10/01/2026
1.5.3 10 10/01/2026
1.5.2 14 10/01/2026
1.5.1 13 10/01/2026
1.5.0 15 10/01/2026
1.4.43 13 10/01/2026
1.4.42 11 10/01/2026
1.4.41 11 10/01/2026
1.4.40 15 10/01/2026
1.4.39 15 10/02/2026
1.4.38 17 10/01/2026
1.4.37 12 10/01/2026
1.4.36 9 10/01/2026
1.4.35 15 10/01/2026
1.4.34 16 10/01/2026
1.4.33 10 10/01/2026
1.4.32 14 10/01/2026
1.4.31 11 10/01/2026
1.4.30 13 10/01/2026
1.4.29 15 10/01/2026
1.4.28 16 10/01/2026
1.4.27 12 10/01/2026
1.4.26 13 10/01/2026
1.4.25 11 10/01/2026
1.4.24 14 10/01/2026
1.4.23 14 10/01/2026
1.4.22 15 10/01/2026
1.4.21 15 10/01/2026
1.4.20 15 10/01/2026
1.4.19 13 10/02/2026
1.4.18 12 10/01/2026
1.4.17 10 10/01/2026
1.4.16 12 10/01/2026
1.4.15 15 10/01/2026
1.4.14 13 10/01/2026
1.4.13 15 10/01/2026
1.4.12 16 10/01/2026
1.4.11 11 10/01/2026
1.4.10 15 10/01/2026
1.4.9 14 10/01/2026
1.4.8 10 10/01/2026
1.4.7 11 10/01/2026
1.4.6 14 10/01/2026
1.4.5 11 10/01/2026
1.4.4 15 10/01/2026
1.4.3 17 10/01/2026
1.4.2 11 10/01/2026
1.4.1 11 10/01/2026
1.4.0 15 10/01/2026
1.3.10 10 10/01/2026
1.3.9 11 10/01/2026
1.3.8 16 10/01/2026
1.3.7 12 10/01/2026
1.3.6 15 10/01/2026
1.3.5 15 10/01/2026
1.3.4 14 10/01/2026
1.3.3 11 10/01/2026
1.3.2 15 10/01/2026
1.3.1 14 10/01/2026
1.3.0 14 10/01/2026
1.2.18 16 10/01/2026
1.2.17 17 10/01/2026
1.2.16 12 10/01/2026
1.2.15 15 10/01/2026
1.2.14 15 10/01/2026
1.2.13 12 10/01/2026
1.2.12 15 10/01/2026
1.2.11 10 10/01/2026
1.2.10 10 10/01/2026
1.2.9 18 10/01/2026
1.2.8 9 10/01/2026
1.2.7 13 10/01/2026
1.2.6 13 10/01/2026
1.2.5 14 10/01/2026
1.2.4 15 10/01/2026
1.2.3 11 10/01/2026
1.2.2 14 10/01/2026
1.2.1 15 10/01/2026
1.2.0 13 10/01/2026
1.1.10 10 10/01/2026
1.1.9 14 10/01/2026
1.1.8 11 10/01/2026
1.1.7 14 10/01/2026
1.1.6 13 10/01/2026
1.1.5 12 10/01/2026
1.1.4 14 10/01/2026
1.1.3 14 10/01/2026
1.1.2 14 10/01/2026
1.1.1 15 10/01/2026
1.1.0 14 10/01/2026
1.0.43 15 10/01/2026
1.0.42 10 10/01/2026
1.0.41 18 10/01/2026
1.0.40 15 10/01/2026
1.0.39 9 10/01/2026
1.0.38 14 10/01/2026
1.0.37 14 10/01/2026
1.0.36 14 10/01/2026
1.0.36-ci-12100 11 10/01/2026
1.0.35 10 10/01/2026
1.0.34 16 10/01/2026
1.0.33 11 10/01/2026
1.0.32 9 10/01/2026
1.0.31 10 10/01/2026
1.0.30 12 10/01/2026
1.0.29 14 10/01/2026
1.0.28 15 10/01/2026
1.0.27 13 10/01/2026
1.0.26 15 10/01/2026
1.0.25 12 10/01/2026
1.0.24 13 10/01/2026
1.0.23 11 10/01/2026
1.0.22 17 10/01/2026
1.0.20 12 10/01/2026
1.0.19 12 10/01/2026
1.0.18 12 10/01/2026
1.0.17 11 10/01/2026
1.0.16 12 10/01/2026
1.0.15 15 10/01/2026
1.0.14 12 10/01/2026
1.0.13 14 10/01/2026
1.0.12 15 10/01/2026
1.0.11 13 10/01/2026
1.0.10 13 10/01/2026
1.0.9 14 10/01/2026
1.0.8 15 10/01/2026
1.0.7 11 10/01/2026
1.0.6.1 16 10/01/2026
1.0.6 9 10/01/2026
1.0.5 13 10/01/2026
1.0.4.21 12 10/01/2026
1.0.4.20 17 10/01/2026
1.0.4.19 15 10/01/2026
1.0.4.18 17 10/01/2026
1.0.4.17 15 10/01/2026
1.0.4.16 14 10/01/2026
1.0.4.15 14 10/01/2026
1.0.4.14 16 10/01/2026
1.0.4.13 14 10/01/2026
1.0.4.12 13 10/01/2026
1.0.4.11 11 10/01/2026
1.0.4.10 12 10/01/2026
1.0.4.9 12 10/01/2026
1.0.4.8 15 10/01/2026
1.0.4.7 8 10/01/2026
1.0.4.6 11 10/01/2026
1.0.4.5 13 10/01/2026
1.0.4.4 13 10/01/2026
1.0.4.3 15 10/01/2026
1.0.4.2 13 10/01/2026
1.0.4.1 12 10/01/2026
1.0.4 14 10/01/2026
1.0.3.20 15 10/01/2026
1.0.3.19 11 10/01/2026
1.0.3.18 13 10/01/2026
1.0.3.17 11 10/01/2026
1.0.3.16 18 10/01/2026
1.0.3.15 16 10/01/2026
1.0.3.14 14 10/01/2026
1.0.3.13 9 10/01/2026
1.0.3.11 12 10/01/2026
1.0.3.10 12 10/01/2026
1.0.3.9 12 10/01/2026
1.0.3.8 15 10/01/2026
1.0.3.7 15 10/01/2026
1.0.3.6 13 10/01/2026
1.0.3.5 13 10/01/2026
1.0.3.4 12 10/01/2026
1.0.3.3 16 10/01/2026
1.0.3.2 12 10/01/2026
1.0.3.1 11 10/01/2026
1.0.3 16 10/01/2026
1.0.2.13 14 10/01/2026
1.0.2.12 13 10/01/2026
1.0.2.11 15 10/01/2026
1.0.2.10 12 10/01/2026
1.0.2.9 15 10/01/2026
1.0.2.8 12 10/01/2026
1.0.2.7 14 10/01/2026
1.0.2.6 12 10/01/2026
1.0.2.5 14 10/01/2026
1.0.2.4 8 10/01/2026
1.0.2.4-preview-02 14 10/02/2026
1.0.2.4-preview-01 8 10/02/2026
1.0.2.3 10 10/01/2026
1.0.2.3-preview2-final-03 11 10/02/2026
1.0.2.3-preview2-final-02 12 10/01/2026
1.0.2.3-preview2-final-01 11 10/02/2026
1.0.2.1 11 10/01/2026
1.0.2 11 10/01/2026
1.0.1.5 9 10/01/2026
1.0.1.4 15 10/01/2026
1.0.1.2 15 10/01/2026
1.0.1.1 15 10/01/2026
1.0.0 14 10/01/2026