Fix errors in readme

This commit is contained in:
Dominik Przybysz 2015-01-21 14:53:27 +01:00
parent 73b961eec9
commit a906fba2ab
2 changed files with 5 additions and 13 deletions

View file

@ -15,8 +15,8 @@ java -jar mockserver-<VERSION>-jar-with-dependencies.jar [PORT]
## Create mock on server via client ## Create mock on server via client
``` ```
ControlServerClient controlServerClient = new ControlServerClient('localhost', <PORT>) RemoteMockServer remoteMockServer = new RemoteMockServer('localhost', <PORT>)
controlServerClient.addMock(new AddMockRequestData( remoteMockServer.addMock(new AddMockRequestData(
name: '...', name: '...',
path: '...', path: '...',
port: ..., port: ...,
@ -72,7 +72,7 @@ Response with error message if failure:
Via client: Via client:
``` ```
List<MockEvent> mockEvents = controlServerClient.peekMock('...') List<MockEvent> mockEvents = remoteMockServer.peekMock('...')
``` ```
Via sending POST request to localhost:<PORT>/serverControl Via sending POST request to localhost:<PORT>/serverControl
@ -126,7 +126,7 @@ Response with error message if failure:
Via client: Via client:
``` ```
List<MockEvent> mockEvents = controlServerClient.removeMock('...') List<MockEvent> mockEvents = remoteMockServer.removeMock('...')
``` ```
Via sending POST request to localhost:<PORT>/serverControl Via sending POST request to localhost:<PORT>/serverControl
@ -181,7 +181,7 @@ Response with error message if failure:
Via client: Via client:
``` ```
List<RegisteredMock> mocks = controlServerClient.listMocks() List<RegisteredMock> mocks = remoteMockServer.listMocks()
``` ```
or via sending GET request to localhost:<PORT>/serverControl or via sending GET request to localhost:<PORT>/serverControl

View file

@ -1,8 +0,0 @@
#release configuration
#Mon Jan 19 12:16:50 CET 2015
preparationGoals=clean verify
scm.commentPrefix=[maven-release-plugin]
remoteTagging=true
exec.additionalArguments=-P development
completedPhase=scm-check-modifications
scm.url=scm\:git\:http\://gerrit.touk.pl\:8080/integracja/http-mock-server