UNPKG

@gatling.io/core

Version:

Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).

32 lines (31 loc) 1.14 kB
import { CheckBuilder } from "./builder"; import JvmCheckBuilderFinal = io.gatling.javaapi.core.CheckBuilder$Final; /** * Last step of the Check DSL Immutable, so all methods return a new occurrence and leave the * original unmodified. */ export interface CheckBuilderFinal extends CheckBuilder { /** * Provide a custom name for the check, to be used in case of a failure * * @param n - the name * @returns a new CheckBuilderFinal */ name(n: string): CheckBuilderFinal; /** * Override the default behavior for this check and log or not the actual value in the error * message when the check fails * * @param b - true to log the actual value * @returns a new Final */ logActualValueInError(b: boolean): CheckBuilderFinal; /** * Save the extracted value in the virtual user's Session * * @param key - the key to store the extracted value in the Session * @returns a new CheckBuilderFinal */ saveAs(key: string): CheckBuilderFinal; } export declare const wrapCheckBuilderFinal: (_underlying: JvmCheckBuilderFinal) => CheckBuilderFinal;