I am trying to validate GET method API response JSON using Postman. I have tried some of online suggestion but nothing worked for me.
In my testcase i am validating that List tag is showing or not.
There is some condition in backend, if that condition is true then only "List" will show in response. so, I just wanted to verify that if its true then its showing in response.
{
"Documents": [
{
"DocID": "0",
"DocName": "abc",
"DocDescription": "abdDescription",
"DocType": "Document",
"List": [
{
"Name": "Full Name",
"Value": "Tom"
},
{
"Name": "Mo_Number",
"Value": "0001112222"
},
{
"Name": "Address",
"Value": "000111222"
},
{
"Name": "Country",
"Value": "US"
},
{
"Name": "City",
"Value": "NY"
},
{
"Name": "Occupation",
"Value": "Programming"
}
]
}
]
}