MockzillaManagement

A client for remotely manipulating a running Mockzilla server. Used by external tooling (such as the Mockzilla management desktop app or automated tests) to inspect and control mock endpoint behaviour at runtime without modifying application code.

Create an instance via constructInstance.

Types

Link copied to clipboard
interface AppIconService

Fetches the app icon from a connected device.

Link copied to clipboard

Clears endpoint response caches on a connected device. Clearing a cache causes the next request to that endpoint to return a fresh response rather than a cached one.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Config(val disableProxy: Boolean = false)

Configuration for a MockzillaManagement instance.

Link copied to clipboard

Queries endpoint configurations from a connected device.

Link copied to clipboard
interface LogsService

Fetches monitor logs from a connected device.

Link copied to clipboard
interface MetaDataService

Fetches device and application metadata from a connected device.

Link copied to clipboard
interface UpdateService

Modifies endpoint behaviour on a connected device at runtime. Changes take effect immediately and are applied on top of the endpoint's static configuration — passing null for any value resets it to the endpoint's configured default.

Properties

Link copied to clipboard
Link copied to clipboard

Service for clearing endpoint response caches on a connected device.

Link copied to clipboard

Service for querying endpoint configurations from a connected device.

Link copied to clipboard

Service for fetching monitor logs from a connected device.

Link copied to clipboard

Service for fetching device and application metadata from a connected device.

Link copied to clipboard

Provides direct access to the underlying HTTP repository for cases where the higher-level services do not cover a required operation. Prefer using the typed service properties where possible.

Link copied to clipboard

Service for modifying endpoint behaviour on a connected device at runtime.