Skip to content

Import

Import… (⇧⌘I (Ctrl+Shift+I)) reads a Postman collection (v2.1) with its environments and globals, an Insomnia export (v4) or a HAR file. For Bruno, choose Import Bruno Collection… in Search or Run… (⌘K (Ctrl+K)) and pick the Bruno folder.

Every import ends with a report of anything that needs a look, with Copy Report. Names that clash get a new one, shown as “Saved as …”. Importing environments alone adds them to the collection you have open.

See Moving from Postman.

Folders and requests keep their order. The base environment becomes the collection’s variables and its sub-environments become environments. {{ _.name }} becomes {{name}}.

Each host becomes a folder and each request is named “METHOD /path”. Scripts, styles, images, fonts and the browser’s own headers are left out. An Authorization header becomes the request’s auth, kept in your system keychain; values that look like secrets become secret variables; cookies are dropped.

Requests keep their order, and environments come along. Bruno’s scripts, tests, variables and assertions use Bruno’s own API, so they are not imported; the report lists them.