TommyTester
9 years agoOccasional Contributor
Message Content Assertion - Node Missing
I am using a Message Content Assertion to verify data returned in a response against a data source.
Some of the elements that are returned aren't compulsory and are not always populated, e.g. <tns2:middlename/>
However, in the data source (Excel), this is a blank cell.
If the data source field is blank, i.e. no middle name, then I receive the error "Node Missing" on the response.
How can I get around elements not being mandatory?