当前位置:网站首页>接口测试学习笔记
接口测试学习笔记
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
未完待续。。。。
边栏推荐
- 51 timer initial value calculation
- Diagram of the quarterly report of station B: the revenue is RMB 5.1 billion, with a year-on-year increase of 30% and nearly 300million monthly active users
- Bluetooth - Bluetooth SIG
- From web2 to Web3, ideology also needs to change
- Basic settings of pycharm [detailed explanation with pictures and words]
- Jerry's ble IO port interrupt and flip [chapter]
- Aggregate sum of MapReduce cases
- Shit, jialichuang's price is reduced again
- Code implementation of partition case of MapReduce
- Ar smart contact lens market prospect trends and development planning proposal report 2022-2028
猜你喜欢

Research Report on the development scale of Chinese sanatorium industry and the 14th five year plan (2022-2028)

Actual combat of software testing e-commerce project (actual combat video station B has been released)

再联合 冲量在线与飞腾完成合作伙伴认证,携手打造信创隐私计算生态圈

Digital image processing: graying

Detailed explanation of RGB color space, hue, saturation, brightness and HSV color space

Middle office: Data middle office, business middle office, technology middle office, application middle office, AI middle office

Fiddler创建AutoResponder

Join operation cases in the reduce phase of MapReduce

Analysis report on market demand trend and sales strategy of global and Chinese automatic marshmallow machines (2022-2028)

Technology sharing | quick intercom, global intercom
随机推荐
Diagram of the quarterly report of station B: the revenue is RMB 5.1 billion, with a year-on-year increase of 30% and nearly 300million monthly active users
Why do I need a thread pool? What is pooling technology?
【Proteus仿真】DS18B20+报警温度可调+LM016显示
Jerry's ble timer clock source cannot choose OSC crystal oscillator [chapter]
测试用例常用方法和选择原则
Investment prospect and development strategy planning of China's waste power generation equipment industry 2022-2028 Edition
Desai wisdom number - words (text wall): 25 kinds of popular toys for the post-80s children
PV operation daily question - Restaurant Service
Learn actionchains through jianshu.com and Chapter 3 of selenium webdriver
Why do I need a thread pool? What is pooling technology?
Devops software architecture evolution
PV operation daily question - black and white chess question
Two methods of modifying PIP download source
Jerry's ble transmission rate [chapter]
卷起来,突破35岁焦虑,动画演示CPU记录函数调用过程,进互联大厂如此简单
Apache atlas quick start
Zhangxiaobai teaches you how to use Ogg to synchronize Oracle 19C data with MySQL 5.7 (3)
Effect comparison and code implementation of three time series hybrid modeling methods
PV operation daily question 1 - single wooden bridge problem (variant 2)
NanoMQ Newsletter 2022-05|v0.8.0 发布,新增 WebHook 拓展接口和连接认证 API