title: Postman test - how to search an array for a list of values without defining index
body: <p>I'm trying to create a Postman test, and I have a response which includes an array that returns 50+ values I need to verify, and so far I've been writing a test line item for each.  </p>
  
  <pre><code>var searchJSON = JSON.parse(responseBody);
  tests["check_group_name1"] = /name1/.test(searchJSON.Entity.Group[0].Name);
  tests["check_group_name2"] = /name2/.test(searchJSON.Entity.Group[1].Name);
  tests["check_group_name3"] = /name3/.test(searchJSON.Entity.Group[2].Name);
  </code></pre>
  
  <p>Problem is, if/when this API changes, it will be a nightmare to maintain and update each index value.  </p>
  
  <p>Is there a way to use a loop to verify 50+ values, without depending on each index position in the array?  Is it even possible?</p>
  
  <p>This is what a sample response looks like:</p>
  
  <pre><code>{
   "Entity":{
     "Group": [
       {
        "Name": "name1",
       },
       {
        "Name: "name2",
       },
       {
        "Name: "name3",
       },
     ],
    }
  }
  </code></pre>
  
  <p>Thanks in advance.</p>