baseUrl

Returns the base URL of the server in the form http://<host>:<port>.

Use this URL as the root for all HTTP requests in tests:

HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(mokksy.baseUrl() + "/ping"))
.GET()
.build();

Return

The base URL string, e.g. "http://127.0.0.1:8080".

Throws

if start has not been called yet.