Hyperfoil

fail

Fail the phase with given message. Used mostly for testing/debugging.

Property Type Description
allConditions Builder Condition combining multiple other conditions with ‘AND’ logic.
boolCondition Builder Condition comparing boolean variables.
intCondition Builder Condition comparing integer variables.
message String Message attached to the failure exception.
stringCondition Builder Condition comparing string variables.

allConditions

Property Type Description
<list of mappings> <list of builders> <no description>

allConditions.<list of mappings>

Property Type Description
allConditions Builder Condition combining multiple other conditions with ‘AND’ logic.
boolCondition Builder Condition comparing boolean variables.
intCondition Builder Condition comparing integer variables.
stringCondition Builder Condition comparing string variables.

allConditions.<list of mappings>.allConditions

Property Type Description
<list of mappings> <list of builders> <no description>

allConditions.<list of mappings>.boolCondition

Property Type Description
fromVar <unknown> <no description>
value <unknown> <no description>

allConditions.<list of mappings>.intCondition

Condition comparing integer in session variable.

Property Type Description
equalTo int Compared variable must be equal to this value.
fromVar Object Variable name.
greaterOrEqualTo int Compared variable must be greater or equal to this value.
greaterThan int Compared variable must be greater than this value.
isSet boolean Check if the value is set or unset. By default the variable must be set.
lessOrEqualTo int Compared variable must be lower or equal to this value.
lessThan int Compared variable must be lower than this value.
notEqualTo int Compared variable must not be equal to this value.

allConditions.<list of mappings>.stringCondition

Property Type Description
caseSensitive boolean True if the case must match, false if the check is case-insensitive.
endsWith CharSequence Suffix for the string.
equalTo CharSequence Literal value the string should match (the same as {@link #value}).
fromVar <unknown> <no description>
isSet boolean Check if the value is set or unset. By default the variable must be set.
matchVar String Fetch the value from a variable.
negate boolean Invert the logic of this condition. Defaults to false.
notEqualTo CharSequence Value that the string must not match.
self <none>
Note: property does not have any value
startsWith CharSequence Prefix for the string.
value CharSequence Literal value the string should match.

boolCondition

Property Type Description
fromVar <unknown> <no description>
value <unknown> <no description>

intCondition

Condition comparing integer in session variable.

Property Type Description
equalTo int Compared variable must be equal to this value.
fromVar Object Variable name.
greaterOrEqualTo int Compared variable must be greater or equal to this value.
greaterThan int Compared variable must be greater than this value.
isSet boolean Check if the value is set or unset. By default the variable must be set.
lessOrEqualTo int Compared variable must be lower or equal to this value.
lessThan int Compared variable must be lower than this value.
notEqualTo int Compared variable must not be equal to this value.

stringCondition

Property Type Description
caseSensitive boolean True if the case must match, false if the check is case-insensitive.
endsWith CharSequence Suffix for the string.
equalTo CharSequence Literal value the string should match (the same as {@link #value}).
fromVar <unknown> <no description>
isSet boolean Check if the value is set or unset. By default the variable must be set.
matchVar String Fetch the value from a variable.
negate boolean Invert the logic of this condition. Defaults to false.
notEqualTo CharSequence Value that the string must not match.
self <none>
Note: property does not have any value
startsWith CharSequence Prefix for the string.
value CharSequence Literal value the string should match.