Test Case execution passes even though the Assert function shows failed results under Rational Integration Tester

Technote (troubleshooting)


Problem(Abstract)

Attempts to execute an assert function fails revealing the pass status of Test cases under IBM Rational Integration Tester (RIT).

Symptom

The full error message is as follows:

Assertion failed: eq(xpath("%%FIELD/VALUE%%", "count(/root/child)",1) evaluated as eq(xpath("Test={text={getuser__OUTPUT__EJB3UserControlBean_getUserResponse=


Cause

The assert function is placed on the Text (Message) node which does not contain any payload.

Resolving the problem

Move the assert function off from the Text (Message) node and place it on the "Text (String)" node as this contains the actual payload.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Test Workbench
Rational Integration Tester

Software version:

8.5

Operating system(s):

Windows

Reference #:

1643135

Modified date:

2013-07-08

Translate my page

Machine Translation

Content navigation