A, what is the interface test interface test as the name implies is a test of the indirect mouth of the test system components, interface test is mainly used to detect the interaction points between the external system and the system as well as between the internal subsystems. The focus of the test is to check the data exchange, transfer and control management process, as well as the logical interdependence between systems.

Before the interface test, we need to obtain the interface information, which is generally the interface document. If there is no interface document, we can obtain the interface information by capturing packets.

The interface test requires the following information:

1. Url: indicates the interface address

2. Header

3. Request methods get, POST, or other methods

4. Body parameter

Fill in this information into the interface tool and click Send and then view the response data, taking baidu page as an example

Enter the URL address www.baidu.com, leave the header blank, set the request mode to GET, and leave the body blank. Click Send to view the response result

To make a simple POST login request, enter the URL address, request method POST, the header is empty, and enter the body argument

Apipost is a domestic tool for interface testing, interface collaboration and interface document generation. It supports interface testing, interface process testing, interface development collaboration between teams and the generation of complete interface documents, including online interface documents, markdown documents and word documents.

———————————————— Copyright notice: This article is originally published BY CSDN blogger haidian Mannong. It follows CC 4.0 BY-SA copyright agreement. Please attach the source link and this statement. Original link:Blog.csdn.net/phpwechat/a…