Solved
Forum Discussion
austino
Contributor
JSON can return just an integer, (20), it doesn't have to be (20.0). What they did with your fix was just added .0 to the end of everything, so that's why my assertions broke. Before this update, the raw response and the outline were returning (20)
blade
9 years agoOccasional Contributor
If I use another tool like postman, the Raw Response is always displaying 0.0 for me. This is the value that I assert against. In the JSON View (Pretty Print as they call it) in postman it displays as 0. This currently matches with Ready API 1.5.0 behaviour. We could wait for a reply from smartbear and see if it would be possible to have a config setting in preferences to assert against the Raw Response or the JSON View.
Related Content
- 8 months agoMW_Didata