Nobuf

API Mock & Scenario Builder

Local contract simulation

Turn OpenAPI or HAR into success, failure and latency scenarios with reusable test handlers.

0Operations
0Paths
0Scenarios
0Failure scenarios
0Latest issues
example-store.openapi.yaml

How to use it

  1. 01

    Import the contract

    Paste OpenAPI JSON or YAML, open a HAR file, or use the complete example without contacting any captured host.

  2. 02

    Design and run scenarios

    Configure status, latency, response, probability and network failures, then simulate requests against the local contract.

  3. 03

    Reuse the mocks

    Export MSW handlers, Playwright routes, Vitest checks, a Worker example or a portable scenario manifest.

Frequently asked questions

Does this publish a hosted mock API?

No. The static page simulates locally and generates code that you run in your own development or test environment.

Will imported HAR requests be replayed?

No. Captures are parsed locally and never sent to their original hosts automatically.

Are captured credentials included in exports?

Known sensitive headers, query fields and token-shaped values are redacted before preview and generation, but you should still review every export.

Is contract validation exhaustive?

No. The simulator checks a practical local subset of request requirements and JSON Schema response structure; your production validator remains authoritative.

Keep working with other focused browser utilities.

All tools

Local by default; remote data sources are clearly disclosed.

© 2026 Nobuf

Nobuf

Fast, local-first utilities powered by your browser.