I have a response from the api using karate framework which is some thing like this..
{
"name": "xyz.json",
"fileSize": "391 B",
"timestamp": "2020-06-22 12:03:00 GMT",
"tag": "abc1"
},
{
"name": "abc.json",
"fileSize": "391 B",
"timestamp": "2020-06-22 12:03:01 GMT",
"tag": "abc2"
},
now from the above response how do i validate the "timestamp" field i.e. of the 2 timestamp values which is the latest so that i can pick up the corresponding json file from the name field.