Error found while validating JSON response body using Jmeter JSON path extractor
<p>Below is the response code:</p>

<pre><code>{
 "responseCode":600,
 "message":"Levels",
 "responseObject":
  [
   {
   "createdBy":1,
  "hierarchyText":"COUNTRY",
   "level":1
  },
 {
  "createdBy":1,
 "hierarchyText":"REGION",
   "level":2
  },
  ]
}
</code></pre>

<p>My regular expression is : <code>$.responseObject.createdBy[*].hierarchyText[1]</code>
but it's failed in jmeter saying text not found. Null value fetched. </p>

<p><a href="https://i.stack.imgur.com/I8faM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I8faM.png" alt="enter image description here"></a></p>