This commit is contained in:
Stef Heyenrath
2017-05-05 22:25:57 +02:00
parent 84db9bbf0d
commit 7bfd9f3343
19 changed files with 185 additions and 303 deletions

View File

@@ -28,6 +28,14 @@ namespace WireMock.Net.Console.NETCoreApp
server.AllowPartialMapping();
server
.Given(Request.Create().WithPath("/bbc").UsingGet())
.RespondWith(Response.Create().FromProxyUrl("http://www.bbc.com"));
server
.Given(Request.Create().WithPath("/google").UsingGet())
.RespondWith(Response.Create().FromProxyUrl("http://www.google.com"));
server
.Given(Request.Create().WithPath(p => p.Contains("x")).UsingGet())
.AtPriority(4)