A,What is an interface test
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.
Second, why do interface tests
Nowadays, the system is becoming more and more complex, and the traditional front-end testing has greatly reduced the efficiency, and we all know that the earlier the testing time is involved, the better the software quality will be. Therefore, at present, the companies in the market are becoming more and more important for interface testing, because interface testing is involved earlier. Generally, interface testing is carried out before the interface is developed (of course, if there is an interface, it is also the interface developed by the development engineer), which can not only save the later testing time and cost, but also advance the quality of software.
Three, interface test tools
Use apiPOST, Jmeter tools for interface testing
4. Points needing attention in interface test
Focus on the request headers in the interface
Focus on the request data format in the interface
Check whether the interface parameter is mandatory
Focus on passing parameters from interface to interface
Pay attention to the interface parameter input type
Pay attention to the interface parameter input length
Focus on the interface forward flow
Pay attention to the abnormal interface flow
Focus on interactivity between interfaces
Focus on security in the interface
Focus on the response data in the interface
Focus on the request parameters in the interface
Pay attention to how requests are made in the interface
Pay attention to the response status code in the interface
Pay attention to the token and authentication information on the interface
What is an interface document
Interface document content includes interface request parameter description, interface response parameter description, interface request data description, interface logic description, interface request case, interface response case
The significance of the interface document is that testing and development form a specified specification, development according to the interface document to develop, test according to the interface document to test
Interface testing tool APIPost supports interface documents in online, Markdown, and Word formats