当前位置:网站首页>接口测试概述
接口测试概述
2022-07-23 15:55:00 【Xuhx&】
接口测试概述
- 接口的定义:
API接口属于一种系统或程序的调用接口GUI接口属于一种图形界面的操作软件的系统。
- 接口测试是测试
系统内部各个组件接口,以及系统与外部系统之间的交互点. - 测试的主要内容:
- 检查数据的交换
- 传递和控制管理过程
- 系统间的相互逻辑依赖关系
- 接口测试的适用场合:
- 一般应用于
多系统间交互开发 - 适用于为其他系统提供服务的底层框架系统和中心服务系统
- 适用于一个上层系统中的服务层接口
- 平台越复杂,系统越庞大,接口测试的效果越明显。
- 一般应用于

5. 关于接口测试与界面处功能测试的比较:
(1)接口测试没有具体的页面
(2)它是通过接口规范文档上的调用地址、请求参数,拼接请求信息
(3)然后发送请求,检查返回结果
(4)只需要测入参和出参就行。
接口测试的好处:
(1) 发现很多页面上操作发现不了的bug
(2)检查系统的异常处理能力
(3)检查系统的安全性、稳定性
(4)前端随便变,接口测好了,后端不用变
- 接口测试的必要条件:
(1)接口说明(接口用来干什么)
(2)调用url
(3)请求方法(get/post)
(4)请求参数、参数类型、请求参数说明
(5)返回参数说明(异常等)
现在为自学记录笔记阶段,不断补充中。
边栏推荐
- Sentinel installation diagram
- Detailed explanation of CO process principle in go
- Redis data loss problem
- Open source needs specialization
- Sentinel introduction and microservice integration
- ubuntu22.04安装mysql8
- QT multithread instance and the fifth parameter of connect [easy to understand]
- Detailed explanation of JPS
- Type-C to OTG (USB2.0 data transmission) + PD charging protocol chip ledrui ldr6028/ldr6023ss
- RS232 DB9串口设备
猜你喜欢

Seal player IP and machine code and unlock the blocked tutorial

Data concentration analysis and data distribution

Sentinel 介绍与微服务整合

分析一个 .NET 写的 某 RFID标签系统 CPU暴涨

MySQL事务,从redo log、bin log、undo log说起...

El input usage

Explanation of PPPoE protocol and analysis of Wireshark packet capturing during dialing

Une erreur s'est produite lors de la configuration du login du moteur Gom: aucun correctif requis n'a été trouvé!

阿里 P7 到底是怎样的水平?

信息论 (Information Theory): Introduction and information measures
随机推荐
20220721 积分环节的时频域分析
curl get&post
Distributed transaction solution
C language · structure (Introduction to linear table)
C language -- implementation of address book and screentogif
Eric6安装问题
常用的curl命令及参数详解
多线程编程
Sentinel installation diagram
Type-C to OTG (USB2.0 data transmission) + PD charging protocol chip ledrui ldr6028/ldr6023ss
Redis data loss problem
Phpstrom shortcut key
防控调整后暑期市场井喷,途家、木鸟、美团暑期活动测评
How does memory alignment in go optimize program efficiency?
Leetcode: Jianzhi offer II 115. reconstruction sequence [graph theory thinking + in degree consideration + topological sorting]
Major optimization of openim - Message loading on demand, consistent cache, uniapp Publishing
Why can Hong Kong servers be exempted from filing
网分测花岗岩介电常数测试方案
平安过暑假,安全不放假!这些暑期安全小提示请收好
Don't you know more than 30 baby plug-ins like idea that are both easy to use and fun? "Suggested collection"