Comparison component

This is the basic of any logic ✔️

You can see the comparison component in:

  • Scenario steps:

    • Condition step;

    • Search step;

  • Settings of scheduled scenario start;

  • Filters, Security Layers in API endpoint settings;

  • Filters and post-filters in Report settings.

Note that there is also a data-type—operator;

Here is a standard Directual comparison component:

The list of operators

There are following operators (lets compare A and B):




>, <, >=, <=, ==, !=

Standard operators: more; less; more or equal; less or equal; equal; not equal.

Compares different data types.

A > B

// true for A=5, B = 3;

A == B

// true for A = 5, B = '5' (A is number, B is string type


B is an array and contains A

A in B

// true for A = 1, B = 2,3,1,5

equalsDate, equalsDateTime

A is date, B may be string, operator convert it to a date in YYYY-MM-DDTHH:mm:SS+Z format.

equalsDate compares year+month+date.

equalsDateTime requires the full conformity.

A equalsDate B

// true for A = 2020-04-01T12:00, B = 2020-04-21T21:10


String B contains string A, not paying attention to lower case / upper case.

Acts as a lightweight RegExp

A like B

// true for A = 'hello', B = 'Mike developed: Hello, world!'


Regular expression, or regExp is a sequence of characters that define a search pattern.

Explore details and examples in RegExp article


Compares A and NULL (empty field)

A isNotNull

// false for A = '', true for A = 'hello'


Checks if A is empty

A isEmpty

// false for A = 'hello', true for A = ''


A id an Array and B is an array. arrayContainsAnymeans that we can find at least one element of B among elements of A

A arrayContainsAny B

// true for A = 1,2,3 and B = 4,3,0,a (2 is a common element)


A id an Array and B is an array. arrayContainsAllmeans that we can find all the elements of B among elements of A

A arrayContainsAny B

// true for A = 1,2,3 and B = 2,3

// false for A = 1,2,3 and B = 2,0