pm.execution.skiprequest() passes in postman while running manually but fails in pipeline. please help!
below is the reference of error in report generated
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:
The new skipRequest() feature that was added in November 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,…
system
(system)
Closed
April 26, 2024, 9:05am
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.