What is interface testing

Interface testing, as its name implies, is a test of the indirect interface of test system components. Interface testing is mainly used to detect the interaction points between external systems and systems as well as between 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.