Skip to content

Use apps together ​

Many Dhiva Labs apps do more as a pair. This page starts with the closest pair, ApiWorkbench and Mock Studio, then lists every combination by toolkit. Each app's own pages also end with a Works well with box.

API toolkit: ApiWorkbench and Mock Studio ​

The two apps are opposite ends of the same conversation.

Mock StudioApiWorkbench
Plays the part ofThe serverThe client
Answers or asksAnswers requests with the responses you designSends requests and checks the answers
Its superpower for testingMisbehaves on demand: rules, sequences, random answers, delays, faultsProves behaviour: tests, captures, scripts, runs, load tests, a command-line runner

Run both on one computer and you have a complete practice ground with no internet and no risk. Here are six ways to use them together, from the most common.

1. Build the client before the server exists ​

  1. Agree the endpoints, then build them in Mock Studio. Start the server.

  2. In ApiWorkbench, put the mock's address in a variable: baseUrl = http://localhost:4010. Write every request as {{baseUrl}}/....

  3. Build the requests and their tests against the mock while the real API is being written.

  4. When the real API is ready, add an environment whose baseUrl is its address, switch to it, and run the same collection. Any test that now fails marks a difference between the mock and the real thing.

See Variables and environments and Testing with mocks.

2. One Postman collection, both apps ​

Both apps import Postman collections, and each takes a different part:

  • Mock Studio turns every saved example into a response. Several examples on one request become conditional rules. See Import from Postman.
  • ApiWorkbench takes the requests, with their folders, variables, auth, saved examples and scripts. Postman test scripts run as they do in Postman. See Import from Postman.

Import the same file into both and you have a mock and a test suite that agree from the start.

3. One OpenAPI file, both apps ​

The same goes for an OpenAPI or Swagger file. Mock Studio builds an endpoint per operation, with example responses taken from the spec. ApiWorkbench builds a request per operation, grouped in folders by tag. See Import OpenAPI and Import OpenAPI, Swagger and HAR.

4. Record a real API, then test offline ​

Mock Studio can forward requests it has no endpoint for to a real API, and turn the real replies into mock endpoints. Point ApiWorkbench at the mock while it records, send your requests once, and you have an offline copy of the API to test against on a train. See Proxy and record.

5. Make it fail on purpose ​

Real services are slow and fail now and then. Mock Studio makes that happen when you choose: a 3-second delay, a 503 on every third call, a dropped connection, a body that is not valid JSON. ApiWorkbench shows exactly what a client sees in each case, and its tests turn "too slow" or "broken body" into a visible failure. The Flaky Payments lab is built around this.

6. Load: which app to use ​

Both can send traffic from many simulated users.

UseWhen
ApiWorkbench load testYou already have the requests and tests in a collection, and want percentiles and an HTML, CSV or JSON report
Mock Studio flowsYou are building the journey next to the mock it runs against, and want a quick picture of throughput per step

Either way, a load test against a mock on your own computer measures your computer. It is practice, not evidence about the real API.

Try it ​

The Recipes lab is a ready-made pair: one Mock Studio project and one ApiWorkbench collection showing nine real-world patterns, from paging and ETags to token refresh and webhooks.

Test an Android app against a mock ​

Mock Studio, DroidDeck and an Android phone make a small debugging bench.

  1. In Mock Studio, start the server and open Share. Under Local network (LAN), note the address for your Wi-Fi network, or scan its QR code with the phone. On an Android emulator, use http://10.0.2.2: and the port instead.

  2. Point the app you are building at that address.

  3. Connect the phone to DroidDeck and open Logcat, filtered to your app.

  4. Use the app. Mock Studio's Live log shows each request it receives; DroidDeck shows what the app logs about the answers.

  5. In Mock Studio, switch an endpoint to an error or a fault, and watch how the app copes.

Android blocks plain http:// traffic by default, so a development build may need to allow it. See Share on LAN or the internet and Logcat.

Ask questions about any document ​

