WebserviceMockRuleConfig
data class WebserviceMockRuleConfig( val isCaptureRun: Boolean, val captureYieldAfterTest: Boolean, val webserviceMockConfigs: Set<WebserviceMockConfig>)
Content copied to clipboard
The config of the WebserviceMockRule.
Constructors
Link copied to clipboard
fun WebserviceMockRuleConfig( isCaptureRun: Boolean, captureYieldAfterTest: Boolean, webserviceMockConfigs: Set<WebserviceMockConfig>)
Content copied to clipboard
Types
Properties
Link copied to clipboard
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
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.