Stop request after throwing exception in pre-request

i trying to get some information in pre-request script in call another api. and i checking response and want to stop request if throw exception.
now i receiving message but my request could not to stop and i sent request with wrong data.

how to stop request from pre-request?

1 Like

I know this has been here for awhile…but just wanted to give a proper response as there have been new developments around this.

For anyone just running across this issue as well

It looks like we are going to get this soon

…pm.execution.skipRequest() . This function when used in Pre-request scripts will not execute the request…