Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions debugging/timeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,13 @@ The Network Logs tab provides low-level network insights for advanced debugging:
* **Debugging Information** - Additional network-level diagnostics

This comprehensive view helps you identify performance bottlenecks, debug connection issues, and understand the complete lifecycle of your API requests.

## Scripted requests

In addition to the main request you sent, the Timeline also shows HTTP requests made from within your scripts. Any call to `axios`, `bru.request`, or another HTTP client inside a pre-request script, post-response script, or test is captured as its own entry alongside the main request.

Each scripted entry is labeled with the script phase it ran in (for example, `pre-request`, `post-response`, or `tests`) so you can trace exactly which script triggered each network call. OAuth2 token-fetch steps are also expanded inline under their parent request, making it easier to debug authentication flows.

You can filter timeline entries by type and expand any row to inspect its headers, body, and network log.

When you run a collection in the Runner, the Timeline shows scripted entries for each iteration alongside the main requests they belong to.
20 changes: 20 additions & 0 deletions get-started/import-export-data/postman-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,26 @@
See the [Scripts Translator](/get-started/import-export-data/script-translator) page for the full list of supported translations.
</Info>

## npm packages used by Postman scripts

When you import a Postman collection, Bruno scans the scripts for `pm.require()` and `require()` calls and groups any external packages it finds into a **Install packages** prompt. You'll see this dialog after the import completes whenever the collection references packages that need attention.

The prompt can show up to three sections:

- **Packages used in scripts** — npm packages referenced by the imported scripts that aren't yet installed in the collection's folder. Bruno can install them for you with a single click, or you can copy the suggested `npm install --save <packages>` command and run it yourself in a terminal.
- **Libraries that need Developer Mode** — bundled libraries and Node.js built-ins (such as `lodash`, `moment`, `crypto`, or `fs`) that are only available when the collection runs in [Developer Mode](/get-started/configure/javascript-sandbox#developer-mode). Bruno offers a **Switch to Developer Mode** action when these are detected.
- **Not supported in Bruno** — Postman-specific packages without a Bruno equivalent (for example, `postman-collection`, `postman-runtime`, `newman`, or `@postman/*` packages). Scripts that call these will fail at runtime and need to be rewritten.

<Warning>
Only enable Developer Mode for collections you trust. In Developer Mode, scripts can access the filesystem and execute system commands. See the [JavaScript Sandbox](/get-started/configure/javascript-sandbox) page for details.
</Warning>

After Bruno finishes installing the requested packages, the prompt confirms the install and — if the collection is still in Safe Mode — offers to switch it to Developer Mode so the newly installed packages can be loaded by `require()` at runtime.

If `npm` isn't on your `PATH`, the install step fails with a clear error. Install Node.js/npm, then either retry from the prompt or run the suggested command manually.

Bulk imports queue one prompt per imported collection so you can review each one in turn.

## Environment Import and Export

Environments in API clients are sets of variables that allow you to run requests against different server configurations (development, staging, production) without changing your request URLs.
Expand Down Expand Up @@ -119,5 +139,5 @@
</Info>

<Info>
Postman allows variable values to be numbers, booleans, or objects, but Bruno stores all variable values as strings. During import, non-string values are automatically converted — for example, `5000` becomes `"5000"`, `true` becomes `"true"`, and objects are serialized as JSON strings.

Check warning on line 142 in get-started/import-export-data/postman-migration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (bruno-a6972042) - vale-spellcheck

get-started/import-export-data/postman-migration.mdx#L142

Did you really mean 'booleans'?
</Info>
Loading