Skip to content
garfieldmoore edited this page Oct 17, 2014 · 26 revisions

Quick start

Install the nuget in the visual studio package manager console;

install-package Boomerang

Now you've installed the package you can create a proxy in your tests;

    var proxy = Boomerang.Create(x =>
            { 
            	x.AtAddress("http://localhost:5100/"); 
            });

Now you're ready to register request/responses;

	proxy.Get("newtest").Returns("test 1", 201);

Then start the proxy;

proxy.Start();

Currently GET, PUT, DELETE and POST are supported.

You can configure other requests using the request method;

proxy.Request("relative/address", "http verb").Returns("test 1", 201)
Clone this wiki locally