Mock Service Options

MockService Options

The MockService Options contains settings for the mockservice.

Mock Service Options

Path

The Path options is the local path / mount point for the mock service.

Port

The Port setting defines which port the MockService should listen on.

Host

The Host setting defines the external

Host Only

Checking the Host Only box binds the service to only the host. The service will ignore requests from other hosts.

Docroot

The Docroot is the local path to a folder whith files to serve from the MockService.

The Docroot can be an absolute path (e.g. "C:\code" or "/Users/soapusr").

It is also possible to use SoapUI parameters to dynamically reference the folder location:

  • ${projectDir} – will resolve files relative to the folder containing the project
  • ${workspaceDir} – will resolve files relative to the folder containing the workspace file