HttpMock 3.0.2
dotnet add package HttpMock --version 3.0.2
NuGet\Install-Package HttpMock -Version 3.0.2
<PackageReference Include="HttpMock" Version="3.0.2" />
<PackageVersion Include="HttpMock" Version="3.0.2" />
<PackageReference Include="HttpMock" />
paket add HttpMock --version 3.0.2
#r "nuget: HttpMock, 3.0.2"
#:package HttpMock@3.0.2
#addin nuget:?package=HttpMock&version=3.0.2
#tool nuget:?package=HttpMock&version=3.0.2
A library for creating Http servers on the fly in tests and stubbing responses. The verification calls have now moved to HttpMock.Verify.NUnit. Pass an ILoggerFactory to HttpServer for logging via any Microsoft.Extensions.Logging-compatible provider (e.g. console, OpenTelemetry). HttpMockLogging.Configure(ILoggerFactory) is available as a global fallback.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on HttpMock:
| Package | Downloads |
|---|---|
|
HttpMock.Verify.NUnit
A library for verifying HTTP calls, mocked with HttpMock |
|
|
HttpMock.Logging.Log4Net
log4net logger for HttpMock |
|
|
HttpMock.Aspire.Hosting
A .NET Aspire hosting integration for HttpMock. Register an HttpMock stub server as a first-class Aspire resource so it appears on the Aspire dashboard and participates in connection-string injection. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.2 | 317 | 4/25/2026 |
| 3.0.1 | 197 | 4/16/2026 |
| 3.0.0 | 111 | 4/16/2026 |
| 2.3.1 | 158,808 | 6/5/2019 |
| 2.3.0 | 55,081 | 2/25/2018 |
| 2.2.1 | 2,810 | 1/26/2018 |
| 2.2.0 | 24,081 | 10/18/2017 |
| 2.1.0 | 13,717 | 6/30/2017 |
| 2.0.2 | 9,898 | 5/19/2017 |
| 2.0.1 | 3,536 | 4/18/2017 |
| 2.0.0 | 3,048 | 3/30/2017 |
| 1.3.3 | 17,749 | 2/10/2017 |
| 1.3.1 | 8,796 | 10/27/2016 |
| 1.3.0 | 10,072 | 7/19/2016 |
| 1.2.1 | 7,384 | 4/14/2016 |
| 1.2.0 | 8,262 | 9/10/2015 |
| 1.1.6 | 2,392 | 8/22/2015 |
| 1.1.5 | 21,223 | 7/25/2014 |