当前位置:网站首页>Day18 - basis of interface testing
Day18 - basis of interface testing
2022-07-03 19:04:00 【Small fish】
Concept of interface test
- Interface test is a test to test the interface between system components
- The interface test is mainly used to detect the interaction points between the external system and the system as well as between the internal subsystems . The focus of the test is to check the exchange of data , Transfer and control the management process , And the mutual logical dependence between systems .
- The interface call inside the system is equivalent to function call , Most of the interfaces outside the system are based on HTTP Protocol to call .
Advantages of interface testing
- Compare with UI test , Can find problems earlier
- Compare with UI test , Can find the underlying problems
- Compare with UI test , Discovery and resolution are more efficient
Interface design documentation
The interface design document mainly includes the following parts :
- Interface specification
- Request mode
- request URL
- Request parameters
- Return the data
- Return to example
Interface test case design
The focus of interface testing is mainly on request and response . In addition, it also includes the security of the interface 、 Interface performance, etc . Common use case designs have equivalence classes 、 Boundary value method, etc .
The design of general test cases mainly ranges from the verification of single interface parameters to the verification of the whole business function point , You can also verify some security and exceptions .

Summary of interface test points :
- Check whether the data returned by the interface is consistent with the expected result .
- The interface test result inspection usually needs to pass SQL Statement to query and confirm from the database .
- Check the fault tolerance of the interface , If the type of data passed is wrong, can it be handled .
- Boundary values of interface parameters . for example , When the parameter passed is large enough or negative , Whether the interface can handle normally .
- Interface performance ,http The request interface is mostly related to the back end execution SQL Sentence performance 、 Algorithm and so on .
- Interface security , The interface of external calls is particularly important , Generally, each interface should be authenticated .


边栏推荐
- There are several levels of personal income tax
- Webrtc[41] - Analysis of the establishment process of webrtc transmission channel
- Raft log replication
- 组策略中开机脚本与登录脚本所使用的用户身份
- 【LeetCode】【SQL】刷题笔记
- 多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
- 我們做了一個智能零售結算平臺
- Flutter network and data storage framework construction-b1
- [Yu Yue education] world reference materials of Microbiology in Shanghai Jiaotong University
- What does a really excellent CTO look like in my eyes
猜你喜欢

Ego planner code parsing Bspline_ Optimizer section (2)

Record: MySQL changes the time zone

Raft log replication

Implementation of cqrs architecture mode under Kratos microservice framework
![[leetcode] [SQL] notes](/img/8d/160a03b9176b8ccd8d52f59d4bb47f.png)
[leetcode] [SQL] notes

Nous avons fait une plateforme intelligente de règlement de détail
![[optics] vortex generation based on MATLAB [including Matlab source code 1927]](/img/9b/b7f462e2ecbff0cee35e7de5c80cf7.jpg)
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
![[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难](/img/8d/0e515af6c17971ddf461e3f3b87c30.png)
[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难

为什么要做特征的归一化/标准化?

Recommend a simple browser tab
随机推荐
Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
Reading a line from ifstream into a string variable
Streaming media server (16) -- figure out the difference between live broadcast and on-demand
Software development freelancer's Road
Ego planner code parsing Bspline_ Optimizer section (1)
ActiveMQ的基础
Ctrip will implement a 3+2 work system in March, with 3 days on duty and 2 days at home every week
SSM整合-前后台协议联调(列表功能、添加功能、添加功能状态处理、修改功能、删除功能)
235. The nearest common ancestor of the binary search tree [LCA template + same search path]
Php based campus lost and found platform (automatic matching push)
Scrapy爬虫框架
22.2.14 -- station B login with code -for circular list form - 'no attribute' - 'needs to be in path selenium screenshot deviation -crop clipping error -bytesio(), etc
What is the function of registering DLLs- What does registering a DLL do?
Kratos微服务框架下实现CQRS架构模式
High concurrency architecture cache
Max of PHP FPM_ Some misunderstandings of children
JS_ Array_ sort
【光学】基于matlab涡旋光产生【含Matlab源码 1927期】
简述服务量化分析体系
How to disable the clear button of ie10 insert text box- How can I disable the clear button that IE10 inserts into textboxes?