Package-level declarations
Types
Configures the preset responses available to users in the Mockzilla management dashboard for a specific endpoint. Presets let dashboard users quickly switch between common response scenarios without modifying code.
A named response configuration that can be applied to an endpoint from the Mockzilla management dashboard, overriding the endpoint's default or error response for a session.
Configures a single mock endpoint within a Mockzilla server. Defines how incoming requests are matched to this endpoint and what response to return, along with optional dashboard presets and latency simulation.
Device and application metadata collected when Mockzilla starts. Displayed in the management dashboard to identify the connected device, and used in ZeroConf service records.
Top-level configuration for a Mockzilla server instance. All properties are set via MockzillaConfig.Builder.
An HTTP response returned by a mock endpoint handler. Returned from EndpointConfiguration.Builder.setDefaultHandler and EndpointConfiguration.Builder.setErrorHandler lambdas.
Runtime details of a started Mockzilla server, returned by startMockzilla. Use mockBaseUrl as the base URL in the app under test's HTTP client to route requests through the mock server.
A partial HTTP response used by dashboard presets, allowing a subset of response fields to be overridden. null fields are left unchanged from the endpoint's default response.
Thrown when attempting to start the Mockzilla server on a port that is occupied by another process. To resolve, either terminate the process occupying the port or update your MockzillaConfig.