Interface Test how can we do?

First of all, do interface testing requires two conditions:
First, the interface documentation must be systematic, standardized
interfaces standardized interfaces named from the interface protocols, interfaces path, request parameters, return data, return parameters, the systematic version control specification. Interface document is based on our test interface design. Standardized interface documentation helps us to clarify the needs of interface testing, thereby enhancing the efficiency of the interface testing.
Second, the interface sufficiently deep understanding of the principles of the test
principle interface testing, especially testing principle HTTP interface, typically by a test program or test tool to simulate client to the server sends a request message, the server receives the request message and respond the treatment, then after the response message sent to the client, that is, we simulate the test program or test tool for the client, the process is a (request (request) -> response (response)) interface call flow. Only fully understand the principles of interface testing process, we can choose a more appropriate tool for the design of more rational use cases, in order to optimize the process interface testing.
Interface Test how can we do?
Second, do interface testing needs to be done two specifications:
a, standard interface testing testing process
interface testing required to follow certain procedures to control possible risks and benefits from the process, generally to interface testing be standardized from the following aspects:
1, interface testing needs to obtain and analyze, that is, obtaining and refining test points to interface document
2, the interface arrangements with the preparation of test plans, that is, the need for interface testing resources and testing program risk assessment and program development
3, the interface design and evaluation of test cases, which is sort of the interface test methods, design and assessment
4, management and tracking interface testing performed
5, the results of the statistical test interfaces, summary and analysis of
two , test design method Interface specification
Soul interface test method is designed to test the interfaces, processes and tools are all methods for testing services. Therefore, design test cases and test methods Interface interface review, it is essential that only the standardization of the design process and review process, as much as possible in order to avoid leakage test and measurement error.
These are some ways an excuse to test, and want to learn more knowledge of software testing, then you can continue to focus our section.
More welcome to click http://heze.offcn.com/

Guess you like

Origin blog.51cto.com/14669527/2467972