1. Common interface: 1. WebService interface: soap protocol is used to transmit through http. The request message and return message are in xml format, and only tools can be used for calling and testing.
The tools that can be used are SoapUI, jmeter, loadrunner, etc. 2.httpapi interface: It is a method of calling methods through path differentiation using http protocol. The request messages are all in the form of key-value, and the returned messages are generally json strings, including methods such as get and post, which are also two commonly used request methods.
The tools that can be used are postman, RESTClient, jmeter, loadrunner, etc. Second, front-end and back-end: Before talking about interface testing, let's clarify these two concepts, front-end and back-end.
What is the front end? For the web side, the pages we use and the websites we open are front-ends, written in html and css. For the app side, it is developed with the app we use, android or object-C (developing the app on ios). Its function is to display pages, let us see beautiful pages, and do some simple verification, such as non-empty verification. When we operate on the page, these business logic and functions, such as shopping and sending Weibo, are all realized by the back end, and the back end controls to deduct your balance when you shop.
You may not understand what I said before, just remember: the front end is responsible for beauty, and the back end is responsible for making money to support the family.
3. What is interface testing? Interface testing is a test to test the interface between system components.
Interface testing is mainly used to detect the interaction points between external systems and internal subsystems.
The focus of the test is to check the process of data exchange, transmission, control and management, as well as the mutual logical dependence between systems.