The response would be like below, but for a valid check, only need to seek for "error": null.
body: '{"error" : null*}' doesn't work as expected. How to set correctly for matching above requirements?
{
"error" : null,
"results" : [ {
"Id" : {
"id" : "46245745375425",
"metadata" : { },
"valid" : true
},
"key" : {
"Type" : "grok.DerivedMktDataUFO.YieldCurveKey",
"currently" : "U",
"cType" : "Q",
"frequency" : "2s",
"index" : "X2"
},
"objectType" : "834721935598",
"subTag" : "Ldn",
"tag" : "wfawfd0213",
"transId" : "R922ff942",
"updatedBy" : "sdsdfid",
"userId" : "adsfghgh",
"validFrom" : "2020-02-13T19:33:46.574",
"validTo" : "2030-01-01T00:00:00.000"
} ]
}