This is the Windows app named MockHttp for HttpClient whose latest release can be downloaded as v7.0.0sourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named MockHttp for HttpClient with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start any OS OnWorks online emulator from this website, but better Windows online emulator.
- 5. From the OnWorks Windows OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application and install it.
- 7. Download Wine from your Linux distributions software repositories. Once installed, you can then double-click the app to run them with Wine. You can also try PlayOnLinux, a fancy interface over Wine that will help you install popular Windows programs and games.
Wine is a way to run Windows software on Linux, but with no Windows required. Wine is an open-source Windows compatibility layer that can run Windows programs directly on any Linux desktop. Essentially, Wine is trying to re-implement enough of Windows from scratch so that it can run all those Windows applications without actually needing Windows.
SCREENSHOTS
Ad
MockHttp for HttpClient
DESCRIPTION
MockHttp is a testing layer for Microsoft's HttpClient library. It allows stubbed responses to be configured for matched HTTP requests and can be used to test your application's service layer. MockHttp defines a replacement HttpMessageHandler, the engine that drives HttpClient, that provides a fluent configuration API and provides a canned response. The caller (eg. your application's service layer) remains unaware of its presence. MockHttpMessageHandler defines both When and Expect, which can be used to define responses. They both expose the same fluent API, but each works in a slightly different way. Using When specifies a "Backend Definition". Backend Definitions can be matched against multiple times and in any order, but they won't match if there are any outstanding Request Expectations present (unless BackendDefinitionBehavior.Always is specified).
Features
- The Fallback property handles all requests that weren't handled by the match behavior
- MockHttp is compiled for .NET Standard 2.0, .NET Standard 1.1, .NET 4, and .NET 4.5, as well a Portable Class Library (Profile 328)
- License under the MIT license
- MockHttpMessageHandler defines both When and Expect, which can be used to define responses
- MockHttp defines a replacement HttpMessageHandler
- MockHttp is a testing layer for Microsoft's HttpClient library
Programming Language
C#
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/mockhttp-for-httpclient.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.