I have an application that uses an API to retrieve data to display to the user in a chart.
I would like to use Postman to ensure the data being returned is consistent over time ( eg value A for July 21, 11:05 pm is the same today as it was originally) as we have had database issues previously.
The data is included in a number of nested objects and comprise just one portion of the API return. I don’t want to compare the entire JSON as there is continuing development on this project that will likely affect some of these other objects and arrays.
I thought there might be some type of JSON.includes function but as of yet cannot find. See screenshot with a portion of the sample JSON with the portion I want to include in the assertion highlighted in yellow.