WebserviceMockRuleConfig

data class WebserviceMockRuleConfig(    val isCaptureRun: Boolean,     val captureYieldAfterTest: Boolean,     val webserviceMockConfigs: Set<WebserviceMockConfig>)

The config of the WebserviceMockRule.

Constructors

Link copied to clipboard
fun WebserviceMockRuleConfig(    isCaptureRun: Boolean,     captureYieldAfterTest: Boolean,     webserviceMockConfigs: Set<WebserviceMockConfig>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val captureYieldAfterTest: Boolean

When true, a capture yield is performed after each test when isCaptureRun is true or when an request was been captured during the test execution.

Link copied to clipboard
val isCaptureRun: Boolean

When true, this test execution run is considered a capture run. This controls the behavior of WebserviceMockRule.captureYield. Also when true, the WebserviceMockConfig.requestResponseMode property of all webserviceMockConfigs is overridden to RequestResponseMode.FORWARD before registering the configs.

Link copied to clipboard
val webserviceMockConfigs: Set<WebserviceMockConfig>

The config per web service mock instance.