Previous Topic: Ensure Properties Are Equal AssertionNext Topic: File Watcher Assertion


Assert on Invocation Exception Assertion

The Assert on Invocation Exception assertion lets you alter the test flow, in regard to the occurrence of a Java exception. The assertion asserts true if a specific Java exception is returned in the response.

Complete the following fields:

Name

Defines the name of the assertion.

Log

Identifies event text to print if the assertion fires.

Assert

Select the behavior of the assertion using the option buttons.

Execute

Select the step to redirect to if the assertion fires.

Expression

The expression to search for in the invocation exception. The expression can be a regular expression. The expression '.*' is common.