LocalRAG answers questions about the PDF, text and Markdown files you give it, on your own machine. MarkDrop turns many more kinds of file into Markdown.

  1. Convert the file in MarkDrop Studio, and save the result as a .md file. See Desktop app.

  2. Add the .md file to LocalRAG, in the browser or from the command line. See Add documents.

  3. Ask your question. The answer cites the pages it came from.

Every combination ​

API toolkit

ApiWorkbenchMock Studio

Mock Studio for ApiWorkbench users: Stand in for an API that does not exist yet, or make it fail on demand, then test it from ApiWorkbench.

ApiWorkbench for Mock Studio users: Call your mock, check every answer with tests, and run the whole collection in one go.

See how →

ApiWorkbenchDeveloper Toolbox

Developer Toolbox for ApiWorkbench users: Decode a JWT from a response, tidy a JSON body or convert Base64 without leaving your desk.

ApiWorkbench for Developer Toolbox users: Send the requests whose tokens and JSON you are inspecting.

See how →

ApiWorkbenchDatabase Manager

Database Manager for ApiWorkbench users: After an API call, open the database and confirm the row was really written.

ApiWorkbench for Database Manager users: Make the API calls whose effect on the database you want to check.

See how →

ApiWorkbenchDL Sentinel

DL Sentinel for ApiWorkbench users: Scan the code behind your API for secrets and vulnerable dependencies; both run in CI.

ApiWorkbench for DL Sentinel users: Test how the running API behaves, with a command-line runner for the same CI job.

See how →

Code, Git and terminals

BranchPilotDelta View

Delta View for BranchPilot users: Compare whole folders, merge three ways, and set Delta View as git’s difftool and mergetool.

BranchPilot for Delta View users: Stage hunks, commit, branch and rebase in a visual Git client.

See how →

DhivaLabs ShellUbuntu Term

Ubuntu Term for DhivaLabs Shell users: Another Bash-style terminal for Windows, with an Ubuntu look.

DhivaLabs Shell for Ubuntu Term users: Bash on Windows with separate work and personal Git and SSH profiles.

CrossShellWinBridge

WinBridge for CrossShell users: Build Windows programs from Linux, then copy them across to the Windows machine you are paired with.

CrossShell for WinBridge users: SSH, file transfer and remote desktop between your Linux and Windows machines.

SysVitalsLogLens

LogLens for SysVitals users: Watch logs live in another terminal while SysVitals watches processes and ports.

SysVitals for LogLens users: See which process is busy or which port is open while you read the logs.

Phone and computer

Mock StudioDroidDeck

DroidDeck for Mock Studio users: Point an Android app at a mock on your Wi-Fi, then read what it logs in DroidDeck’s logcat.

Mock Studio for DroidDeck users: Give the Android app you are debugging a mock API to talk to, reachable over your Wi-Fi.

See how →

DroidDeckNearShare

NearShare for DroidDeck users: Send files to and from Android, Windows and macOS without a cable or developer mode.

DroidDeck for NearShare users: With USB debugging on, push and pull files and see the phone’s full file system.

SecureShellGoCrossShell

CrossShell for SecureShellGo users: SSH both ways between your own Linux and Windows desktops, paired with a code.

SecureShellGo for CrossShell users: SSH and SFTP from your Android phone, with strict host-key checks.

Key DeckHomeDeck

HomeDeck for Key Deck users: Give an old phone a second life as a home control panel.

Key Deck for HomeDeck users: Turn a phone into a macro pad for your computer.

Key DeckGearwise

Gearwise for Key Deck users: Set up the buttons, DPI and macros on your mouse and keyboard too.

Key Deck for Gearwise users: Add a phone as a programmable macro pad beside your mouse and keyboard.

NearShareCloneStudio

CloneStudio for NearShare users: Moving to a new Linux computer? Move everything at once, over Wi-Fi, cable or USB.

NearShare for CloneStudio users: Send odd files to and from phones afterwards, with Quick Share.

Flint BrowserFlint Mobile

Flint Mobile for Flint Browser users: The same private, ad-blocking browser for Android.

