# Conditionally skip a test when running a collection of over 200 requests

**URL:** <https://community.postman.com/t/conditionally-skip-a-test-when-running-a-collection-of-over-200-requests/46620>\
**Category:** Help Hub\
**Created:** [April 21, 2023, 12:49pm UTC](https://community.postman.com/t/conditionally-skip-a-test-when-running-a-collection-of-over-200-requests/46620 "2023-04-21T12:49:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![donhendriksen](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@donhendriksen](https://community.postman.com/u/donhendriksen)\
**Post date:** [April 21, 2023, 12:49pm UTC](https://community.postman.com/t/conditionally-skip-a-test-when-running-a-collection-of-over-200-requests/46620/1 "2023-04-21T12:49:18Z")

</div>

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
