Moksy - An open source library for testing HTTP Services NuGet Package

Moksy is an open source .Net library for stubbing, mocking and simulating web services.



Intended to be driven from MsTest (or your favorite testing framework), Moksy will create a real HTTP Server end-point that your system under test or other services can hit.

For example:

Moksy.Common.Proxy proxy = new Moksy.Common.Proxy(10011);
proxy.Start();

var simulation = SimulationFactory.When.I.Get().From("/TheEndpoint").Then.Return.Body("Hello World!").And.StatusCode(System.Net.HttpStatusCode.OK);
proxy.Add(simulation);

Navigating to http://localhost:10011/TheEndpoint in your browser or hitting that Url from another service will return "Hello World!".



This release has a strong focus on testing JSON-based web services.
.




Got any Moksy - An open source library for testing HTTP Services Question?





Info

Version: 1.3.169
Author(s): BrekIT
Last Update: Friday, December 25, 2015
.NET Fiddle: Create the first Fiddle
Project Url: http://www.brekit.com/moksy
NuGet Url: https://www.nuget.org/packages/Moksy


Install
Install-Package Moksy
dotnet add package Moksy
paket add Moksy
Moksy Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1

avg-downloads-per-day

2

days-since-last-release

3016