Install and Launch
-
Download API Test Base
0.39.2from the release page.Double click the dmg and drag
API Test Base.appto your/Applicationsfolder.Then open it from Launchpad or the Applications folder.
-
Download API Test Base
0.39.2from the release page.The Windows release comes in two forms: a setup installer and a portable zip. Pick the one you prefer.
The setup installer walks you through installation; leave the
Run API Test Basecheckbox ticked on its final wizard screen, so ATB starts when you clickFinish. The portable needs no installation — extract the zip and runAPI Test Base.exein the extracted folder to launch ATB.In either case, the first time you run it Microsoft Defender SmartScreen will likely warn you, because the app hasn’t been digitally signed by a Microsoft trusted Certificate Authority (which is expensive!). Click
More infoon the dialog, and clickRun anywayto proceed. A Windows Defender Firewall alert also pops up on first launch — check thePrivate networks ...option, uncheck thePublic networks ...option, and click theAllow accessbutton. -
If you are using Docker Engine (Linux only) or Docker Desktop version 4.34 or later, the recommended way to launch API Test Base is with host networking.
docker run -d -t -v /data/folder/on/host:/atb/data --name apitestbase-0.39.2 --net=host apitestbase/apitestbase:0.39.2Notice: Replace
/data/folder/on/hostwith your own value, so that your data can be retained on the host machine when the container is deleted. For example (Windows host):docker run -d -t -v C:\Users\zheng\AppData\Roaming\ApiTestBaseDocker:/atb/data --name apitestbase-0.39.2 --net=host apitestbase/apitestbase:0.39.2If not using host networking
// Windows or macOS host docker run -d -t -v /data/folder/on/host:/atb/data --name apitestbase-0.39.2 -p 127.0.0.1:8090:8090 apitestbase/apitestbase:0.39.2 // Linux host docker run -d -t -v /data/folder/on/host:/atb/data --add-host=host.docker.internal:host-gateway --name apitestbase-0.39.2 -p 127.0.0.1:8090:8090 apitestbase/apitestbase:0.39.2Once the container is running, open
http://localhost:8090/uiin a web browser on the host machine.If you use the docker container in
CI/CDpipeline, call ATB’s own API (with HTTP command line tool likecurl) for API test automation. Openhttp://localhost:8090/apidocon host machine for checking the Swagger UI. For a full walkthrough, see Integration Unit Testing Automation in CI/CD Pipeline. -
Download
apitestbase-0.39.2-allos-nojre.zipfrom the release page.This build is for running ATB on any OS where
Java 21+has been installed. To run the ATB, extract the downloaded zip, and run thestart.bat(on Windows) orstart.sh(on macOS or Linux).It is typically used in
CI/CDpipeline where you call ATB’s own API (with HTTP command line tool likecurl) for API test automation. Openhttp://localhost:8090/apidocfor checking the Swagger UI. For a full walkthrough, see Integration Unit Testing Automation in CI/CD Pipeline.You can also use it (on page
http://localhost:8090/ui) for requests or test cases creation, but it opens a terminal window which might not be the best UX.
Ad Hoc Invocation
With ATB running, let’s send a quick ad hoc request to get familiar with the UI.
Right click anywhere on the left side pane, select New Request > HTTP, give it a name and press Enter. The request is created.
In the request edit view, under the Invocation tab, enter a URL like http://localhost:8090/api/articles (an API Test Base bundled API) and click the Invoke button.

The request, as well as all the data you create in API Test Base, is automatically persisted on your local machine. No Save button.
Docker users: if not using host networking, to enable ATB docker container to call your API on the host machine, use host.docker.internal as hostname in the request URL.
Next Steps
You’ve run an ad hoc request. Next, build a structured test case that invokes an API and verifies its side effect — see Creating Automated Test Case.