c

io.gatling.javaapi.http

HttpRequestActionBuilder

final class HttpRequestActionBuilder extends RequestWithBodyActionBuilder[HttpRequestActionBuilder, HttpRequestBuilder]

DSL for building HTTP requests configurations

Immutable, so all methods return a new occurrence and leave the original unmodified.

Linear Supertypes
RequestWithBodyActionBuilder[HttpRequestActionBuilder, HttpRequestBuilder], RequestActionBuilder[HttpRequestActionBuilder, HttpRequestBuilder], ActionBuilder, Executable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpRequestActionBuilder
  2. RequestWithBodyActionBuilder
  3. RequestActionBuilder
  4. ActionBuilder
  5. Executable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpRequestActionBuilder(wrapped: HttpRequestBuilder)

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. def asFormUrlEncoded(): HttpRequestActionBuilder

    Set the content-type header for form-urlencoding body.

    Set the content-type header for form-urlencoding body.

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asJson(): HttpRequestActionBuilder

    Set the content-type header for JSON

    Set the content-type header for JSON

    returns

    a new DSL instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  7. def asMultipartForm(): HttpRequestActionBuilder

    Set the content-type header for multipart body.

    Set the content-type header for multipart body.

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  8. def asScala(): ActionBuilder
    Definition Classes
    HttpRequestActionBuilder → ActionBuilder
    Annotations
    @Override()
  9. def asXml(): HttpRequestActionBuilder

    Set the content-type header for XML

    Set the content-type header for XML

    returns

    a new DSL instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  10. def basicAuth(username: Function[Session, String], password: Function[Session, String]): HttpRequestActionBuilder

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  11. def basicAuth(username: Function[Session, String], password: String): HttpRequestActionBuilder

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  12. def basicAuth(username: String, password: Function[Session, String]): HttpRequestActionBuilder

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  13. def basicAuth(username: String, password: String): HttpRequestActionBuilder

    Set the authorization header for Basic Auth

    Set the authorization header for Basic Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  14. def body(body: Body): HttpRequestActionBuilder

    Define a request body

    Define a request body

    body

    the request body

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  15. def bodyPart(part: BodyPart): HttpRequestActionBuilder

    Set a multipart body part

    Set a multipart body part

    part

    the part

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  16. def bodyParts(parts: List[BodyPart]): HttpRequestActionBuilder

    Set multiple multipart body parts

    Set multiple multipart body parts

    parts

    the parts

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  17. def bodyParts(parts: <repeated...>[BodyPart]): HttpRequestActionBuilder

    Set multiple multipart body parts

    Set multiple multipart body parts

    parts

    the parts

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  18. def check(checks: List[CheckBuilder]): HttpRequestActionBuilder

    Apply some checks

    Apply some checks

    checks

    the checks

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  19. def check(checks: <repeated...>[CheckBuilder]): HttpRequestActionBuilder

    Apply some checks

    Apply some checks

    checks

    the checks

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  20. def checkIf(condition: BiFunction[Response, Session, Boolean]): TypedCondition

    Apply some checks if some condition holds true

    Apply some checks if some condition holds true

    condition

    the condition, expressed as a function, aware of the Response and the Session

    returns

    the next DSL step

  21. def checkIf(condition: Function[Session, Boolean]): UntypedCondition

    Apply some checks if some condition holds true

    Apply some checks if some condition holds true

    condition

    the condition, expressed as a function

    returns

    the next DSL step

    Annotations
    @NonNull()
  22. def checkIf(condition: String): UntypedCondition

    Apply some checks if some condition holds true

    Apply some checks if some condition holds true

    condition

    the condition, expressed as a Gatling Expression Language String

    returns

    the next DSL step

    Annotations
    @NonNull()
  23. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  24. def digestAuth(username: Function[Session, String], password: Function[Session, String]): HttpRequestActionBuilder

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  25. def digestAuth(username: Function[Session, String], password: String): HttpRequestActionBuilder

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a function

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  26. def digestAuth(username: String, password: Function[Session, String]): HttpRequestActionBuilder

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  27. def digestAuth(username: String, password: String): HttpRequestActionBuilder

    Set the authorization header for Digest Auth

    Set the authorization header for Digest Auth

    username

    the username, expressed as a Gatling Expression Language String

    password

    the password, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  28. def disableFollowRedirect(): HttpRequestActionBuilder

    Disable automatic redirect following

    Disable automatic redirect following

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  29. def disableUrlEncoding(): HttpRequestActionBuilder

    Disable the automatic url encoding that tries to detect unescaped reserved chars

    Disable the automatic url encoding that tries to detect unescaped reserved chars

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def form(map: Function[Session, Map[String, AnyRef]]): HttpRequestActionBuilder

    Set a form, typically captured from a form check

    Set a form, typically captured from a form check

    map

    the form inputs, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  33. def form(form: String): HttpRequestActionBuilder

    Set a form, typically captured from a form check

    Set a form, typically captured from a form check

    form

    the form inputs, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  34. def formParam(key: Function[Session, String], value: Function[Session, AnyRef]): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter value, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  35. def formParam(key: String, value: Function[Session, AnyRef]): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter value, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  36. def formParam(key: Function[Session, String], value: AnyRef): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter static value

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  37. def formParam(key: String, value: AnyRef): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter static value

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  38. def formParam(key: Function[Session, String], value: String): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a function

    value

    the parameter value, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  39. def formParam(key: String, value: String): HttpRequestActionBuilder

    Set an HTML form parameter

    Set an HTML form parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    value

    the parameter value, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  40. def formParamMap(map: Function[Session, Map[String, AnyRef]]): HttpRequestActionBuilder

    Set multiple form parameters

    Set multiple form parameters

    map

    the parameters, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  41. def formParamMap(map: Map[String, AnyRef]): HttpRequestActionBuilder

    Set multiple form parameters

    Set multiple form parameters

    map

    the static parameters

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  42. def formParamSeq(seq: Function[Session, List[Entry[String, AnyRef]]]): HttpRequestActionBuilder

    Set multiple form parameters

    Set multiple form parameters

    seq

    the parameters, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  43. def formParamSeq(seq: List[Entry[String, AnyRef]]): HttpRequestActionBuilder

    Set multiple form parameters

    Set multiple form parameters

    seq

    the static parameters

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  44. def formUpload(name: Function[Session, String], filePath: Function[Session, String]): HttpRequestActionBuilder

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a function

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  45. def formUpload(name: String, filePath: Function[Session, String]): HttpRequestActionBuilder

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a Gatling Expression Language String

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  46. def formUpload(name: Function[Session, String], filePath: String): HttpRequestActionBuilder

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a function

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  47. def formUpload(name: String, filePath: String): HttpRequestActionBuilder

    Set a form file upload

    Set a form file upload

    name

    the name of the file part, expressed as a Gatling Expression Language String

    filePath

    the path of the file, either relative to the root of the classpath, or absolute, expressed as a Gatling Expression Language String

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  48. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  50. def header(name: CharSequence, value: Function[Session, String]): HttpRequestActionBuilder

    Set a header

    Set a header

    name

    the static header name

    value

    the header value, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  51. def header(name: CharSequence, value: String): HttpRequestActionBuilder

    Set a header

    Set a header

    name

    the static header name

    value

    the header value, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  52. def headers(headers: Map[_ <: CharSequence, String]): HttpRequestActionBuilder

    Set multiple headers

    Set multiple headers

    headers

    the headers, names are static but values are expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  53. def ignoreProtocolChecks(): HttpRequestActionBuilder

    Have this request ignore the common checks defined on the HTTP protocol configuration

    Have this request ignore the common checks defined on the HTTP protocol configuration

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  54. def ignoreProtocolHeaders(): HttpRequestActionBuilder

    Ignore common headers set in the Http protocol configuration

    Ignore common headers set in the Http protocol configuration

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def make(f: Function[HttpRequestBuilder, HttpRequestBuilder]): HttpRequestActionBuilder
    Attributes
    protected[http]
    Definition Classes
    HttpRequestActionBuilderRequestActionBuilder
    Annotations
    @Override()
  57. def multivaluedFormParam(key: Function[Session, String], values: Function[Session, List[AnyRef]]): HttpRequestActionBuilder

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a function

    values

    the parameter values, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  58. def multivaluedFormParam(key: String, values: Function[Session, List[AnyRef]]): HttpRequestActionBuilder

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the parameter values, expressed as a function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  59. def multivaluedFormParam(key: Function[Session, String], values: List[AnyRef]): HttpRequestActionBuilder

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a function

    values

    the static parameter values

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  60. def multivaluedFormParam(key: String, values: String): HttpRequestActionBuilder

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the parameter values, as a Gatling EL string

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  61. def multivaluedFormParam(key: String, values: List[AnyRef]): HttpRequestActionBuilder

    Set an HTML form multivalued parameter

    Set an HTML form multivalued parameter

    key

    the parameter key, expressed as a Gatling Expression Language String

    values

    the static parameter values

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  62. def multivaluedQueryParam(name: Function[Session, String], values: Function[Session, List[AnyRef]]): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the list of values of the parameter, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  63. def multivaluedQueryParam(name: String, values: Function[Session, List[AnyRef]]): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the list of values of the parameter, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  64. def multivaluedQueryParam(name: Function[Session, String], values: String): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the list of values of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  65. def multivaluedQueryParam(name: String, values: String): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the list of values of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  66. def multivaluedQueryParam(name: Function[Session, String], values: List[AnyRef]): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a function

    values

    the static list of values of the parameter

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  67. def multivaluedQueryParam(name: String, values: List[AnyRef]): HttpRequestActionBuilder

    Set a multivalued query parameter

    Set a multivalued query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    values

    the static list of values of the parameter

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. def notSilent(): HttpRequestActionBuilder

    Instruct the reporting engine to forcefully report stats about this request, ignoring HTTP protocol configuration

    Instruct the reporting engine to forcefully report stats about this request, ignoring HTTP protocol configuration

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  70. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  72. def processRequestBody(processor: Function[Body, _ <: Body]): HttpRequestActionBuilder

    Define to transform the request body before writing it on the wire

    Define to transform the request body before writing it on the wire

    processor

    the processing function

    returns

    a new HttpRequestActionBuilder instance

    Definition Classes
    RequestWithBodyActionBuilder
    Annotations
    @NonNull()
  73. def proxy(proxy: Proxy): HttpRequestActionBuilder

    Define a Proxy to be used for this request

    Define a Proxy to be used for this request

    proxy

    the proxy

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  74. def queryParam(name: Function[Session, String], value: Function[Session, AnyRef]): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the value of the parameter, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  75. def queryParam(name: String, value: Function[Session, AnyRef]): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the value of the parameter, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  76. def queryParam(name: Function[Session, String], value: AnyRef): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the static value of the parameter

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  77. def queryParam(name: String, value: AnyRef): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the static value of the parameter

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  78. def queryParam(name: Function[Session, String], value: String): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a function

    value

    the value of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  79. def queryParam(name: String, value: String): HttpRequestActionBuilder

    Set some query parameter

    Set some query parameter

    name

    the name of the parameter, expressed as a Gatling Expression Language String

    value

    the value of the parameter, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  80. def queryParamMap(map: Function[Session, Map[String, AnyRef]]): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    map

    a Map of query params, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  81. def queryParamMap(map: String): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    map

    a Map of query params, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  82. def queryParamMap(map: Map[String, AnyRef]): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    map

    a static Map of query params

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  83. def queryParamSeq(seq: Function[Session, List[Entry[String, AnyRef]]]): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    seq

    a List of query params, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  84. def queryParamSeq(seq: String): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    seq

    a List of query params, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  85. def queryParamSeq(seq: List[Entry[String, AnyRef]]): HttpRequestActionBuilder

    Set multiple query params

    Set multiple query params

    seq

    a static List of query params

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  86. def requestTimeout(timeout: Duration): HttpRequestActionBuilder

    Override the default request timeout defined in gatling.conf

    Override the default request timeout defined in gatling.conf

    timeout

    the timeout

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  87. def requestTimeout(timeout: Int): HttpRequestActionBuilder

    Override the default request timeout defined in gatling.conf

    Override the default request timeout defined in gatling.conf

    timeout

    the timeout in seconds

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  88. def resources(res: List[HttpRequestActionBuilder]): HttpRequestActionBuilder

    Set some resources to be fetched concurrently after the main request.

    Set some resources to be fetched concurrently after the main request. Next action in the Scenario will be performed once all resources are fetched.

    res

    the resources

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  89. def resources(res: <repeated...>[HttpRequestActionBuilder]): HttpRequestActionBuilder

    Set some resources to be fetched concurrently after the main request.

    Set some resources to be fetched concurrently after the main request. Next action in the Scenario will be performed once all resources are fetched.

    res

    the resources

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  90. def sign(calculator: BiFunction[Request, Session, Request]): HttpRequestActionBuilder

    Provide a function to sign the requests before writing them on the wire.

    Provide a function to sign the requests before writing them on the wire. This version provides access to the session.

    calculator

    the signing function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  91. def sign(calculator: Function[Request, Request]): HttpRequestActionBuilder

    Provide a function to sign the requests before writing them on the wire

    Provide a function to sign the requests before writing them on the wire

    calculator

    the signing function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  92. def signWithOAuth1(consumerKey: Function[Session, String], clientSharedSecret: Function[Session, String], token: Function[Session, String], tokenSecret: Function[Session, String]): HttpRequestActionBuilder

    Instruct sign the request with OAuth1 before writing it on the wire

    Instruct sign the request with OAuth1 before writing it on the wire

    consumerKey

    the consumerKey, expressed as a function

    clientSharedSecret

    the clientSharedSecret, expressed as a function

    token

    the token, expressed as a function

    tokenSecret

    the tokenSecret, expressed as a function

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  93. def signWithOAuth1(consumerKey: String, clientSharedSecret: String, token: String, tokenSecret: String): HttpRequestActionBuilder

    Instruct sign the request with OAuth1 before writing it on the wire

    Instruct sign the request with OAuth1 before writing it on the wire

    consumerKey

    the consumerKey, expressed as a Gatling Expression Language String

    clientSharedSecret

    the clientSharedSecret, expressed as a Gatling Expression Language String

    token

    the token, expressed as a Gatling Expression Language String

    tokenSecret

    the tokenSecret, expressed as a Gatling Expression Language String

    returns

    a new DSL instance

    Definition Classes
    RequestActionBuilder
    Annotations
    @NonNull()
  94. def silent(): HttpRequestActionBuilder

    Instruct the reporting engine to not report stats about this request

    Instruct the reporting engine to not report stats about this request

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  95. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  96. def toChainBuilder(): ChainBuilder
    Definition Classes
    ActionBuilder → Executable
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. def transformResponse(f: BiFunction[Response, Session, Response]): HttpRequestActionBuilder

    Define a transformation on the response before applying the checks.

    Define a transformation on the response before applying the checks.

    f

    the transformation

    returns

    a new HttpRequestActionBuilder instance

    Annotations
    @NonNull()
  99. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

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 RequestWithBodyActionBuilder[HttpRequestActionBuilder, HttpRequestBuilder]

Inherited from RequestActionBuilder[HttpRequestActionBuilder, HttpRequestBuilder]

Inherited from ActionBuilder

Inherited from Executable

Inherited from AnyRef

Inherited from Any

Ungrouped