just finished diving deeper into how to actually
validate what the api is spitting back. anyone else feel like just checking a status code is basically
useless a waste of time? if u aren't using
hamcrest matchers to verify the actual data structure and business logic, ur tests aren't really doing smth. i've been focusing on making sure the response body matches the expected schema exactly so nothing breaks downstream.
>the real magic happens in the deep assertionsit makes the automation much more robust against unexpected changes. **does anyone else find writing these assertions a massive headache when the json is nested five levels deep
link:
https://dzone.com/articles/rest-assured-response-verification