Skip to content

Repository files navigation

Logo

API Runner

Run Postman collections against test data — directly from your desktop.

Platform Tauri React Rust License


Connect your Postman account, pick a collection, upload a data file — and run.


What it does

API Runner lets you execute Postman collections against multiple data rows without leaving your desktop. It connects to your Postman account via API key (or loads local collection files), lets you pick a workspace, collection, and environment, configure run options, and streams live Newman output directly in the app.

Key features:

  • Connect via Postman API key or load local .json collection files
  • Browse workspaces, collections, and environments from your Postman account
  • Run collections with a CSV/JSON data file (one iteration per row)
  • Select specific requests or folders within a collection
  • Live console output while Newman runs
  • Run summary with pass/fail counts per request
  • Run history within the session
  • Dark/light theme toggle
  • German and English UI (auto-detected)
  • Auto-updater built in

Screenshots

Welcome screen Configuration Run summary
Welcome screen Configuration Run summary

Prerequisites

Tool Version Purpose
Rust stable Tauri backend
Bun latest JS runtime & bundler
Node.js 18+ Peer dependency for Newman

On Windows you also need the WebView2 runtime (usually already installed).


Getting started

# 1. Install JS dependencies
bun install

# 2. Build the Newman sidecar binary (required before first run)
bun run build:sidecar

# 3. Start the app in development mode
bun run tauri dev

Build for production

bun run tauri build

The installer is placed in src-tauri/target/release/bundle/.


Project structure

api-runner/
├── src/                    # React frontend (TypeScript)
│   ├── components/         # UI components
│   ├── hooks/              # Custom React hooks (Newman runner, Postman API, theme)
│   ├── locales/            # i18n strings (de, en)
│   └── types/              # Shared TypeScript types
├── src-tauri/              # Rust/Tauri backend
│   ├── src/                # Rust source
│   └── sidecar/            # Newman runner script (compiled to binary)
└── scripts/
    ├── build-sidecar.ts    # Compiles Newman into a standalone executable
    └── bump.ts             # Version bump helper

Configuration

API keys and run settings are persisted locally via tauri-plugin-store — nothing is sent anywhere except to the Postman API when you explicitly sync.

Postman API key

  1. Open the app
  2. Click Add API Key and paste your Postman API key
  3. The app syncs your workspaces and collections

Local collections

Use Open local collection to load a .json file exported from Postman. No API key required.


How the Newman sidecar works

Newman runs as a compiled sidecar binary (src-tauri/binaries/). The build:sidecar script uses bun build --compile to bundle the Newman runner into a self-contained executable named with the Rust target triple (e.g. newman-runner-x86_64-pc-windows-msvc.exe). Tauri resolves it via the bundle.externalBin config at runtime.


Tech stack


Scripts

Command Description
bun run dev Start Vite dev server only
bun run tauri dev Start full Tauri app in dev mode
bun run build:sidecar Compile Newman sidecar binary
bun run tauri build Production build + installer
bun run bump Bump version in package.json + Cargo.toml

License

MIT License

About

Run Postman collections against test data — directly from your desktop.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages