I have this simple test at collection level
tests["Status code is 200"] = responseCode.code === 200;
It will work perfectly for every request on the collection except for negative tests (400/403/404 http code response).
So ideally, at request Get Acommodation Type - 403 level I would like to write following test:
pm.SkipCollectionTest tests["Status code is 200"] = responseCode.code === 403;
Is this somehow possible? Thank you