-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
I have checked the following:
- I have searched existing issues and found nothing related to my issue.
This bug is:
- making Bruno unusable for me
- slowing me down but I'm able to continue working
- annoying
- this feature was working in a previous version but is broken in the current release.
Bruno version
2.14.2
Operating System
macOS 26.0.1
Describe the bug
I have a workspace-level pre-request script, that generates a JWT Bearer token for every request, depending on certain conditions. This runs first and then on some endpoints we have subsequent pre-request scripts that also run after.
However, I have noticed over the past couple of weeks that our endpoint pre-req script hasn't been running as expected. After debugging, I have found that the below condition in our Workspace pre-request script:
is causing my endpoint's pre-request script to be "skipped" - specifically that return on the second line of the above excerpt.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
I have attached screenshots below of what happens when hitting my 'Test' env, which is triggering the return in the first pre-request script.
And then another screenshot of what happens when I hit my local env
Below is my endpoint-level pre-request script that I am expecting to see with every invocation
