SimulationDsl

trait BpmnDsl
class Simulation
class Object
trait Matchable
class Any

Type members

Classlikes

Inherited classlikes

class SetUp
Inherited from:
Simulation

Value members

Concrete methods

inline def badScenario(inline process: Process[_, _], status: Int, errorMsg: Option[String]): SimulationConstr
inline def incidentScenario(inline process: Process[_, _], incidentMsg: String): SimulationConstr
def simulate(body: SimulationConstr): Unit
inline def subProcess(inline process: Process[_, _])(body: SStep*): SSubProcess
inline def subProcess(inline ca: CallActivity[_, _])(body: SStep*): SSubProcess
def waitFor(timeInSec: Int): SWaitTime

Inherited methods

def after(step: => Unit): Unit
Inherited from:
Simulation
def before(step: => Unit): Unit
Inherited from:
Simulation
def callActivity[In <: Product : Encoder, Out <: Product : Schema](id: String, subProcessId: String, in: In, out: Out, descr: Option[String] | String): CallActivity[In, Out]
Inherited from:
BpmnDsl
protected def checkIncident(errorMsg: String): Seq[ChainBuilder]
Inherited from:
SimulationHelper
def checkMaxCount: Validate[BodyStringCheckType, String, Unit]
Inherited from:
SimulationHelper
def checkProps(withOverrides: WithTestOverrides[_], result: Seq[CamundaProperty]): Boolean
Inherited from:
SimulationHelper
def collectEntries[In <: Product : Decoder, Out <: Product : Schema](decisionDefinitionKey: String, in: In, out: Out, descr: Option[String] | String): DecisionDmn[In, Out]
Inherited from:
BpmnDsl
def dmn[In <: Product : Schema, Out <: Product : Encoder](decisionDefinitionKey: String, in: In, out: Out, descr: Option[String] | String): DecisionDmn[In, Out]
Inherited from:
BpmnDsl
def endEvent(id: String, descr: Option[String] | String): EndEvent
Inherited from:
BpmnDsl
def extractJson(path: String, key: String): Final[JsonPathCheckType, JsonNode]
Inherited from:
SimulationHelper
def extractJsonOptional(path: String, key: String): Final[JsonPathCheckType, JsonNode]
Inherited from:
SimulationHelper
def incidentReadyCondition(errorMsg: String): Session => Boolean
Inherited from:
SimulationHelper
def loadVariable(variableName: String): ChainBuilder
Inherited from:
SimulationHelper
def process[In <: Product : Encoder, Out <: Product : Decoder](id: String, in: In, out: Out, descr: Option[String] | String): Process[In, Out]
Inherited from:
BpmnDsl
def processFinishedCondition: Session => Boolean
Inherited from:
SimulationHelper
def processInstanceCondition(): Session => Boolean
Inherited from:
SimulationHelper
def processReadyCondition(key: String, value: Any): Session => Boolean
Inherited from:
SimulationHelper
def receiveMessageEvent[Msg <: Product : Schema](messageName: String, in: Msg, id: Option[String], descr: Option[String] | String): ReceiveMessageEvent[Msg]
Inherited from:
BpmnDsl
def receiveSignalEvent[Msg <: Product : Schema](messageName: String, in: Msg, id: Option[String], descr: Option[String] | String): ReceiveSignalEvent[Msg]
Inherited from:
BpmnDsl
def resultList[In <: Product : Decoder, Out <: Product : Schema](decisionDefinitionKey: String, in: In, out: Out, descr: Option[String] | String): DecisionDmn[In, Out]
Inherited from:
BpmnDsl
def retryOrFail(chainBuilder: ChainBuilder, condition: Session => Boolean): ChainBuilder
Inherited from:
SimulationHelper
def run(sim: SSimulation): Unit
Inherited from:
GatlingSimulation
def serviceTask[In <: Product : Schema, Out <: Product : Encoder](id: String, in: In, out: Out, descr: Option[String] | String): ServiceTask[In, Out]
Inherited from:
BpmnDsl
def setUp(populationBuilders: List[PopulationBuilder]): SetUp
Inherited from:
Simulation
def setUp(populationBuilders: PopulationBuilder*): SetUp
Inherited from:
Simulation
def singleEntry[In <: Product : Schema, Out <: Product : Decoder](decisionDefinitionKey: String, in: In, out: Out, descr: Option[String] | String): DecisionDmn[In, Out]
Inherited from:
BpmnDsl
def singleResult[In <: Product : Decoder, Out <: Product : Decoder](decisionDefinitionKey: String, in: In, out: Out, descr: Option[String] | String): DecisionDmn[In, Out]
Inherited from:
BpmnDsl
def statusCondition(status: Int*): Session => Boolean
Inherited from:
SimulationHelper
def taskCondition(): Session => Boolean
Inherited from:
SimulationHelper
def userTask[In <: Product : Encoder, Out <: Product : Schema](id: String, in: In, out: Out, descr: Option[String] | String): UserTask[In, Out]
Inherited from:
BpmnDsl

