Controlling the execution of current request in pre-request script

Hi Team

Please add a way to control the execution of the current/main request depending on the requirement in pre-request script. Suppose, I call an API in the pre-request script which responds with error code 404. So I should be able to stop calling my current (main) request based on the condition. Currently, setNextRequest will only come into effect only after the current request has been completed. For additional information please have a look at following thread: Issue with explicitly stopping the call to current request

7 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.