Online Verification Steps¶
Online Verification steps are executed from within intaQt Studio feature files or via intaQt Client. This can be done one of two ways:
-
First using the
copy cdrs
step after all non-verification steps have been executed. -
Have their data extracted using the
extract
data step (optional). -
Be matched against rules in the
run verification
step (optional).
Alternately, the CdrSet Built-in can be used to create CDRs, replacing the CDRs that are created during the scenario execution itself. This is described in the intaQt Manual's Built-ins chapter.
Copy CDRs¶
This step collects CDRs according to the selection criteria specified in the Online Verification Configurations and stores them in a temporary variable.
Syntax
1 2 | copy cdrs matching variables <cdrVariableName String>... from <cdrLocation String> as <temporaryVariable String> |
Parameters
-
cdrVariableName - A variable defined in CdrVerificationVariables. This defines which tickets found during Verification will be saved as a temporary variable and checked against the Verification rules in the
run verification
step. -
cdrLocation - A configuration defined in CdrVerificationFtps. This contains information about where, how and which tickets are selected and saved.
-
temporaryVariable - The name assigned to the temporary variable that holds the found CDRs and their values. This temporary variable is used in the
run verification
step.
Example
1 | And copy cdrs matching variables "mySelection" from "mylocation" as "result" |
Extract Data from CDRs¶
This step extracts data of the ticket property specified by the CDR and the selector. In order for the step to pass, the following must occur:
-
Only a single ticket must be matched by the selector. Otherwise the step will fail.
-
If the ticket property does not exist, the step will fail.
Syntax
1 2 | extract <cdrVariableName Identifier> from cdr <temporaryVariable Identifier> matching <selector Identifier> as <extractedVariable Identifier> |
Parameters
-
cdrVariableName - The variable name defined in CdrVerificationVariables that describes the selector(s).
-
temporaryVariable - The CDR Set's name. This is a temporary variable defined in the
copy cdrs
step, which holds the CDRs to to be extracted. -
selector - The selector defined for the
cdrVariableName
that selects tickets matching its criteria. -
extractedVariable - The name assigned to the variable that will be inserted into the scenario execution context. It holds the values of the extracted ticket properties.
Example
1 2 | And copy cdrs matching variables "MMOVariables" from "cdrLocation" as "myCdrs" And extract Account_ID from cdr myCdrs matching mom as accountIDValue |
Run Verification¶
The run verification step checks the cdr set defined in the copy cdrs
step or by the CdrSet Built-in against a set of rules.
Syntax
1 2 | run verification with cdrs <temporaryVariable String> and rules \ <rulesBlock String>.<CdrVerificationRules Identifier> |
-
temporaryVariable - The variable defined in the
copy cdrs
step, which holds the CDRs to be matched against the rules. -
rulesBlock - A block of rules defined in the CdrVerificationConfiguration that contains a list of configured rules.
-
CdrVerificationRules - The name assigned to a category of specific rules within the
rulesBlock
.
Example
1 2 | And run verification with cdrs "result" and rules "voice".TC_oneCall |