OAuth 2.0 authentication
Request, store, and attach access tokens from the auth editor — no more hand-pasted bearer tokens.
Orbittest Client v1.0.1 (2026-06-17) brings four new capabilities to the local-first API testing workstation: OAuth 2.0 authentication, a real code editor for scripts and bodies, live variable autocomplete, and a command-line runner for CI pipelines.
OAuth 2.0 authentication
Request, store, and attach access tokens from the auth editor — no more hand-pasted bearer tokens.
Syntax-highlighted editor
JavaScript highlighting for pre-request scripts, test scripts, and request bodies.
Variable autocomplete
Live {{variable}} scanning with inline autocomplete across the request builder.
Command-line runner
Run collections from the terminal with JSON / JUnit output — built for CI.
Until now, calling a protected API meant generating a token somewhere else and pasting it into a header by hand — then doing it again every time the token expired. In v1.0.1, Orbittest Client can request, store, and attach OAuth 2.0 access tokens for you, directly from the request’s Auth tab.
Open a request and select the Auth tab.
Choose OAuth 2.0 as the authorization type.
Fill in the token details for your provider — typically the token endpoint URL, client ID, client secret, scope, and the grant type (for example Authorization Code or Client Credentials). Any field accepts {{variables}}, so you can keep secrets in an environment instead of the request.
Click Request Token. Orbittest Client performs the token exchange and stores the resulting access token with the request.
Send the request. The stored token is attached automatically as an Authorization: Bearer … header — you never copy or paste it.
Scripts and bodies now open in a real code editor with JavaScript syntax highlighting instead of a plain text box. Highlighting applies in three places:
This makes it far easier to spot a missing bracket, an unterminated string, or a typo before you run anything.
// Compute a timestamp and stash it for the request to use.const now = Date.now();ot.variables.set('requestedAt', String(now));// Assert on the response after it arrives.ot.test('status is 200', () => { ot.expect(ot.response.status).toBe(200);});
ot.test('body has an id', () => { const body = ot.response.json(); ot.expect(body.id).toBeDefined();});Orbittest Client now scans your variables live — from the active environment, the collection, and any data-driven row — and offers inline autocomplete as you type. Start typing {{ in almost any field and a dropdown of matching variable names appears; pick one and it’s inserted complete.
Autocomplete is available across the request builder, including:
GET {{baseUrl}}/users/{{userId}}Authorization: Bearer {{accessToken}}This removes the two most common variable bugs: misremembering a name, and referencing a variable that doesn’t exist in the current scope.
A new CLI runs your saved collections and requests straight from the terminal — no UI required. It’s scriptable, returns proper exit codes, and emits JSON and JUnit reports, which makes it a natural fit for CI pipelines.
orbittest-client run "My Collection" --env staging| Option | What it does |
|---|---|
--env <name> | Run with a named environment’s variables. |
--data <file> | Drive the run from a CSV / JSON data file (one iteration per row). |
--reporter <list> | Output format(s): json, junit, or both (comma-separated). |
--out <dir> | Directory to write report files into. |
--bail | Stop on the first failing request. |
orbittest-client run "My Collection" \ --env ci \ --reporter json,junit \ --out ./reportsThe JUnit report drops straight into most CI test dashboards, and the JSON report carries full request/response detail for custom processing. The runner exits with code 0 when every request and test passes and a non-zero code otherwise, so a failing run fails the build.
name: API testson: [push]jobs: api-tests: runs-on: windows-latest steps: - uses: actions/checkout@v4 - name: Run Orbittest Client collection run: orbittest-client run "My Collection" --env ci --reporter junit --out reports - name: Publish results if: always() uses: actions/upload-artifact@v4 with: name: api-test-reports path: reportsOrbittest Client updates automatically in the background, so most users are already on v1.0.1. To install or reinstall manually, download the signed Windows installer from the release page.