当前位置:网站首页>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 !
边栏推荐
- How to open an account in great wisdom? Is it safe
- Keyword long
- LeetCode123. The best time to buy and sell stocks III
- 接口测试流程
- 稳定性总结
- 接口用例设计
- How to analyze the relationship between enterprise digital transformation and data asset management?
- LeetCode226. Flip binary tree
- LeetCode每日一题——324. 摆动排序 II
- Characters and integers
猜你喜欢

MongoDB——副本集与分片
![[Note: circuit intégré MOS analogique] référence de bande Gap (principe de base + mode courant + circuit en mode tension)](/img/cd/be62272d465ca990456c222b38df67.png)
[Note: circuit intégré MOS analogique] référence de bande Gap (principe de base + mode courant + circuit en mode tension)

应用实践 | 10 亿数据秒级关联,货拉拉基于 Apache Doris 的 OLAP 体系演进(附 PPT 下载)

Visualization of neural network structure in different frames

Application practice | 1billion data second level correlation. Huolala's OLAP System Evolution Based on Apache Doris (with PPT download)

不同框架的绘制神经网络结构可视化

Leetcode 36. 有效的数独(可以,一次过)

with torch. no_ Grad(): reason for using
How to recover after Oracle delete accidentally deletes table data

Learning Tai Chi Maker - mqtt Chapter II (VII) esp8266 mqtt Testament application
随机推荐
Leetcode daily question - 710 Random numbers in the blacklist
Input and output character data
LeetCode123. 买卖股票的最佳时机III
LeetCode:二叉树展开为链表_114
How to open an account in great wisdom? Is it safe
LeetCode122. 买卖股票的最佳时机II
学习太极创客 — MQTT 第二章(八)ESP8266 MQTT 用户密码认证
RT thread thread synchronization and thread communication
T-test (test whether the mean difference between the two populations is significant)
Application of Andy s first dictionary (uva10815) Purple Book p112set
Understand the construction of the entire network model
Bitbucket 使用 SSH 拉取仓库失败的问题
二叉树类题目 力扣
LeetCode1114. Print in sequence
1. integrate servlets
Bitbucket failed to pull the warehouse Using SSH
数据资产为王,如何解析企业数字化转型与数据资产管理的关系?
[learning notes] factor analysis
Learn Tai Chi maker mqtt Chapter 2 (VIII) esp8266 mqtt user password authentication
嵌入式中 动态阿拉伯语字符串 转换 LCD显示字符串【感谢建国雄心】