# The pm.execution.skipRequest() function fails with Newman

**URL:** <https://community.postman.com/t/the-pm-execution-skiprequest-function-fails-with-newman/59284>\
**Category:** Help Hub\
**Tags:** newman-project, tests, collections, skip\
**Created:** [March 27, 2024, 5:45am UTC](https://community.postman.com/t/the-pm-execution-skiprequest-function-fails-with-newman/59284 "2024-03-27T05:45:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 27, 2024, 9:04am UTC](https://community.postman.com/t/the-pm-execution-skiprequest-function-fails-with-newman/59284/2 "2024-03-27T09:04:35Z")

</div>

Hey @kalpanasama1 👋

The change wasn’t introduced to Newman until version `6.1.0` so if you’re not seeing it working, it’s likely that you’re using an older version.

Related question:

> [@Skip Request Feature in Newman](https://community.postman.com/t/skip-request-feature-in-newman/59158):
>
> The new [skipRequest() feature that was added in November](https://blog.postman.com/optimize-your-api-testing-workflow-with-postmans-skip-request-feature/) is great functionality, we are using it to eliminate false negatives in our automation testing. It works great within Postman whether we run a request individually or through the collection runner, but when we push those changes up to a pipeline that runs on Newman, the tests fail with this error message: Cannot read properties of undefined (reading 'skipRequest') [image] This is the full snippet we are using in the pre-request script,…

---

_[View the full topic](https://community.postman.com/t/the-pm-execution-skiprequest-function-fails-with-newman/59284)._
