当前位置:网站首页>接口测试学习笔记
接口测试学习笔记
2022-06-10 15:49:00 【雅紫吖】
1.什么是接口?
接口的种类分为内部接口、外部接口,内部接口又分为上层服务与下层服务、同级服务
2.什么是接口测试?
接口测试就是基于http协议的接口测试。除了基于http协议的接口,还有基于其他协议的接口,其本质都是要发送一个http请求报文给服务器,然后服务器返回一个http响应报文。
3.常见的接口分别是GET、POST、DELETE、PUT四种,其中GET和POST区别:
1.参数提交方式不同,GET参数提交在地址栏,以?分隔URL和传输数据,参数之间以&相连,限制在2048字符;POST参数提交在webform表,且没有限制
2.提交数据大小限制不同,GET提交数据小,POST提交数据大
3.安全性不同,GET安全性差,POST安全性强
4.接口测试流程
5.设计接口测试用例
1.功能是否正常
功能是否按照接口文档实现(参数)
2.逻辑
是否依赖业务
3.异常:参数异常/数据异常
参数异常:关键字参数错误、参数为空、多或少参数、错误参数
数据异常:关键字数据错误、数据为空、长度不一致、错误数据
6.常见接口测试工具
抓包工具:Fiddler、Firebug、HTTP Analyzer
发包工具:开源工具:jmeter、postman,商业工具:loadrunner、soapui
未完待续。。。。
边栏推荐
- Then, we will cooperate with impulse online and Feiteng to complete partner certification and jointly create a private computing ecosystem for Xinchuang
- 嵌入式开发:使用MCU进行无线更新面临的5大挑战
- Middle office: Data middle office, business middle office, technology middle office, application middle office, AI middle office
- 顺应医改,积极布局——集采背景下的高值医用耗材发展洞察2022
- Devops-2- from the Phoenix Project
- Aggregate sum of MapReduce cases
- Pytorch installation tutorial
- 软件测试架构师,给后辈的16条忠告,快看看别错过
- 【Proteus仿真】DS18B20+报警温度可调+LM016显示
- Jerry's ble timer clock source cannot choose OSC crystal oscillator [chapter]
猜你喜欢

Why do I need a thread pool? What is pooling technology?

Webdypro layout control cannot be used_ SAP LIUMENG

From web2 to Web3, ideology also needs to change
![Jerry's ble dynamic power regulation [chapter]](/img/29/22be6dca25c4e6502f076fee73dd44.png)
Jerry's ble dynamic power regulation [chapter]

Fiddler创建AutoResponder

Palm detection and finger counting based on OpenCV

Why do I need a thread pool? What is pooling technology?

Mm main tables and main fields_ SAP LIUMENG_

How to realize the website dark mode

Introduction to postmangrpc function
随机推荐
Four Byron poems translated from heartless sword
Why__ Inline usually needs static
The CPU load caused by implicit conversion is nearly 100%
Li Ling: in six years, how did I go from open source Xiaobai to Apache top project PMC
Apache atlas quick start
Many MapReduce cases seek common friends in the map stage
那年高考
PV operation daily question - exam questions
Embedded development: five challenges in wireless update using MCU
2022 underground coal mine electrical examination question bank and online simulation examination
打造隐私计算领先方案 冲量在线数据互联平台获得鲲鹏Validated认证
Common sense: the number of neurons in the brain of mice is about 70million and that of humans is about 86billion
Shit, jialichuang's price is reduced again
What open source tools are actually used in the black cool monitoring interface?
Matlab learning notes (3) advanced operation of MATLAB matrix
Basic settings of pycharm [detailed explanation with pictures and words]
How does Dao achieve decentralized governance?
What are the pitfalls of redis's current network: using a cache and paying for disk failures?
Check whether there is a QR code in the picture
Swift read userinfo of remote notification