Postman is a collaboration platform for API development. Postman’s functionality simplifies every step of building an API and simplifies collaboration, so you can create better apis faster. — from the official website

If you’ve ever used Postman, you’ll love it. It integrates: interface testing, document generation, simulated data, monitoring, custom scripting, and team collaboration. The core is the interface test, on which the rest of the functionality is built.

A collection of Collections

Represents a project that contains directories, interfaces, collections, scripts, and variables.

The generation and sharing of documents, interface monitoring and export of interfaces are all based on the dimension of collection, as well as collection variables. The scope that represents a collection variable is only valid for the current project.

Directory Folder

A directory that is one level smaller than a collection represents an aggregation of a class of interfaces. For example: user management system (registration, login, logout, retrieve password, verification code, etc.)

We have fewer variables than the set.

Interface API

An interface is a page used to send a request and has many functions. See the figure below

  • Interface definition (name, Description, and URL) Set this parameter based on the actual description
  • Adjust the interface type, GET, POST
  • Data can be: Bulk, binary, text, GraphQL, etc
  • Write multiple copies of environment variables to fit different scenarios
  • Save the returned results as an example for the interconnection staff to query

To Monitor the Monitor

Periodically access the interface to verify whether it is available

Mock data

To facilitate interface debugging, data can be sent to the interface interconnection personnel before development.

Interface documentation

Automatically generate interface documents

Interface Test

The interface test here is not a Send button on the interface edit page, but an automated test, stress test, multiple test case coverage, and feedback report. This will be mentioned in a future post

Tips:

  • Keep up to date, or there may be synchronization issues between multiple machines