Updated WireMock as a standalone process (markdown)

Stef Heyenrath
2021-11-04 13:18:02 +01:00
parent 6ea3ea0dcd
commit c320cea896

@@ -25,7 +25,7 @@ class Program
static void Main(string[] args) static void Main(string[] args)
{ {
// see source code for all the possible properties // see source code for all the possible properties
var settings = new FluentMockServerSettings var settings = new WireMockServerSettings
{ {
AllowPartialMapping=true, AllowPartialMapping=true,
StartAdminInterface=true StartAdminInterface=true
@@ -46,8 +46,8 @@ static void Main(string[] args)
if (args.Length == 0 || !int.TryParse(args[0], out port)) if (args.Length == 0 || !int.TryParse(args[0], out port))
port = 8080; port = 8080;
var server = FluentMockServer.Start(port); var server = WireMockServer.Start(port);
Console.WriteLine("FluentMockServer running at {0}", string.Join(",", server.Ports)); Console.WriteLine("WireMockServer running at {0}", string.Join(",", server.Ports));
// Order of rules matters. First matching is taken. // Order of rules matters. First matching is taken.
server server