Packages

trait JourneySetup extends JourneyConfiguration with PerftestConfiguration

A trait to setup the Journeys used in Simulation.

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JourneySetup
  2. PerftestConfiguration
  3. JourneyConfiguration
  4. Configuration
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allJourneys: List[String]
    Definition Classes
    JourneyConfiguration
  5. lazy val applicationConfig: Config
    Definition Classes
    Configuration
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkJourneyName(id: String): Any
    Definition Classes
    JourneyConfiguration
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. lazy val constantRateTime: FiniteDuration
    Definition Classes
    PerftestConfiguration
  10. def definitions(labels: Set[String] = Set.empty): Seq[JourneyDefinition]

    Maps the journeys defined in journeys.conf to a Seq of uk.gov.hmrc.performance.conf.JourneyDefinition and returns the journeys to be executed based on the provided labels.

    Maps the journeys defined in journeys.conf to a Seq of uk.gov.hmrc.performance.conf.JourneyDefinition and returns the journeys to be executed based on the provided labels. The labels field is defined in application.conf.

    labels

    An optional parameter with a Set of labels for which the journeys should be executed.

    returns

    Seq of JourneyDefinition to be executed for the provided labels.

    Definition Classes
    JourneyConfiguration
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def generateDescription(journeyDescription: String, runIf: Set[String], skipIf: Set[String]): String

    Generates a new description for a journey based on the description, run-if, and skip-if fields in journeys.conf

    Generates a new description for a journey based on the description, run-if, and skip-if fields in journeys.conf

    Example:

    For the below example journey in journey.conf:

    hello-world-4 = {
      description = "Hello world journey 4"
      load = 0.1
      feeder = data/helloworld.csv
      parts = [
        home
      ]
      run-if = ["label-B"]
      skip-if = ["label-A", "label-C"]
    }

    the generated description would be:

    Hello world journey 4 - runIf [label-B] and skipIf [label-A,label-C]

    journeyDescription

    Value from the description field of a journey in journeys.conf

    runIf

    Labels included in run-if field of a journey in journeys.conf

    skipIf

    Labels included in skip-if field of a journey in journeys.conf

    returns

    A new description based on the description and the labels

    Definition Classes
    JourneyConfiguration
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hasProperty(property: String): Boolean
    Definition Classes
    Configuration
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def journeys: Seq[Journey]

    Builds uk.gov.hmrc.performance.simulation.Journey for each journey defined in journeys.conf

    Builds uk.gov.hmrc.performance.simulation.Journey for each journey defined in journeys.conf

    returns

    a Seq of uk.gov.hmrc.performance.simulation.Journey for all the journeys defined in journeys.conf

    Attributes
    protected
  19. val journeysAvailable: List[String]
    Definition Classes
    JourneyConfiguration
  20. def keys(property: String): List[String]
    Definition Classes
    Configuration
  21. lazy val labels: Set[String]
    Definition Classes
    PerftestConfiguration
  22. lazy val loadFactor: Double
    Definition Classes
    PerftestConfiguration
  23. lazy val loadPercentage: Int
    Definition Classes
    PerftestConfiguration
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. val noLoad: Double
    Definition Classes
    PerftestConfiguration
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  28. lazy val percentageFailureThreshold: Int
    Definition Classes
    PerftestConfiguration
  29. lazy val rampDownTime: FiniteDuration
    Definition Classes
    PerftestConfiguration
  30. lazy val rampUpTime: FiniteDuration
    Definition Classes
    PerftestConfiguration
  31. def readProperty(property: String, default: String): String
    Definition Classes
    Configuration
  32. def readProperty(property: String): String
    Definition Classes
    Configuration
  33. def readPropertyBooleanOption(property: String): Option[Boolean]
    Definition Classes
    Configuration
  34. def readPropertyList(property: String): List[String]
    Definition Classes
    Configuration
  35. def readPropertyOption(property: String): Option[String]
    Definition Classes
    Configuration
  36. def readPropertySet(property: String): Set[String]
    Definition Classes
    Configuration
  37. def readPropertySetOrEmpty(property: String): Set[String]
    Definition Classes
    Configuration
  38. lazy val requestPercentageFailureThreshold: Int
    Definition Classes
    PerftestConfiguration
  39. lazy val runLocal: Boolean
    Definition Classes
    Configuration
  40. lazy val runSingleUserJourney: Boolean
    Definition Classes
    PerftestConfiguration
  41. def setup(id: String, description: String): JourneyPart

    Creates JourneyPart which allows to chain HttpRequestBuilder and ActionBuilder.

    Creates JourneyPart which allows to chain HttpRequestBuilder and ActionBuilder.

    id

    Unique identifier for the setup. This should match an entry in the parts provided in journeys.conf

    description

    description of the setup. This value is used in Gatling's scenario description which is surfaced in gatling report.

    returns

    JourneyPart

  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. def withInjectedLoad(journeys: Seq[Journey]): Seq[PopulationBuilder]

    Calculates the load for the provided journeys and constructs the injection steps using Gatling's open injection model: https://gatling.io/docs/current/general/simulation_setup/#open-model.

    Calculates the load for the provided journeys and constructs the injection steps using Gatling's open injection model: https://gatling.io/docs/current/general/simulation_setup/#open-model.

    journeys

    Seq of journeys as defined in journeys.conf

    returns

    Sequence of PopulationBuilder with calculated injection step injected into io.gatling.core.structure.ScenarioBuilder

    Attributes
    protected

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from PerftestConfiguration

Inherited from JourneyConfiguration

Inherited from Configuration

Inherited from AnyRef

Inherited from Any

Ungrouped