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):
Operator | Description | Example |
>, <, >=, <=, ==, != | Standard operators: more; less; more or equal; less or equal; equal; not equal. Compares different data types. |
|
in | B is an array and contains A |
|
equalsDate, equalsDateTime | A is date, B may be string, operator convert it to a date in
|
|
like | String B contains string A, not paying attention to lower case / upper case. Acts as a lightweight |
|
regExp | Regular expression, or | Explore details and examples in RegExp article |
isNotNull | Compares A and NULL (empty field) |
|
isEmpty | Checks if A is empty |
|
arrayContainsAny | A id an Array and B is an array. |
|
arrayContainsAll | A id an Array and B is an array. |
|
Last updated