当前位置:网站首页>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 .
边栏推荐
- Pytorch introduction to deep learning practice notes 13- advanced chapter of cyclic neural network - Classification
- 【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
- 变化是永恒的主题
- EGO Planner代码解析bspline_optimizer部分(2)
- Database creation, addition, deletion, modification and query
- How can I avoid "div/0!" Errors in Google Docs spreadsheet- How do I avoid the '#DIV/0!' error in Google docs spreadsheet?
- Why should we do feature normalization / standardization?
- Scrapy爬虫框架
- 235. The nearest common ancestor of the binary search tree [LCA template + same search path]
- __ Weak and__ The difference between blocks
猜你喜欢
Foundation of ActiveMQ
my. INI file not found
235. The nearest common ancestor of the binary search tree [LCA template + same search path]
FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
leetcode:556. 下一个更大元素 III【模拟 + 尽可能少变更】
【数学建模】基于matlab船舶三自由度MMG模型【含Matlab源码 1925期】
235. 二叉搜索树的最近公共祖先【lca模板 + 找路径相同】
[leetcode] [SQL] notes
leetcode:11. 盛最多水的容器【双指针 + 贪心 + 去除最短板】
随机推荐
硬盘监控和分析工具:Smartctl
Suffix derivation based on query object fields
Database creation, addition, deletion, modification and query
DriveSeg:动态驾驶场景分割数据集
Smart wax therapy machine based on STM32 and smart cloud
Why should we do feature normalization / standardization?
Flutter网络和数据存储框架搭建 -b1
2022.02.11
Differential constrained SPFA
变化是永恒的主题
Record: MySQL changes the time zone
Su embedded training - Day10
HOW TO WRITE A DAILY LAB NOTE?
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
Simple solution of physical backup and restore of Damon database
Understanding of database architecture
How to read the source code [debug and observe the source code]
Driveseg: dynamic driving scene segmentation data set