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 Studio | ApiWorkbench | |
|---|---|---|
| Plays the part of | The server | The client |
| Answers or asks | Answers requests with the responses you design | Sends requests and checks the answers |
| Its superpower for testing | Misbehaves on demand: rules, sequences, random answers, delays, faults | Proves 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
Agree the endpoints, then build them in Mock Studio. Start the server.
In ApiWorkbench, put the mock's address in a variable:
baseUrl = http://localhost:4010. Write every request as{{baseUrl}}/....Build the requests and their tests against the mock while the real API is being written.
When the real API is ready, add an environment whose
baseUrlis 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.
| Use | When |
|---|---|
| ApiWorkbench load test | You already have the requests and tests in a collection, and want percentiles and an HTML, CSV or JSON report |
| Mock Studio flows | You 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.
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.Point the app you are building at that address.
Connect the phone to DroidDeck and open Logcat, filtered to your app.
Use the app. Mock Studio's Live log shows each request it receives; DroidDeck shows what the app logs about the answers.
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.
Convert the file in MarkDrop Studio, and save the result as a
.mdfile. See Desktop app.Add the
.mdfile to LocalRAG, in the browser or from the command line. See Add documents.Ask your question. The answer cites the pages it came from.
Every combination
API toolkit
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 →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 →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 →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
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 →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.
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.
Phone and computer
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 →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.
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.
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.
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.
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 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
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.
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
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.
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.
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.
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
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 →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 →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 →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
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 →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.
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.