Inherited fields

val printBody: Validate[BodyStringCheckType, String, Unit]
Inherited from:
SimulationHelper
val printSession: ChainBuilder
Inherited from:
SimulationHelper

Extensions

Extensions

extension (rme: ReceiveMessageEvent[_])
def waitFor(readyVariable: String, readyValue: Any): SReceiveMessageEvent
extension (rse: ReceiveSignalEvent[_])
def waitFor(readyVariable: String, readyValue: Any): SReceiveSignalEvent

Inherited extensions

extension (builder: HttpRequestBuilder)
def auth(): HttpRequestBuilder
Inherited from:
SimulationHelper
extension (process: SSubProcess)
def switchToMainProcess(): ChainBuilder
Inherited from:
SSubProcessExtensions
def switchToSubProcess(): Seq[ChainBuilder]
Inherited from:
SSubProcessExtensions
extension (sEvent: SReceiveSignalEvent)
def event: ReceiveSignalEvent[_]
Inherited from:
SEventExtensions
def sendSignal(): Seq[ChainBuilder]
Inherited from:
SEventExtensions
extension (sEvent: SReceiveMessageEvent)
def correlate(tenantId: Option[String]): Seq[ChainBuilder]
Inherited from:
SEventExtensions
def event: ReceiveMessageEvent[_]
Inherited from:
SEventExtensions
extension (scenario: SScenario)
def correlate(msgName: String, businessKey: Option[String]): ChainBuilder
Inherited from:
SScenarioExtensions
def process: Process[_, _]
Inherited from:
SScenarioExtensions
def start(expectedStatus: Int, expectedMsg: Option[String]): ChainBuilder
Inherited from:
SScenarioExtensions
extension (scenario: SScenario | SSubProcess)
def check(): Seq[ChainBuilder]
Inherited from:
SScenarioExtensions
def checkFinished(): HttpRequestBuilder
Inherited from:
SScenarioExtensions
def checkRunningVars(variable: String, value: Any): Seq[ChainBuilder]
Inherited from:
SScenarioExtensions
def checkVars(): HttpRequestBuilder
Inherited from:
SScenarioExtensions
def name: String
Inherited from:
SScenarioExtensions
def process: Process[_, _]
Inherited from:
SScenarioExtensions
extension (userTask: SUserTask)
def getAndComplete(): Seq[ChainBuilder]
Inherited from:
SUserTaskExtensions
extension [T <: WithTestOverrides[LazyRef(...)]](withOverride: T)
def exists(key: String): T
Inherited from:
TestOverrideExtensions
def hasSize(key: String, size: Int): T
Inherited from:
TestOverrideExtensions
def isEquals(key: String, value: Any): T
Inherited from:
TestOverrideExtensions
def notExists(key: String): T
Inherited from:
TestOverrideExtensions

Implicits

Implicits

implicit inline def toScenario(inline process: Process[_, _]): ProcessScenario
implicit inline def toStep(inline inOut: UserTask[_, _]): SUserTask
implicit inline def toStep(inline inOut: ReceiveMessageEvent[_]): SReceiveMessageEvent
implicit inline def toStep(inline inOut: ReceiveSignalEvent[_]): SReceiveSignalEvent

Inherited implicits

implicit def config: SimulationConfig
Inherited from:
SimulationHelper