WireMock.Net.StandAlone
1.6.7
Prefix Reserved
dotnet add package WireMock.Net.StandAlone --version 1.6.7
NuGet\Install-Package WireMock.Net.StandAlone -Version 1.6.7
<PackageReference Include="WireMock.Net.StandAlone" Version="1.6.7" />
paket add WireMock.Net.StandAlone --version 1.6.7
#r "nuget: WireMock.Net.StandAlone, 1.6.7"
// Install WireMock.Net.StandAlone as a Cake Addin #addin nuget:?package=WireMock.Net.StandAlone&version=1.6.7 // Install WireMock.Net.StandAlone as a Cake Tool #tool nuget:?package=WireMock.Net.StandAlone&version=1.6.7
WireMock.Net
Lightweight Http Mocking Server for .NET, inspired by WireMock.org (from the Java landscape).
⭐ 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
⭐ Stubbing
A core feature of WireMock.Net is the ability to return predefined HTTP responses for requests matching criteria. See Wiki : Stubbing.
⭐ Request Matching
WireMock.Net support advanced request-matching logic, see Wiki : Request Matching.
⭐ Response Templating
The response which is returned WireMock.Net can be changed using templating. This is described here Wiki : Response Templating.
⭐ Admin API Reference
The WireMock admin API provides functionality to define the mappings via a http interface see Wiki : Admin API Reference.
⭐ 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
📚 Documentation
For more info, see also this WIKI page: What is WireMock.Net.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETFramework 4.5.1
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETFramework 4.5.2
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETFramework 4.6
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETFramework 4.6.1
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETStandard 2.0
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
.NETStandard 2.1
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
net5.0
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
net6.0
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
net7.0
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
-
net8.0
- System.Text.RegularExpressions (>= 4.3.1)
- WireMock.Net (>= 1.6.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.6.7 | 11,808 | 10/17/2024 | |
1.6.7-preview-02 | 92 | 10/6/2024 | |
1.6.7-preview-01 | 109 | 10/2/2024 | |
1.6.6 | 7,224 | 10/1/2024 | |
1.6.5 | 1,069 | 9/28/2024 | |
1.6.4 | 11,435 | 9/25/2024 | |
1.6.3 | 8,796 | 9/7/2024 | |
1.6.2 | 1,839 | 9/4/2024 | |
1.6.1 | 7,179 | 8/22/2024 | |
1.6.0 | 4,610 | 8/16/2024 | |
1.5.62 | 19,526 | 7/27/2024 | |
1.5.61 | 89 | 7/27/2024 | |
1.5.60 | 29,197 | 7/9/2024 | |
1.5.59 | 6,088 | 6/26/2024 | |
1.5.58 | 11,677 | 6/8/2024 | |
1.5.57 | 1,354 | 6/4/2024 | |
1.5.56 | 2,525 | 6/3/2024 | |
1.5.55 | 10,573 | 5/22/2024 | |
1.5.54 | 2,441 | 5/18/2024 | |
1.5.53 | 35,919 | 5/8/2024 | |
1.5.52 | 21,514 | 4/6/2024 | |
1.5.51 | 6,509 | 3/20/2024 | |
1.5.50 | 140 | 3/20/2024 | |
1.5.49 | 6,618 | 3/6/2024 | |
1.5.48 | 5,552 | 2/17/2024 | |
1.5.47 | 26,592 | 1/25/2024 | |
1.5.46 | 9,494 | 12/23/2023 | |
1.5.45 | 2,974 | 12/21/2023 | |
1.5.44 | 2,929 | 12/14/2023 | |
1.5.43 | 4,542 | 12/11/2023 | |
1.5.42 | 692 | 12/9/2023 | |
1.5.41 | 3,657 | 12/4/2023 | |
1.5.40 | 14,460 | 11/7/2023 | |
1.5.39 | 13,860 | 10/9/2023 | |
1.5.38 | 175 | 10/9/2023 | |
1.5.37 | 2,459 | 9/27/2023 | |
1.5.36 | 4,261 | 9/21/2023 | |
1.5.35 | 19,369 | 8/19/2023 | |
1.5.34 | 7,488 | 8/4/2023 | |
1.5.32 | 15,454 | 7/15/2023 | |
1.5.31 | 3,461 | 7/8/2023 | |
1.5.30 | 8,730 | 6/28/2023 | |
1.5.29 | 4,608 | 6/22/2023 | |
1.5.28 | 7,850 | 6/11/2023 | |
1.5.27 | 5,581 | 6/3/2023 | |
1.5.26 | 4,285 | 5/25/2023 | |
1.5.25 | 4,000 | 5/13/2023 | |
1.5.24 | 1,222 | 5/7/2023 | |
1.5.23 | 3,748 | 4/23/2023 | |
1.5.22 | 4,949 | 4/8/2023 | |
1.5.21 | 15,427 | 3/22/2023 | |
1.5.20 | 5,054 | 3/19/2023 | |
1.5.19 | 342 | 3/17/2023 | |
1.5.18 | 2,839 | 3/9/2023 | |
1.5.17 | 2,301 | 2/25/2023 | |
1.5.16 | 6,993 | 2/6/2023 | |
1.5.15 | 4,223 | 1/29/2023 | |
1.5.14 | 1,805 | 1/24/2023 | |
1.5.13 | 63,811 | 12/11/2022 | |
1.5.12 | 8,970 | 12/3/2022 | |
1.5.11 | 14,968 | 11/24/2022 | |
1.5.10 | 20,747 | 11/6/2022 | |
1.5.9 | 4,530 | 10/29/2022 | |
1.5.8 | 2,377 | 10/16/2022 | |
1.5.7 | 2,546 | 10/11/2022 | |
1.5.6 | 47,676 | 9/12/2022 | |
1.5.5 | 874 | 9/3/2022 | |
1.5.4 | 4,855 | 8/24/2022 | |
1.5.3 | 10,544 | 7/29/2022 | |
1.5.2 | 1,856 | 7/24/2022 | |
1.5.1 | 7,349 | 7/8/2022 | |
1.5.0 | 5,762 | 6/10/2022 | |
1.4.43 | 3,835 | 5/21/2022 | |
1.4.42 | 57,005 | 5/13/2022 | |
1.4.41 | 6,325 | 4/22/2022 | |
1.4.40 | 22,965 | 3/26/2022 | |
1.4.39 | 572 | 3/25/2022 | |
1.4.38 | 7,841 | 3/12/2022 | |
1.4.37 | 739 | 3/2/2022 | |
1.4.36 | 666 | 2/25/2022 | |
1.4.35 | 5,791 | 2/9/2022 | |
1.4.34 | 1,190 | 1/27/2022 | |
1.4.33 | 597 | 1/24/2022 | |
1.4.32 | 3,625 | 1/17/2022 | |
1.4.31 | 13,885 | 1/6/2022 | |
1.4.30 | 27,253 | 12/25/2021 | |
1.4.29 | 2,252 | 12/12/2021 | |
1.4.28 | 8,796 | 12/1/2021 | |
1.4.27 | 672 | 11/17/2021 | |
1.4.26 | 4,217 | 11/4/2021 | |
1.4.25 | 758 | 10/27/2021 | |
1.4.24 | 1,519 | 10/20/2021 | |
1.4.23 | 7,590 | 9/27/2021 | |
1.4.22 | 2,032 | 9/22/2021 | |
1.4.21 | 3,626 | 9/16/2021 | |
1.4.21-preview-03 | 299 | 9/12/2021 | |
1.4.20 | 41,306 | 8/6/2021 | |
1.4.19 | 542 | 8/4/2021 | |
1.4.18 | 7,770 | 7/10/2021 | |
1.4.17 | 582 | 7/7/2021 | |
1.4.16 | 35,676 | 6/5/2021 | |
1.4.15 | 8,095 | 5/19/2021 | |
1.4.14 | 1,075 | 5/11/2021 | |
1.4.13 | 4,704 | 4/26/2021 | |
1.4.12 | 2,174 | 4/22/2021 | |
1.4.11 | 5,368 | 4/18/2021 | |
1.4.10 | 9,233 | 4/15/2021 | |
1.4.9 | 4,514 | 3/31/2021 | |
1.4.8 | 871 | 3/24/2021 | |
1.4.7 | 5,466 | 3/21/2021 | |
1.4.6 | 21,519 | 2/26/2021 | |
1.4.5 | 6,651 | 2/11/2021 | |
1.4.4 | 642 | 2/9/2021 | |
1.4.3 | 5,087 | 2/5/2021 | |
1.4.2 | 2,552 | 1/24/2021 | |
1.4.1 | 3,380 | 1/19/2021 | |
1.4.0 | 5,755 | 1/12/2021 | |
1.3.10 | 25,017 | 12/23/2020 | |
1.3.9 | 3,701 | 12/8/2020 | |
1.3.8 | 668 | 12/3/2020 | |
1.3.7 | 6,709 | 11/17/2020 | |
1.3.6 | 1,590 | 11/10/2020 | |
1.3.5 | 1,044 | 11/4/2020 | |
1.3.4 | 29,673 | 10/17/2020 | |
1.3.3 | 650 | 10/15/2020 | |
1.3.2 | 613 | 10/14/2020 | |
1.3.1 | 9,892 | 9/30/2020 | |
1.3.0 | 1,000 | 9/29/2020 | |
1.2.18 | 30,355 | 8/13/2020 | |
1.2.17 | 1,174 | 8/1/2020 | |
1.2.16 | 1,980 | 7/27/2020 | |
1.2.15 | 23,162 | 7/19/2020 | |
1.2.14 | 90,725 | 7/9/2020 | |
1.2.13 | 666 | 7/9/2020 | |
1.2.12 | 20,934 | 5/23/2020 | |
1.2.11 | 954 | 5/18/2020 | |
1.2.10 | 855 | 5/17/2020 | |
1.2.9 | 682 | 5/14/2020 | |
1.2.8 | 3,233 | 5/4/2020 | |
1.2.7 | 3,478 | 4/30/2020 | |
1.2.6 | 687 | 4/29/2020 | |
1.2.5 | 3,435 | 4/17/2020 | |
1.2.4 | 894 | 4/10/2020 | |
1.2.3 | 12,465 | 4/1/2020 | |
1.2.2 | 960 | 3/25/2020 | |
1.2.1 | 1,149 | 3/17/2020 | |
1.2.0 | 2,837 | 3/14/2020 | |
1.1.10 | 1,020 | 3/5/2020 | |
1.1.9 | 1,434 | 2/25/2020 | |
1.1.8 | 1,528 | 2/22/2020 | |
1.1.7 | 8,058 | 2/6/2020 | |
1.1.6 | 1,369 | 1/27/2020 | |
1.1.5 | 832 | 1/25/2020 | |
1.1.4 | 833 | 1/25/2020 | |
1.1.3 | 1,507 | 1/22/2020 | |
1.1.2 | 2,950 | 1/9/2020 | |
1.1.1 | 854 | 1/9/2020 | |
1.1.0 | 914 | 12/27/2019 | |
1.0.43 | 886 | 12/26/2019 | |
1.0.42 | 8,712 | 12/15/2019 | |
1.0.41 | 910 | 12/14/2019 | |
1.0.40 | 1,549 | 12/9/2019 | |
1.0.39 | 811 | 12/7/2019 | |
1.0.38 | 4,515 | 11/30/2019 | |
1.0.37 | 7,673 | 11/8/2019 | |
1.0.36 | 9,078 | 10/26/2019 | |
1.0.36-ci-12100 | 414 | 11/18/2019 | |
1.0.35 | 839 | 10/25/2019 | |
1.0.34 | 837 | 10/22/2019 | |
1.0.33 | 5,538 | 10/12/2019 | |
1.0.32 | 19,449 | 9/20/2019 | |
1.0.31 | 844 | 9/19/2019 | |
1.0.30 | 1,434 | 9/1/2019 | |
1.0.29 | 917 | 8/23/2019 | |
1.0.28 | 887 | 8/20/2019 | |
1.0.27 | 1,271 | 8/14/2019 | |
1.0.26 | 10,969 | 8/11/2019 | |
1.0.25 | 5,898 | 7/23/2019 | |
1.0.24 | 845 | 7/22/2019 | |
1.0.23 | 1,947 | 7/16/2019 | |
1.0.22 | 791 | 7/15/2019 | |
1.0.20 | 8,560 | 6/17/2019 | |
1.0.19 | 1,234 | 6/15/2019 | |
1.0.18 | 35,433 | 6/10/2019 | |
1.0.17 | 979 | 6/5/2019 | |
1.0.16 | 1,710 | 5/16/2019 | |
1.0.15 | 2,900 | 5/4/2019 | |
1.0.14 | 1,337 | 4/20/2019 | |
1.0.13 | 1,910 | 4/11/2019 | |
1.0.12 | 907 | 4/5/2019 | |
1.0.11 | 1,009 | 3/30/2019 | |
1.0.10 | 1,009 | 3/27/2019 | |
1.0.9 | 3,855 | 3/25/2019 | |
1.0.8 | 1,553 | 3/12/2019 | |
1.0.7 | 2,306 | 1/19/2019 | |
1.0.6.1 | 1,068 | 1/10/2019 | |
1.0.6 | 1,546 | 12/15/2018 | |
1.0.5 | 1,109 | 12/7/2018 | |
1.0.4.21 | 1,662 | 11/30/2018 | |
1.0.4.20 | 11,504 | 11/7/2018 | |
1.0.4.19 | 1,143 | 10/31/2018 | |
1.0.4.18 | 4,126 | 10/27/2018 | |
1.0.4.17 | 5,834 | 9/22/2018 | |
1.0.4.16 | 2,114 | 9/11/2018 | |
1.0.4.15 | 1,197 | 9/4/2018 | |
1.0.4.14 | 1,154 | 9/2/2018 | |
1.0.4.13 | 1,071 | 8/31/2018 | |
1.0.4.12 | 1,239 | 8/23/2018 | |
1.0.4.11 | 1,188 | 8/20/2018 | |
1.0.4.10 | 6,070 | 8/14/2018 | |
1.0.4.9 | 1,225 | 8/8/2018 | |
1.0.4.8 | 1,539 | 7/23/2018 | |
1.0.4.8-preview-01 | 803 | 7/20/2018 | |
1.0.4.7 | 1,607 | 7/19/2018 | |
1.0.4.7-preview-jsonpath | 789 | 7/19/2018 | |
1.0.4.6 | 1,260 | 7/18/2018 | |
1.0.4.5 | 1,368 | 7/17/2018 | |
1.0.4.4 | 1,856 | 7/1/2018 | |
1.0.4.3 | 1,304 | 6/29/2018 | |
1.0.4.2 | 3,262 | 6/26/2018 | |
1.0.4.1 | 1,366 | 6/25/2018 | |
1.0.4 | 1,393 | 6/23/2018 | |
1.0.3.20 | 4,980 | 5/29/2018 | |
1.0.3.19 | 1,310 | 5/28/2018 | |
1.0.3.18 | 1,376 | 5/25/2018 | |
1.0.3.17 | 1,414 | 5/16/2018 | |
1.0.3.16 | 2,121 | 4/15/2018 | |
1.0.3.15 | 1,359 | 4/5/2018 | |
1.0.3.14 | 1,605 | 4/1/2018 | |
1.0.3.13 | 15,942 | 3/24/2018 | |
1.0.3.12 | 1,382 | 3/24/2018 | |
1.0.3.11 | 1,341 | 3/20/2018 | |
1.0.3.10 | 1,290 | 3/17/2018 | |
1.0.3.9 | 1,333 | 3/15/2018 | |
1.0.3.8 | 1,305 | 3/10/2018 | |
1.0.3.7 | 1,368 | 3/9/2018 | |
1.0.3.6 | 1,656 | 3/8/2018 | |
1.0.3.5 | 1,240 | 3/8/2018 | |
1.0.3.4 | 1,968 | 3/4/2018 | |
1.0.3.3 | 18,512 | 2/24/2018 | |
1.0.3.2 | 1,572 | 2/14/2018 | |
1.0.3.1 | 1,318 | 2/14/2018 | |
1.0.3 | 1,365 | 2/5/2018 | |
1.0.2.13 | 1,906 | 1/23/2018 | |
1.0.2.12 | 1,371 | 1/16/2018 | |
1.0.2.11 | 1,639 | 12/20/2017 | |
1.0.2.10 | 1,175 | 12/12/2017 | |
1.0.2.9 | 1,506 | 12/7/2017 | |
1.0.2.8 | 1,266 | 11/23/2017 | |
1.0.2.7 | 1,200 | 11/18/2017 | |
1.0.2.6 | 1,325 | 10/30/2017 | |
1.0.2.5 | 1,224 | 10/24/2017 | |
1.0.2.4 | 2,384 | 10/10/2017 | |
1.0.2.3 | 10,284 | 8/8/2017 | |
1.0.1 | 1,338 | 6/15/2017 |
# 1.6.7 (17 October 2024)
- #1161 Use latest ProtoBufJsonConverter to support WellKnownTypes [bug]
- #1190 Bump System.Text.Json from 8.0.4 to 8.0.5 in /examples/WireMock.Net.Console.Net472.Classic [dependencies]
- #1194 Upgrade System.Text.RegularExpressions to 4.3.1 to solve CVE-2019-0820 [bug]
- #1197 Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/dotnet-WireMock.Net [dependencies]
- #1198 Fix Google.Protobuf.WellKnownTypes.Value [bug]
- #1144 Using google.protobuf.Empty as response results in a bad gRPC response [bug]
- #1153 Grpc support for multiple proto files [feature]
- #1193 Snyk issue : Regular Expression Denial of Service [bug]
The full release notes can be found here: https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md