当前位置:网站首页>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 .


边栏推荐
- Okaleido, a multimedia NFT aggregation platform, is about to go online, and a new NFT era may come
- Record: writing MySQL commands
- Common PostgreSQL commands
- Boost.Asio Library
- FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
- leetcode:556. Next larger element III [simulation + change as little as possible]
- Record: MySQL changes the time zone
- leetcode:11. 盛最多水的容器【双指针 + 贪心 + 去除最短板】
- Verilog HDL continuous assignment statement, process assignment statement, process continuous assignment statement
- How can I avoid "div/0!" Errors in Google Docs spreadsheet- How do I avoid the '#DIV/0!' error in Google docs spreadsheet?
猜你喜欢

Web3 credential network project galaxy is better than nym?

leetcode:11. 盛最多水的容器【雙指針 + 貪心 + 去除最短板】

Record: writing MySQL commands

Dart JSON编码器和解码器剖析
![[water quality prediction] water quality prediction based on MATLAB Fuzzy Neural Network [including Matlab source code 1923]](/img/aa/9980acc9839f067202d46faabbf029.png)
[water quality prediction] water quality prediction based on MATLAB Fuzzy Neural Network [including Matlab source code 1923]

SQL: special update operation

EGO Planner代码解析bspline_optimizer部分(2)

KINGS

VLAN experiment

【光学】基于matlab介电常数计算【含Matlab源码 1926期】
随机推荐
[leetcode] [SQL] notes
【光学】基于matlab介电常数计算【含Matlab源码 1926期】
HOW TO WRITE A DAILY LAB NOTE?
多媒体NFT聚合平台OKALEIDO即将上线,全新的NFT时代或将来临
Unity2018 to wechat games without pictures
Chisel tutorial - 06 Phased summary: implement an FIR filter (chisel implements 4-bit FIR filter and parameterized FIR filter)
Web3 credential network project galaxy is better than nym?
[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)
变化是永恒的主题
Ping problem between virtual machine and development board
Ego planner code parsing Bspline_ Optimizer section (2)
A green plug-in that allows you to stay focused, live and work hard
Zhengda futures news: soaring oil prices may continue to push up global inflation
What is the function of registering DLLs- What does registering a DLL do?
Record: MySQL changes the time zone
【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
[Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
FBI警告:有人利用AI换脸冒充他人身份进行远程面试
What does a really excellent CTO look like in my eyes