SimulationHelper

camundala.simulation.custom.SimulationHelper

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

protected def handleNon2xxResponse(httpStatus: StatusCode, body: Object, curl: String)(using data: ScenarioData): ScenarioData
protected def runRequest(request: Request[Either[String, String], Any], debugMsg: String)(handleBody: (Json, ScenarioData) => ResultType)(using data: ScenarioData): ResultType
protected def tryOrFail(funct: ScenarioData => ResultType, step: ScenarioOrStep)(using data: ScenarioData): ResultType

Inherited methods

def checkOForCollection(overrides: Seq[TestOverride], result: Seq[CamundaVariable | Map[String, CamundaVariable]]): Boolean

Attributes

Inherited from:
ResultChecker
def checkProps(withOverrides: WithTestOverrides[_], result: Seq[CamundaProperty]): Boolean

Attributes

Inherited from:
ResultChecker
def debug(msg: String): LogEntry

Attributes

Inherited from:
Logging
def error(msg: String): LogEntry

Attributes

Inherited from:
Logging
def info(msg: String): LogEntry

Attributes

Inherited from:
Logging
def warn(msg: String): LogEntry

Attributes

Inherited from:
Logging

Concrete fields

lazy val backend: SttpBackend[Identity, Any]
lazy val cockpitUrl: String

Extensions

Extensions

extension (request: RequestT[Empty, Either[String, String], Any])
def auth(): RequestT[Empty, Either[String, String], Any]
extension (request: Request[Either[String, String], Any])
def extractBody()(using ScenarioData): Either[ScenarioData, Json]

Inherited extensions

extension (logs: Seq[LogEntry])
def filter(logLevel: LogLevel): Seq[LogEntry]

Attributes

Inherited from:
Logging

Attributes

Inherited from:
Logging

Implicits

Implicits

implicit def config: SimulationConfig[RequestT[Empty, Either[String, String], Any]]

Inherited implicits

implicit def toLogSeq(logEntry: LogEntry): Seq[LogEntry]

Attributes

Inherited from:
Logging