Joke Collection Website - Public benefit messages - Frequently asked questions about software development interface testing?

Frequently asked questions about software development interface testing?

For a program, the interface is not only connected to the outside, but also connected to the inside of the program. Let's take a look at the common questions about software development interface testing in the next computer training.

I. Universal interface:

1, webService interface: soap protocol is used to transmit through http, and both the request message and the return message are in xml format, so only traversal tools can be used for calling and testing during 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, the 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.

Third, what is the interface test:

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.