package sbt
Type Members
- class GatlingFingerprint extends SubclassFingerprint
Gatling's specific fingerprint, which defines which classes are to be picked up by the test framework from the test ClassLoader as test classes, in this case Gatling simulations.
- class GatlingFramework extends Framework
Gatling's test framework.
Gatling's test framework. Test classes are filtered to only keep classes matching GatlingFingerprint.
- class GatlingRunner extends Runner
As there is no further special handling needed or simulations to reject, GatlingRunner simply creates a GatlingTask for each discovered simulation.
- class GatlingTask extends Task
The main worker of the test framework :
The main worker of the test framework :
- Loads the simulation from the test ClassLoader.
- Run Gatling with the specified simulation.
- Fire the appropriate event, depending on the outcome of the run.
- final case class InvalidArguments(fullyQualifiedName: String, fingerprint: Fingerprint, selector: Selector, throwable: OptionalThrowable, duration: Long) extends Event with Product with Serializable
The event fired by the test framework if Gatling couldn't start due to an invalid argument provided to it.
The event fired by the test framework if Gatling couldn't start due to an invalid argument provided to it.
- fullyQualifiedName
The simulation class' fully qualified name.
- fingerprint
The GatlingFingerprint for this simulation.
- selector
The Selector used for this simulation.
- throwable
The exception that may have been thrown by Gatling.
- duration
The simulation's execution's duration.
- final case class SimulationFailed(fullyQualifiedName: String, fingerprint: Fingerprint, selector: Selector, throwable: OptionalThrowable, duration: Long) extends Event with Product with Serializable
The event fired by the test framework if the simulation failed, eg.
The event fired by the test framework if the simulation failed, eg. Gatling exits prematurely or at least one assertion failed.
- fullyQualifiedName
The simulation class' fully qualified name.
- fingerprint
The GatlingFingerprint for this simulation.
- selector
The Selector used for this simulation.
- throwable
The exception that may have been thrown by Gatling.
- duration
The simulation's execution's duration.
- final case class SimulationSuccessful(fullyQualifiedName: String, fingerprint: Fingerprint, selector: Selector, throwable: OptionalThrowable, duration: Long) extends Event with Product with Serializable
The event fired by the test framework if the simulation was successful, eg.
The event fired by the test framework if the simulation was successful, eg. Gatling doesn't prematurely stop and assertions didn't fail.
- fullyQualifiedName
The simulation class' fully qualified name.
- fingerprint
The GatlingFingerprint for this simulation.
- selector
The Selector used for this simulation.
- throwable
The exception that may have been thrown by Gatling.
- duration
The simulation's execution's duration.