|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/api-testing-python/
课程评论:没有评论
课程名称:逐步学习使用 Python + Pytest + Allure 进行 REST API 测试 课程概述:本课程旨在帮助学习者从零基础掌握 REST API 测试的自动化技能,重点使用 Python 编程语言。课程特别针对软件测试的需求设计,将涉及执行自动化所需的各种 API 测试库。Python不仅用于网页浏览器自动化,还可用于数据处理,例如从 Excel 文件中读取和验证数据,提取网页文本,批量文件处理等。 课程内容包括: 1. **HTTP 方法的基础知识**:讲解 REST 架构中常用的 HTTP 方法: - GET:只读资源访问 - PUT:更新现有资源或创建新资源 - DELETE:删除资源 - POST:创建新资源 2. **API 测试与自动化基础**: - 发送 REST 请求的方式 - API 概念,SOAP 与 REST 的区别 - CRUD 操作及其实现 - 微服务的基本理解 - 授权方式 (如 BASIC 和 OAUTH) - 处理请求头和前置条件 3. **高级概念**: - Python 脚本环境的搭建 - 基础 Python 编程 - 条件处理及循环 - 使用 OpenPyXL 处理 Excel 文件 - JSON 和 CSV 文件处理 - PyTest 框架的使用 - 发送不同类型的请求和断言响应数据 - Allure 报告生成 - 数据驱动框架和关键字驱动框架的概念 4. **实时场景**: - 学生注册的完整流程 - 请求链的实现 - 生成报告的最终执行与分析 - 在 Jenkins 中运行 API 测试 - 使用 GIT 进行代码管理 - 在实时 API 应用上的场景实现 - 一键执行的场景构建与命令行执行 本课程适合希望掌握 REST API 测试自动化的学习者,从基础到高级内容应有尽有,确保您能够全面理解并应用所学知识。
Looking to Automate REST API Testing using Python ? Then you are on the right place.This course will help you to understand API & Python programming from Scratch to Expert Level. It is specially designed by keeping Software Testing in mind so almost all already/libraries of API Testing using Python which are required in automation would be covered in his course.Python in not just use for web browser automation but also can use for following➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖Read Search & validate data in excelHave to pull text off of several web pages?Copy thousands of files from one location to anotherPerform repeatable tasks in single click Rename multiple files & folders within a second.We are going to cover following well known HTTP methods are commonly used in REST based architecture.GET - Provides a read only access to a resource.PUT - Used to update a existing resource or create a new resource.DELETE - Used to remove a resource.POST - Used to create a new resource.➖➖ BASICS OF API TESTING AND AUTOMATION ➖➖Learn how to send REST Requests What is API, Different Between SOAP and REST APIDifferent CRUD Operation and Its ImplementationGET POST PUT DELETEBasic understanding of MicroServicesAuthentication approaches (BASIC,OAUTH)How to Handle Header & Pre-requisite➖➖➖➖ ADVANCE CONCEPTS ➖➖➖➖How to Setup Environment for Python ScriptingWrite basic Python ProgrammingCondition Handling, LoopingWorking with Excel File (OpenPyXL)How to Handle JSON fileBasic to advance JSON PathHow to Handle CSV fileJSON ParsingPyTest FrameworkSend different types of requestsAssert Response DataAllure ReportingData Drive n FrameworkKeyword Driven frameworkAssertionsRequest Channing ➖➖➖➖ REALTIME SCENARIO ➖➖➖➖End to End Student Student EnrollmentRequest ChainingFinal execution with report generation and analysisRun API tests in JenkinsCode Management using GITScenario implementation on RealTime API ApplicationEnd to End Scenario building and once click executionCollection Execution from command prompt