Open thannebauer opened 2 months ago
Even I have faced same issue and noticed all of above issues noted in screen shot by @thannebauer. Eagerly looking for this option as it's creating an additional manual work before importing into Postman API client and also impacts collection run when performed from Newman CLI.
Along with above noted issues even below parameter is missing for each of API request. "response": []
I have checked the following:
Describe the bug
When exporting an Collection as Postman Collection and importing it in Postman, the URL is broken. URL "https://github.com/usebruno/bruno/issues/new?assignees=&labels=bug&projects=&template=BugReport.yaml" is imported in Postman as "github.com/?assignees=&labels=bug&projects=&template=BugReport.yaml" URL "{{apiurl}}\somewhere\somehow?param1=123" (apiurl is variable from environment) is imported as "/"
Comparing both Postman Json collections I find these main differences:
After fixing this for testing purpose, I could import the collection with correct URLs in Postman.
In addition an empty request named "bruno" is ex- and imported. This is caused by an additional empty element:
{ "name": "bruno", "event": [] },
.bru file to reproduce the bug
Bruno collection: Sandbox.zip
exported Postman collection: Sandbox.json
Same collection content exported from Postman: Postman-Sandbox.postman_collection.json
Screenshots/Live demo link
Postman after import:
What I have exported from Bruno
![image](https://github.com/usebruno/bruno/assets/157024608/7622f2ac-596d-4054-b792-cc72205123b3)