I am attempting to validate an XML response in SoapUI.
The response field in question looks exactly like this:
<amount>5225.00</amount>
I created an assertion to verify the amount as 5225.00 but am getting the error:
"Expecting [5225.00], actual was [5225]"
Because the amount field is supposed to return a dollar amount I do want to verify cents are included even when 0. The response is returning "5225.00". Why is SoapUI not correctly identifying this?
No comments:
Post a Comment