Describe the bug
When running API requests via Script, the jc.execution.skipRequest() call inside a pre-request has no effect – the request is still executed.
This behavior differs from running the request manually via the “Run” button in the editor, where jc.execution.skipRequest() works correctly and skips the request as expected.
Steps to reproduce
jc.execution.skipRequest() used in a pre-request script to skip specific API requests
Expected behavior
My expectation is that skipRequest() should work the same way when running requests via Script (e.g. folder or batch run), just like it does when running them manually. If the pre-request script calls jc.execution.skipRequest(), the request should be skipped regardless of how it's triggered.
Environment information:
- OS: Windows
- IDE version: 2025.1
- plugin version: latest