MockHttp
Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.
About
MockHttp serves as a testing layer for Microsoft's HttpClient library, enabling developers to configure stubbed responses for matched HTTP requests. It defines a replacement `HttpMessageHandler` that utilizes a fluent API for response configuration, allowing for seamless integration into an application's service layer. This tool is particularly useful for testing scenarios where no actual network connection is required.
Open Source Health
- Stars
- 1,761
- Forks
- 90
- License
- MIT
- Last commit
- 2 months ago
Resources & Links
Related Categories
Vendor
Richard Szalay
Open-source project on GitHub: MockHttp
Quick Links
Open Source
Related Products
Mockito
Most popular Mocking framework for unit tests written in Java
Top category match
LoggingInterceptor
An OkHttp interceptor which has pretty logger for request and response. +Mock support
Top category match
Novel
Notion-style WYSIWYG editor with AI-powered autocompletion.
Shared categories
Parse-SDK-JS
Parse JavaScript SDK
Shared categories
LuaNode
Lua sdk for Esp32/Esp32c2/Esp32c3/Esp32c6/Esp8266/STM32L4
Shared categories