# Verify content in the response

**URL:** <https://community.postman.com/t/verify-content-in-the-response/34437>\
**Category:** Help Hub\
**Tags:** json\
**Created:** [April 12, 2022, 1:41pm UTC](https://community.postman.com/t/verify-content-in-the-response/34437 "2022-04-12T13:41:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![automationtester2496](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@automationtester2496](https://community.postman.com/u/automationtester2496)\
**Post date:** [May 2, 2022, 5:01pm UTC](https://community.postman.com/t/verify-content-in-the-response/34437/4 "2022-05-02T17:01:19Z")

</div>

@w4dd325 is there anyway to loop through the objects in the response body, to solve the following issue?

> [@Running a collection with a Json file](https://community.postman.com/t/running-a-collection-with-a-json-file/34890):
>
> I am trying to pass data from a JSON file, which has two data objects. In the test script in postman I select them through index positions. But when I run the tests through the runner I see the first iteration passes but in the output it would run the second index data which would show as failed. Is there anyway in the test output to not show the second tests under the first iteration results? This is the actual response from the API This is the json file I upload to the…

---

_[View the full topic](https://community.postman.com/t/verify-content-in-the-response/34437)._
