How to use Postman to automate API tests

Learn to test your APIs with a friendly GUI

Lynn G. Kwong
16 min readMay 19, 2021

Postman is a collaboration platform for API development. If you are a software developer and need to develop, test, and maintain an API or a set of API endpoints, you will find Postman very helpful. In this article, we won’t introduce too many concepts about API and Postman but will focus on some of the most common use cases which shall be handy for your development work.

Photo by Alex Knight on Unsplash.

You can use the web version of Postman directly, or you can download and install it on your computer. The desktop version can have some features that may not yet be supported by the web version.

Once you open the web or desktop version of Postman, on the Home page, click Workspaces to check the available workspaces. In Postman, a workspace allows you to organize your Postman work and collaborate with teammates. In a workspace, you can group your projects together, which includes collections, environments, mocks, monitors, etc. In this article, we will only work in the default workspace which is called My Workspace. Once you know how to make API tests by yourself, it will be very straightforward to collaborate with your colleagues in some shared workspace.

When you are in a workspace, you can see various tabs such as Collections, Environments, Mock Servers

--

--

Lynn G. Kwong

I’m a Software Developer (https://medium.com/@lynn-kwong) keen on sharing thoughts, tutorials, and solutions for the best practice of software development.