Flint Browser for Flint Mobile users: The desktop Flint, for Linux and Windows.

Keep your files safe

CloudDropDiskRescue

DiskRescue for CloudDrop users: When a disk fails before its files reached the cloud, try to get them back.

CloudDrop for DiskRescue users: Keep a copy of new files in the cloud, so a failing disk costs less next time.

DiskRescueDiscWriter

DiscWriter for DiskRescue users: Burn the photos and videos you rescued to a disc, for a copy that sits on a shelf.

DiskRescue for DiscWriter users: Recover photos and videos from a failing drive or card before you archive them.

Images and media

SpaceSweepCompressX

CompressX for SpaceSweep users: Found big photos and videos? Shrink them instead of deleting them.

SpaceSweep for CompressX users: Find the largest files and duplicates on an Android phone first.

CompressXCreator Toolkit

Creator Toolkit for CompressX users: Presets sized for Instagram, YouTube and TikTok, plus trimming.

CompressX for Creator Toolkit users: More formats, archives and PDF tools, for general-purpose compression.

CompressXDL Image Tools

DL Image Tools for CompressX users: Compress and resize images right inside Chrome or Firefox.

CompressX for DL Image Tools users: Batch-compress whole folders on the desktop, including video, audio and PDFs.

DL Image ToolsDhiva Tools

Dhiva Tools for DL Image Tools users: More image, PDF and developer tools in any browser, with nothing to install.

DL Image Tools for Dhiva Tools users: Image tools as a browser extension, with right-click actions on any page.

Documents and AI

ApiWorkbenchLocalRAG

LocalRAG for ApiWorkbench users: LocalRAG has an HTTP API: ask questions and add documents from saved requests.

ApiWorkbench for LocalRAG users: Explore and test LocalRAG’s HTTP API with saved requests and tests.

See how →

ApiWorkbenchDL Prism

DL Prism for ApiWorkbench users: Prism serves an HTTP API on your machine: try routes and models with saved requests.

ApiWorkbench for DL Prism users: Send test requests to Prism’s endpoints and keep them in a collection.

See how →

MarkDropLocalRAG

LocalRAG for MarkDrop users: LocalRAG reads Markdown: convert documents with MarkDrop, then ask questions about them.

MarkDrop for LocalRAG users: Convert web pages, Office files and e-books to Markdown that LocalRAG can read.

See how →

CloakpasteLocalRAG

LocalRAG for Cloakpaste users: Keep documents entirely on your machine with a self-hosted question-and-answer server.

Cloakpaste for LocalRAG users: Hide personal data before pasting into online chat tools.

Monero

Kilonovalmdb-lws-backup

lmdb-lws-backup for Kilonova users: Run your own light wallet server? Back up its database, encrypted.

Kilonova for lmdb-lws-backup users: A wallet that can sync through your own monero-lws server.

See how →

Kilonovapoolwatch

poolwatch for Kilonova users: Watch the Monero mempool from your own node, in a terminal.

Kilonova for poolwatch users: A wallet that can connect to the node you are watching.

lmdb-lws-backupDatabase Manager

Database Manager for lmdb-lws-backup users: Database Manager opens LMDB folders: browse a restored copy, never the live one.

lmdb-lws-backup for Database Manager users: Encrypted, scheduled backups for monero-lws LMDB databases.

Retro and emulators

Rover ExplorerLuna Media Player

Luna Media Player for Rover Explorer users: The Windows XP-era look for your music and videos.

Rover Explorer for Luna Media Player users: The Windows XP-era look for your files, with the search companion.

Luna Media PlayerRetroBeat

RetroBeat for Luna Media Player users: A local music player for Android with a Windows Media Player retro mode.

Luna Media Player for RetroBeat users: The retro media player for your Linux desktop.

Game BoyCHIP-8

CHIP-8 for Game Boy users: A simpler machine to emulate: a good first emulator to read.

Game Boy for CHIP-8 users: The next step up: a Game Boy emulator with a full test suite.