当前位置:网站首页>做接口测试都测什么?有哪些通用测试点?
做接口测试都测什么?有哪些通用测试点?
2022-07-06 14:23:00 【大田测试录】
大家好啊,我是大田。
接口测试本质就是需要借助测试工具模拟前端页面向后端服务器发起请求,测试人员通过判断接口返回报文与预期是否一致来判断接口是否有问题。
首先,大田认为得先确保自己接口请求地址、参数传值的正确性;测试过程中需要关注响应中状态码、响应信息、数据入库或者是否在数据库中做了更改、服务器日志是否报错。
其次,来说说接口测试有哪些通用测试点:
1、看正常场景规则是否实现;
2、正常场景通过后,再覆盖异常场景;
3、验证参数的边界数据;
4、传错参数如少传、多传、不传参数,接口是否有相应处理;
5、当两个接口相互关联时,通过传入错误的参数值,看下一个接口是否能正常接收;
6、接口的性能或者压力测试,通过测试工具模拟,看接口的承载能力是否满足预期需求;
7、接口安全测试,一些需要加密的、敏感的字段是否做了加密处理;接口权限处理是否正常;
以上就是大田今天的分享,如果你觉得有用,可以给大田点个赞~
边栏推荐
- Write a rotation verification code annotation gadget with aardio
- What is the difference between animators and animators- What is the difference between an Animator and an Animation?
- Realization of epoll reactor model
- AI 企业多云存储架构实践 | 深势科技分享
- 【sciter Bug篇】多行隐藏
- Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
- Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
- OpenCV300 CMake生成project在项目过程中的问题
- Four data streams of grpc
- 2500 common Chinese characters + 130 common Chinese and English characters
猜你喜欢

微信红包封面小程序源码-后台独立版-带测评积分功能源码

C#實現水晶報錶綁定數據並實現打印4-條形碼

【数字IC手撕代码】Verilog无毛刺时钟切换电路|题目|原理|设计|仿真

CCNA-思科网络 EIGRP协议
![[daily] win10 system setting computer never sleeps](/img/94/15f5a368e395b6948f409c5f6fc871.jpg)
[daily] win10 system setting computer never sleeps

小常识:保险中的“保全”是什么?

嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利

GPS from getting started to giving up (XV), DCB differential code deviation

Assembly and Interface Technology Experiment 6 - ADDA conversion experiment, AD acquisition system in interrupt mode

GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
随机推荐
2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
PVL EDI 项目案例
Barcodex (ActiveX print control) v5.3.0.80 free version
微信红包封面小程序源码-后台独立版-带测评积分功能源码
【MySQL】Online DDL详解
RESNET rs: Google takes the lead in tuning RESNET, and its performance comprehensively surpasses efficientnet series | 2021 arXiv
Make menuconfig has a recipe for target 'menuconfig' failed error
Oracle control file and log file management
GPS从入门到放弃(十五)、DCB差分码偏差
Some problems about the use of char[] array assignment through scanf..
AI 企业多云存储架构实践 | 深势科技分享
[Chongqing Guangdong education] Tianjin urban construction university concrete structure design principle a reference
anaconda安装第三方包
Oracle-控制文件及日志文件的管理
UNI-Admin基础框架怎么关闭创建超级管理员入口?
Seata聚合 AT、TCC、SAGA 、 XA事务模式打造一站式的分布式事务解决方案
Report on technological progress and development prospects of solid oxide fuel cells in China (2022 Edition)
i.mx6ull搭建boa服务器详解及其中遇到的一些问题
Codeforces Round #274 (Div. 2) –A Expression
Kohana 数据库