/OneMoreThing

.Net API experiment libary

Primary LanguageC#

alt tag

OneMoreThing

API Response Experiments. Allows experiments to change the inbound and outbound body.

Load a test object using the file store loader like https://github.com/tharris29/OneMoreThing/blob/master/src/OneMoreThing.Loader/ThingFileLoader.cs

The format of the JSON is as below.

[{
      "end" : "11/20/2015",
      "inbound" : false,
      "name" : "outbound-example",
      "script" : "Body.testproperty1 = true",
      "start" : "11/15/2015",
      "uri" : "/getexample"
   }
]

##OWIN Middleware

 IThingLoader loader = new YouImplementationOfALoader();
 appBuilder.Use<Middleware.OneMoreThing>(loader);