user manual
SilkPerformer Java Explorer User Guide 37
3 S
ETTING UP TESTS
Defining Output Value Verifications
Note See “Verification with NULL or variable” for details regarding
this selection.
-Select Constant Value to verify that the value exactly matches a
constant string.
- If you are verifying against a string value you can verify against a
Regular expression.
- If you are verifying numeric values, you can select Range to verify
that the value is within a specified range (using the From and To
fields).
3 In the Severity field, select the severity of error that should be thrown if
the verification fails. The following severity options are available:
- Success, no error
No error is thrown
- Informational
An informational message is logged
- Warning
A warning is thrown
- Error, simulation continues
An error is thrown, but the simulation continues
- Error, the active test case is aborted
An error is thrown, the simulation continues, however the active test
case is aborted (i.e., a transaction exit severity in SilkPerformer)
- Error, the simulation is aborted
An error is thrown and the simulation is aborted
- Custom
A section is inserted into the Java code where the developer can
insert special error handling code