ScenarioStarted

data class ScenarioStarted(val scenarioName: String, val index: Int, val totalScenarios: Int) : RunEvent(source)

Emitted by ScenarioOrchestrator when an individual scenario's simulation begins. Under ksl.app.config.ExecutionMode.SEQUENTIAL scenarios start one at a time; under ksl.app.config.ExecutionMode.CONCURRENT every scenario emits this event before any of them begin replications.

Constructors

Link copied to clipboard
constructor(scenarioName: String, index: Int, totalScenarios: Int)

Properties

Link copied to clipboard
val index: Int

1-based position of this scenario among all scenarios

Link copied to clipboard

the scenario name as specified in ScenarioSpec.name

Link copied to clipboard

total number of scenarios in the run