IBM Support

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

Technote (troubleshooting)


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


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=


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.

Document information

More support for: Rational Test Workbench
Rational Integration Tester

Software version: 8.5

Operating system(s): Windows

Reference #: 1643135

Modified date: 08 July 2013

Translate this page: