Troubleshooting
Problem
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.
[{"Product":{"code":"SSBLQQ","label":"IBM Rational Test Workbench"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Rational Integration Tester","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21643135