Hi @alejandroescribano similar to @thefierycoder code you can try to add the below assertion to get the version and status
for (var i=0; i<resp.statuses.length; i++)
{pm.test("Checking Version" , function () { pm.expect(resp.statuses[i].version).to.be.oneOf([1,2]); }); pm.test("Checking Status" , function () { pm.expect(resp.statuses[i].status).to.be.oneOf(["CCCCC","JJJJJ"]); });
}
You can view the Chai Assertion Library to view more assertions syntax to get your work done.