import { Session, SessionTo } from "../session"; import { CheckBuilderCaptureGroup } from "./captureGroup"; import { CheckBuilderFind } from "./find"; import { CheckBuilderJsonOfTypeFind } from "./jsonOfTypeFind"; import { CheckBuilderJsonOfTypeMultipleFind } from "./jsonOfTypeMultipleFind"; import { CheckBuilderMultipleFind } from "./multipleFind"; export * from "./builder"; export * from "./captureGroup"; export * from "./condition"; export * from "./final"; export * from "./find"; export * from "./jsonOfTypeFind"; export * from "./jsonOfTypeMultipleFind"; export * from "./multipleFind"; export * from "./validate"; /** * Bootstrap a new bodyString check that extracts the full response message body as a String. * Encoding is either the one provided in the message (eg Content-Type charset attribute in HTTP), * or the one defined in gatling.conf. * * Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error. * * @returns the next DSL step */ export declare const bodyString: () => CheckBuilderFind; /** * Bootstrap a new bodyBytes check that extracts the full response message body as a byte array. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error. * * @returns the next DSL step */ export declare const bodyBytes: () => CheckBuilderFind; /** * Bootstrap a new bodyLength check that extracts the full response message body's binary length. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error. * * @returns the next DSL step */ export declare const bodyLength: () => CheckBuilderFind; export interface SubstringFunction { /** * Bootstrap a new substring check that extracts the indexes of the occurrences of a pattern in * the response's body String. Encoding is either the one provided in the message (eg Content-Type * charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param pattern - the searched pattern, expressed as a Gatling Expression Language String * @returns the next DSL step */ (pattern: string): CheckBuilderMultipleFind; /** * Bootstrap a new substring check that extracts the indexes of the occurrences of a pattern in * the response's body String. Encoding is either the one provided in the message (eg Content-Type * charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param pattern - the searched pattern, expressed as a function * @returns the next DSL step */ (pattern: SessionTo): CheckBuilderMultipleFind; } export declare const substring: SubstringFunction; export interface XpathFunction { /** * Bootstrap a new xpath check that extracts nodes with a XPath from response's body XML document. Encoding is either the one provided * in the message (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param path - the searched path, expressed as a Gatling Expression Language String * @returns the next DSL step */ (path: string): CheckBuilderMultipleFind; /** * Bootstrap a new xpath check that extracts nodes with a XPath from response's body XML document. Encoding is either the one provided * in the message (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param path - the searched path, expressed as a function * @returns the next DSL step */ (path: SessionTo): CheckBuilderMultipleFind; /** * Bootstrap a new xpath check that extracts nodes with a XPath from response's body XML document. Encoding is either the one provided * in the message (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param path - the searched path, expressed as a Gatling Expression Language String * @param namespaces - the XML namespaces * used in the document * @returns the next DSL step */ (path: string, namespaces: Record): CheckBuilderMultipleFind; /** * Bootstrap a new xpath check that extracts nodes with a XPath from response's body XML document. Encoding is either the one provided * in the message (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param path - the searched path, expressed as a function * @param namespaces - the XML namespaces * used in the document * @returns the next DSL step */ (path: SessionTo, namespaces: Record): CheckBuilderMultipleFind; } export declare const xpath: XpathFunction; export interface CssFunction { /** * Bootstrap a new css check that extracts nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a Gatling Expression Language String * @returns the next DSL step */ (selector: string): CheckBuilderMultipleFind; /** * Bootstrap a new css check that extracts nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a function * @returns the next DSL step */ (selector: SessionTo): CheckBuilderMultipleFind; /** * Bootstrap a new css check that extracts nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a Gatling Expression Language String * @param nodeAttribute - the attribute of the selected nodes to capture, if not the node itself * @returns the next DSL step */ (selector: string, nodeAttribute: string): CheckBuilderMultipleFind; /** * Bootstrap a new css check that extracts nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a function * @param nodeAttribute - the attribute of the selected nodes to capture, if not the node itself * @returns the next DSL step */ (selector: SessionTo, nodeAttribute: string): CheckBuilderMultipleFind; } export declare const css: CssFunction; export interface FormFunction { /** * Bootstrap a new form check that extracts an HTML form's input nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a Gatling Expression Language String * @returns the next DSL step */ (selector: string): CheckBuilderMultipleFind>; /** * Bootstrap a new form check that extracts an HTML form's input nodes with a CSS Selector from * response's body HTML document. Encoding is either the one provided in the message (eg * Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @param selector - the searched selector, expressed as a function * @returns the next DSL step */ (selector: SessionTo): CheckBuilderMultipleFind>; } export declare const form: FormFunction; export interface JsonPathFunction { /** * Bootstrap a new jsonPath check that extracts nodes with a JsonPath path from response's body JSON * tree. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a Gatling Expression Language String * @returns the next DSL step */ (path: string): CheckBuilderJsonOfTypeMultipleFind; /** * Bootstrap a new jsonPath check that extracts nodes with a JsonPath path from response's body JSON * tree. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a function * @returns the next DSL step */ (path: (session: Session) => string): CheckBuilderJsonOfTypeMultipleFind; } export declare const jsonPath: JsonPathFunction; export interface JmesPathFunction { /** * Bootstrap a new jmesPath check that extracts nodes with a JMESPath path from response's body JSON tree. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a Gatling Expression Language String * @returns the next DSL step */ (path: string): CheckBuilderJsonOfTypeFind; /** * Bootstrap a new jmesPath check that extracts nodes with a JMESPath path from response's body JSON tree. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a function * @returns the next DSL step */ (path: (session: Session) => string): CheckBuilderJsonOfTypeFind; } export declare const jmesPath: JmesPathFunction; export interface JsonpJsonPathFunction { /** * Bootstrap a new jsonpJsonPath check that extracts nodes with a JsonPath path from response's body JSONP payload. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a Gatling Expression Language String * @returns the next DSL step */ (path: string): CheckBuilderJsonOfTypeMultipleFind; /** * Bootstrap a new jsonpJsonPath check that extracts nodes with a JsonPath path from response's body JSONP payload. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a function * @returns the next DSL step */ (path: (session: Session) => string): CheckBuilderJsonOfTypeMultipleFind; } export declare const jsonpJsonPath: JsonpJsonPathFunction; export interface JsonpJmesPathFunction { /** * Bootstrap a new jsonpJmesPath check that extracts nodes with a JMESPath path from response's body JSON JSONP payload. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a Gatling Expression Language String * @returns the next DSL step */ (path: string): CheckBuilderJsonOfTypeFind; /** * Bootstrap a new jsonpJmesPath check that extracts nodes with a JMESPath path from response's body JSON JSONP payload. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param path - the searched path, expressed as a function * @returns the next DSL step */ (path: (session: Session) => string): CheckBuilderJsonOfTypeFind; } export declare const jsonpJmesPath: JsonpJmesPathFunction; export interface RegexFunction { /** * Bootstrap a new regex check that extracts capture groups with a Java Regular * Expression from response's body String. Encoding is either the one provided in the message * (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param pattern the searched pattern, expressed as a Gatling Expression Language String * @return the next DSL step */ (pattern: string): CheckBuilderCaptureGroup; /** * Bootstrap a new regex check that extracts capture groups with a Java Regular * Expression from response's body String. Encoding is either the one provided in the message * (eg Content-Type charset attribute in HTTP), or the one defined in gatling.conf. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * {@link IllegalArgumentException} * * @param pattern the searched pattern, expressed as a function * @return the next DSL step */ (pattern: (session: Session) => string): CheckBuilderCaptureGroup; } export declare const regex: RegexFunction; /** * Bootstrap a new md5 check that extracts the MD5 * checksum of the response's body. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @returns the next DSL step */ export declare const md5: () => CheckBuilderFind; /** * Bootstrap a new sha1 check that extracts the SHA-1 checksum of the response's body. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @returns the next DSL step */ export declare const sha1: () => CheckBuilderFind; /** * Bootstrap a new responseTimeInMillis check that extracts the response time of the request. * *

Note: On contrary to the Scala DSL, the compiler can't check the availability of this check * type for your protocol. If the protocol you're using doesn't support it, you'll get a runtime * error * * @returns the next DSL step */ export declare const responseTimeInMillis: () => CheckBuilderFind;