Create Comparison Rule

Makes a rule that leaves matching text, such as dates or ids, out of a comparison.

Behaviour

Risk: None · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package Testing activities VeloPhex.Testing.Activities 0.7.1-rc.7 · Supported (Core profile) · type id velophex.testing.createComparisonRule

Properties#

Input#

Rule Name#

RuleName · String · Required · Default: Not specified in package metadata

The rule's name, and its placeholder when Use Placeholder is set.

Rule Type#

RuleType · String · Optional · Default: Regex

A regular expression, or a wildcard pattern where * is any run of characters and ? one character.

Allowed values: Regex, Wildcard.

Pattern#

Pattern · String · Required · Default: Not specified in package metadata

What to leave out of the comparison.

Use Placeholder#

UsePlaceholder · Boolean · Optional · Default: Not specified in package metadata

Replace each match with {Rule Name} instead of removing it.

Output#

Comparison Rule#

ComparisonRule · ComparisonRule · Output

The rule, for the Rules of a Compare activity.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.Testing.Activities 0.7.1-rc.7. Category: Testing. Keywords: compare, rule, ignore, exclude, regex, wildcard, mask.

Properties

Input

Output

Retry and risk

Related activities