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.
- Alphabetic
- By Inheritance
- HttpRequestActionBuilder
- RequestWithBodyActionBuilder
- RequestActionBuilder
- ActionBuilder
- Executable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HttpRequestActionBuilder(wrapped: HttpRequestBuilder)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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()
- 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()
- def asScala(): ActionBuilder
- Definition Classes
- HttpRequestActionBuilder → ActionBuilder
- Annotations
- @Override()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- def check(checks: List[CheckBuilder]): HttpRequestActionBuilder
Apply some checks
Apply some checks
- checks
the checks
- returns
a new HttpRequestActionBuilder instance
- Annotations
- @NonNull()
- def check(checks: <repeated...>[CheckBuilder]): HttpRequestActionBuilder
Apply some checks
Apply some checks
- checks
the checks
- returns
a new HttpRequestActionBuilder instance
- Annotations
- @NonNull()
- 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
- 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()
- 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()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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()
- 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()
- 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()
- 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()
- def disableFollowRedirect(): HttpRequestActionBuilder
Disable automatic redirect following
Disable automatic redirect following
- returns
a new HttpRequestActionBuilder instance
- Annotations
- @NonNull()
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make(f: Function[HttpRequestBuilder, HttpRequestBuilder]): HttpRequestActionBuilder
- Attributes
- protected[http]
- Definition Classes
- HttpRequestActionBuilder → RequestActionBuilder
- Annotations
- @Override()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toChainBuilder(): ChainBuilder
- Definition Classes
- ActionBuilder → Executable
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()