-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Collection as Postman Collection #2496
Comments
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. |
I have merged the PR that fixes this issue, it will be available in the the upcoming release |
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
The text was updated successfully, but these errors were encountered: