mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-18 07:24:34 +01:00
Updated WireMock as a standalone process (markdown)
@@ -25,7 +25,7 @@ class Program
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// see source code for all the possible properties
|
||||
var settings = new FluentMockServerSettings
|
||||
var settings = new WireMockServerSettings
|
||||
{
|
||||
AllowPartialMapping=true,
|
||||
StartAdminInterface=true
|
||||
@@ -46,8 +46,8 @@ static void Main(string[] args)
|
||||
if (args.Length == 0 || !int.TryParse(args[0], out port))
|
||||
port = 8080;
|
||||
|
||||
var server = FluentMockServer.Start(port);
|
||||
Console.WriteLine("FluentMockServer running at {0}", string.Join(",", server.Ports));
|
||||
var server = WireMockServer.Start(port);
|
||||
Console.WriteLine("WireMockServer running at {0}", string.Join(",", server.Ports));
|
||||
|
||||
// Order of rules matters. First matching is taken.
|
||||
server
|
||||
|
||||
Reference in New Issue
Block a user