Moksy 1.3.169

Moksy - An open source library for testing HTTP Services

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.

Install-Package Moksy -Version 1.3.169
dotnet add package Moksy --version 1.3.169
<PackageReference Include="Moksy" Version="1.3.169" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moksy --version 1.3.169
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

169: .CleanImdb() now part of simulation; Exists/NotExists no longer need an index for Imdb; (ALPHA: Object selection using JsonPath before adding to Imdb)

Version History

Version Downloads Last updated
1.3.169 654 12/25/2015
1.3.146 580 1/4/2015
1.2.104 455 11/17/2014
1.2.73 1,070 11/4/2014
1.2.46 364 10/19/2014
1.1.37 355 10/16/2014
1.0.30 367 8/11/2014
1.0.18 346 8/10/2014