Hi all,
I implemented a test like:
pm.test(āHas lastModifiedDateTime and IDā, function () {
var jsonData = pm.response.json();
for(let i = 0; i < jsonData.value.length; i++){
pm.expect(jsonData.value[i]).to.have.property(āidā);
pm.expect(jsonData.value[i]).to.have.property(ālastModifiedDateTimeā);
}
});
This works (almost) fineā¦
From the 250 request there are a few (12) which do not match, these requests do not have the 2 mentioned properties. How can I bypass this check for these 12 requests?
I can recognize the request for instance by the name, like a request named āGET entitiesā.
Thanks for the reply.
Regards,
Don