title: Jmeter JSON Path Assertion
body: <p>Below is my JSON response data, I need to do assertion using the below response. I tried in many ways to write JSON path &amp; Expected Value. Always assertion fails. What I want is please help to write the path and expected value for the below data</p>
  
  <pre><code>{
      "statusCode": 200,
      "statusMessage": "Success",
      "errorMessage": "",
      "responseData": {
          "id": 15,
          "userName": "partner@tarento.com",
          "firstName": "tarento",
          "lastName": "test1",
          "phoneNumber": "1234567812",
          "email": "partner@tarento.com",
          "password": "",
          "city": "",
          "agentList": [
              {
                  "id": 37,
                  "userName": "Rahul.antonyRaj@tarento.com",
                  "firstName": "Sanjay",
                  "lastName": "rahul",
                  "phoneNumber": "7411269480",
                  "email": "Rahul.antonyRaj@tarento.com",
                  "password": "",
                  "active": true
              },
              {
                  "id": 68,
                  "userName": "jinesh.sumedhan@tareto.com",
                  "firstName": "jinesh",
                  "lastName": "sumedhan",
                  "phoneNumber": "9400993826",
                  "email": "jinesh.sumedhan@tareto.com",
                  "password": "",
                  "active": true
              },
              {
                  "id": 108,
                  "userName": "a.sanjayrahul@gmail.com",
                  "firstName": "Rahul",
                  "lastName": "Antony",
                  "phoneNumber": "9994590241",
                  "email": "a.sanjayrahul@gmail.com",
                  "password": "",
                  "active": true
              },
              {
                  "id": 304,
                  "userName": "a.sanjayrajish@gmail.com",
                  "firstName": "Agent",
                  "lastName": "Agent",
                  "phoneNumber": "9025699716",
                  "email": "a.sanjayrajish@gmail.com",
                  "password": "",
                  "active": true
              }
          ],
          "roleName": "admin",
          "sessionKey": "435tnerLt9813942160478oDse46345635#1",
          "partner": {
              "id": 1,
              "name": "Tarento",
              "cityList": [
                  "bangalore",
                  "mumbai"
              ],
              "phone": "1234567812",
              "url": ""
          },
          "isActive": true,
          "isDeleted": false,
          "roleId": 1,
          "countryCode": "",
          "tags": [
              {
                  "tagId": 1,
                  "name": "all",
                  "description": "this is default tag of all driver."
              },
              {
                  "tagId": 2,
                  "name": "airport",
                  "description": ""
              },
              {
                  "tagId": 3,
                  "name": "street",
                  "description": "any text message"
              },
              {
                  "tagId": 255,
                  "name": "night",
                  "description": "night"
              }
          ]
      }
  }
  </code></pre>
  
  <p>I received the following response</p>
  
  <p><img src="https://i.stack.imgur.com/XXwcM.png" alt=""></p>
  
  <p><img src="https://i.stack.imgur.com/mk1fi.png" alt=""></p>