MockzillaRuntimeParams
data class MockzillaRuntimeParams(val config: MockzillaConfig, val ip: String, val mockBaseUrl: String, val apiBaseUrl: String, val port: Int, val authHeaderProvider: AuthHeaderProvider, val mockzillaVersion: String)
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.
Constructors
Link copied to clipboard
constructor(config: MockzillaConfig, ip: String, mockBaseUrl: String, apiBaseUrl: String, port: Int, authHeaderProvider: AuthHeaderProvider, mockzillaVersion: String)
Properties
Link copied to clipboard
Base URL for the Mockzilla control API.
Link copied to clipboard
Provides authentication headers for making requests to this server instance.
Link copied to clipboard
The configuration the server was started with.
Link copied to clipboard
Base URL for mock endpoint requests. Configure the app under test's HTTP client to use this URL.
Link copied to clipboard
The version of the Mockzilla library.