title: Postman Test Array inside nested Array
body: <p>I am trying to put assertion inside the postman array. I have try to retrieve array inside array but its having error.</p>
  
  <p>any suggestion will be gently appreciated. </p>
  
  <pre><code>{
    "meta": {
      "code": 200
    },
    "data": [
      [
        {
          "_index": "test",
          "_type": "test",
          "_id": "sdgsdfg",
          "_version": 1,
          "_shards": {
            "total": 2,
            "successful": 1,
            "failed": 0
          },
          "created": true
        },
        {
          "_index": "test",
          "_type": "test",
          "_id": "test",
          "_version": 1,
          "_shards": {
            "total": 2,
            "successful": 1,
            "failed": 0
          },
          "created": true
        },
  
      ]
    ]
  }
  </code></pre>
  
  <p>So far I have tried this but its giving error. </p>
  
  <pre><code>var jsonData = JSON.parse(responseBody);
  
  pm.test("Checking Success Response on Service", function () {
      pm.response.to.have.status(201);
  });
  
  for(var i=0; i&lt; jsonData.data.length ;i++){
  
      for(var j=0; j&lt; jsonData.data[i].length ;j++){
          console.log(jsonData.data[i].j._index);
      }
  }
  </code></pre>
  
  <p><strong>There was an error in evaluating the test script:  TypeError: Cannot read property '_index' of undefined</strong></p>
  
  <p>Please let me know what can be done.</p>