当前位置:网站首页>What is an interface? What is interface testing?
What is an interface? What is interface testing?
2022-06-28 21:06:00 【Cool leg hair!】
What is an interface ? What is interface testing ?
Interface
Concept
- The interface is : Between systems , Between components , The channel of data transmission and interaction .

Type of interface
By agreement :http、tcp、IP
By language :C++、java、php ...
By scope :
Between systems :
- Between multiple internal systems
- Between internal and external systems

Between procedures :
Between methods , Between functions , Between modules
# Interface def eat(something): print(f' The bird is eating { something}') # Use interface , To transfer data def bird(): eat(' Apple ') bird()
The interface test
Concept
- Interface testing is , Test the interfaces between systems or components . Verify the correctness of the passed data and the correctness of the logical dependency !
principle
The interface test , It mainly aims at the test objectives —— The server
How to measure ?
- Simulation client , Send request to server .
With what ?
- Tools :fiddler、postman、jmter
- Code :python + UnitTest frame + Requests frame
What to measure ?
- test The server requests for the client , Whether the returned response data is consistent with the expected results !
- Human eye contrast
- Assertion
- test The server requests for the client , Whether the returned response data is consistent with the expected results !
characteristic
- In line with the concept of quality control moving forward
- You can find some problems that cannot be found by page operation
- Interface testing is low cost and high efficiency
- Interface test is to test the system from the perspective of users
Realization way
- Tools :JMeter、Postman、fiddler
- Code :Python + Requests + UnitTest
What is automated interface testing ?
- With tools 、 Code , Simulate the client to send a request to the server , Automatically judge with assertions Expected and actual results Is it consistent !
边栏推荐
猜你喜欢

Figure neural network can also be used as CV backbone model. Huawei Noah Vig architecture is comparable to CNN and transformer

ThreadLocal principle

Learning Tai Chi Maker - mqtt Chapter II (VII) esp8266 mqtt Testament application

with torch. no_ Grad(): reason for using

I almost ran away

Pyechart drawing multiple Y-axis line graphs

Query rewriting for opengauss kernel analysis
![[graduation season · advanced technology Er] hard work can only pass, hard work can be excellent!](/img/e5/b6035abfa7d4bb59c3080d3b87ce45.jpg)
[graduation season · advanced technology Er] hard work can only pass, hard work can be excellent!

MongoDB——副本集与分片

我也差点“跑路”
随机推荐
LeetCode213. 打家劫舍II
Ehcache配置资料,方便自己查
Embedded dynamic Arabic string conversion LCD display string [thanks for Jianguo ambition]
Bitbucket 使用 SSH 拉取仓库失败的问题
Pie (poj3122) super detailed and easy to understand binary introduction
ref属性,props配置,mixin混入,插件,scoped样式
RT thread thread synchronization and thread communication
Web自动化工具选择
炒股票能赚钱么?开户安全嘛
[Note: analog MOS integrated circuit] bandgap reference (basic principle + current mode + voltage mode circuit explanation)
[try to hack] cobalt strike (I)
Learning Tai Chi Maker - mqtt Chapter II (VII) esp8266 mqtt Testament application
T-test (test whether the mean difference between the two populations is significant)
Alibaba cloud MSE full link grayscale solution practice based on Apache apisik
The blocks problem (uva101) Purple Book p110vector application
MongoDB——副本集与分片
Stability summary
我也差点“跑路”
LeetCode121. 买卖股票的最佳时机
ANR分析--问题1