-
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
Mac
Describe the bug
After version 2.14.x, exporting a Bruno collection to Postman JSON produces inconsistent results when handling Tests and Scripts under the event key.
In version 2.13.2, the export works correctly — both tests and scripts appear as expected.
However, starting with 2.14.0, 2.14.1, and 2.14.2, the behavior becomes unreliable and inconsistent.
Observed Behavior:
-
When a request has only a Test, the exported JSON has no event key.
-
When a request has a Post-Response Script and a Test, only the Post-Response Script is included in the event array — the Test is missing.
-
When a request has both Pre and Post Scripts, the Test appears correctly in the event key.
-
The issue did not exist in version 2.13.2, where both scripts and tests exported consistently.
Steps to Reproduce:
-
Create a simple request in Bruno with:
-
A request body
-
A Post-Response script
-
A Test script (e.g., expect(response.status).toBe(200))
Export the collection to Postman JSON.
Compare the output between versions 2.13.2 and 2.14.x.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
echo-bruno-postman-2.13.2.json
echo-bruno-postman-2.14.2.json