当前位置:网站首页>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 .
边栏推荐
- High concurrency architecture cache
- “google is not defined” when using Google Maps V3 in Firefox remotely
- Scrapy爬虫框架
- Compose LazyColumn 顶部添加控件
- Change is the eternal theme
- How to disable the clear button of ie10 insert text box- How can I disable the clear button that IE10 inserts into textboxes?
- 【光学】基于matlab涡旋光产生【含Matlab源码 1927期】
- 【水质预测】基于matlab模糊神经网络水质预测【含Matlab源码 1923期】
- 我眼中真正优秀的CTO长啥样
- Caddy server agent
猜你喜欢
235. Ancêtre public le plus proche de l'arbre de recherche binaire [modèle LCA + même chemin de recherche]
What does a really excellent CTO look like in my eyes
Raft log replication
Does SQL always report foreign key errors when creating tables?
PyTorch中在反向传播前为什么要手动将梯度清零?
Add control at the top of compose lazycolumn
[water quality prediction] water quality prediction based on MATLAB Fuzzy Neural Network [including Matlab source code 1923]
User identity used by startup script and login script in group policy
235. 二叉搜索树的最近公共祖先【lca模板 + 找路径相同】
leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]
随机推荐
【Proteus仿真】用24C04与1602LCD设计的简易加密电子密码锁
How about the Moco model?
SSM整合-前后台协议联调(列表功能、添加功能、添加功能状态处理、修改功能、删除功能)
TFs and SVN [closed] - TFs vs SVN [closed]
235. 二叉搜索樹的最近公共祖先【lca模板 + 找路徑相同】
Typescript official website tutorial
记录在模拟器中运行flutter时报的错
There are several levels of personal income tax
Sqlalchemy - subquery in a where clause - Sqlalchemy - subquery in a where clause
Ego planner code parsing Bspline_ Optimizer section (1)
How to read the source code [debug and observe the source code]
【光学】基于matlab涡旋光产生【含Matlab源码 1927期】
Unity2018 to wechat games without pictures
PyTorch中在反向传播前为什么要手动将梯度清零?
shell 脚本中关于用户输入参数的处理
Boost. Asio Library
[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)
[mathematical modeling] ship three degree of freedom MMG model based on MATLAB [including Matlab source code 1925]
KINGS
What does a really excellent CTO look like in my eyes