HttpConfiguration

uk.gov.hmrc.performance.conf.HttpConfiguration

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Inherited methods

def hasProperty(property: String): Boolean

Attributes

Inherited from:
Configuration
def keys(property: String): List[String]

Attributes

Inherited from:
Configuration
def readProperty(property: String, default: String): String

Attributes

Inherited from:
Configuration
def readProperty(property: String): String

Attributes

Inherited from:
Configuration
def readPropertyBooleanOption(property: String): Option[Boolean]

Attributes

Inherited from:
Configuration
def readPropertyList(property: String): List[String]

Attributes

Inherited from:
Configuration
def readPropertyOption(property: String): Option[String]

Attributes

Inherited from:
Configuration
def readPropertySet(property: String): Set[String]

Attributes

Inherited from:
Configuration
def readPropertySetOrEmpty(property: String): Set[String]

Attributes

Inherited from:
Configuration

Concrete fields

val httpProtocol: HttpProtocolBuilder

Provides a HttpProtocolBuilder with preset configuration. This configures the HTTP protocol used in Gatling simulation.

Provides a HttpProtocolBuilder with preset configuration. This configures the HTTP protocol used in Gatling simulation.

https://gatling.io/docs/3.4/http/http_protocol/

Configurations to note:

True-Client-IP: Set to java.util.Random() value injected in the Gatling session during JourneySetup.journeys. This value can be used to trace requests injected through the performance-test-runner library.

disableFollowRedirect: Disables Gatling from following redirect automatically.This means the users of the library should make explicit redirect requests. https://gatling.io/docs/3.4/http/http_protocol/#response-handling-parameters

Users of the library can override this default configuration by overriding val httpProtocol when extending PerformanceTestRunner trait.

Attributes

Inherited fields

lazy val applicationConfig: Config

Attributes

Inherited from:
Configuration
lazy val runLocal: Boolean

Attributes

Inherited from:
Configuration