当前位置:网站首页>pytest接口自动化测试框架 | 接口测试概述
pytest接口自动化测试框架 | 接口测试概述
2022-07-16 21:18:00 【COCOgsta】
视频来源:B站《冒死上传!pytest接口自动化测试框架(基础理论到项目实战及二次开发)教学视频【软件测试】》
一边学习一边整理老师的课程内容及试验笔记,并与大家分享,侵权即删,谢谢支持!
为什么要做接口测试?
- 尽早的进入项目中 前端 后端,不用等前端开发出来就可以介入测试
- 发现问题更加的全面 后端 web 安卓 ios
- 测试场景很自由 很安全
- 自动化测试 接口自动化 app自动化 ui自动化
- 前端:肉眼所能见到的界面
- 后端:数据 业务逻辑处理
什么是接口呢?
接口:提供数据服务和交付的一种形式,一种通道
餐厅吃饭
前端(用户名,密码) 接口 后端
我(辣椒炒肉,香葱煎蛋) 服务员 厨师
注意:接口是有规范的,要求的
服务员:餐厅://餐厅地址:餐厅门牌号:/包厢?客人要求
接口规范:网络协议://ip:port/path?args='辣椒炒肉'&&args2='香煎炒蛋'
有了接口 接口有参数 发送给服务器
请求方式:get查询 post提交 put上传/修改 delete删除
接口文档:这个接口,用什么方式发请求
做接口测试,我需要哪些步骤做接口测试?
- 接口地址 登录 注册
- 接口参数
- 发请求,请求方式 get post
- 响应内容回来
什么是接口测试 测试什么东西?
模拟接口发送请求 请求回来的内容是正确的还是错误的
用代码或者用工具去做接口测试?
边栏推荐
- Developers must see | devweekly issue 1: what is time complexity?
- [development of large e-commerce projects] cache distributed lock redisson concise & integration lock redisson resolve deadlock read / write lock lock lock semaphore-44
- C # network application programming, experiment 2: IP address translation and domain name resolution exercises
- Only 22 years old! This "Post-00" doctor plans to work in 985 universities!
- Send papers! AI, machine learning, CV boss scientific research project enrollment!
- Interviewer: tell me about the most valuable bug you found in your work
- Unpacking: what books are Ali technicians reading?
- C # network application programming, Experiment 4: thread management exercise
- Generate multiple databases at the same time based on multiple data sources and zero code, add, delete, modify and check restful API interfaces - mysql, PostgreSQL, Oracle, Microsoft SQL server multip
- 【决策樹】使用决策樹進行乳腺癌的診斷
猜你喜欢

Parker Parker proportional valve d1fve50bcvlb

Dialogue with machines, Ali Dharma academy challenges the new generation of man-machine dialogue Technology

Notes on scribbling questions in moher College -- SQL manual injection vulnerability test (mongodb database)
Cache design

Wechat applet -- applet introduction and tool installation configuration
![[development tutorial 1] open source Bluetooth heart rate waterproof sports Bracelet - Kit detection tutorial](/img/45/0e4b8a2049645d45a485804280b0c4.png)
[development tutorial 1] open source Bluetooth heart rate waterproof sports Bracelet - Kit detection tutorial

开发到底要不要转行软件测试?一篇足以 最全方位分析

(pytorch advanced road III) conv2d

6. JVM generational model -- garbage collection in the old age

Original Rexroth proportional valve 4wrba10w64-2x/g24n9z4/m
随机推荐
[remote desktop] rustdesk open source remote desktop, a substitute for TeamViewer and sunflower
Raspberry pie uses opencv for image tracking, face recognition, etc
[C language] explanation and Simulation Implementation of strlen function
过拟合 欠拟合
9、学会查看GC日志
Database design pattern of multi tenant SaaS
Original Rexroth proportional valve 4wrba10w64-2x/g24n9z4/m
如何设置三线表线条的粗细
There is no simpler and more practical single person pose estimation than this
Robotics xm430-w350 pan tilt motor usage record
Differences between user-defined hook and ordinary functions and function components
第四章 指令系统
6. JVM generational model -- garbage collection in the old age
Basic knowledge of common amplifiers (I)
3D point cloud course (III) -- clustering
Tableqa technology of Ali Dharma academy makes tables speak
Cloud native: docker's practical experience (IV) deploying redis three master and three slave clusters on docker
Leetcode -- intersection of two arrays 2
【Leetcode】232. Implement queue with stack
Interviewer: tell me about the most valuable bug you found in your work