Learn API Testing with Postman and Python Requests Module

所在平台: Udemy

课程主页: https://www.udemy.com/course/learn-api-testing-with-postman-and-python-requests-module/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**Coursera 课程总结:使用 Postman 和 Python Requests 模块学习 API 测试** 这门课程旨在帮助您从零开始掌握 REST API 测试,无论您是初学者还是拥有手动测试经验。课程共分为三个主要模块,涵盖了 API 测试的核心概念、Postman 的实际应用以及 Python Requests 库的自动化测试能力。 **核心内容概览:** * **模块一:API 测试导论** * 理解客户端-服务器架构、API 的定义及重要性。 * 区分 SOAP 和 REST API,并深入学习 REST API 的核心概念,包括 HTTP 方法、状态码和 HTTPS。 * **模块二:使用 Postman 进行 API 测试** * 掌握 Postman 的安装、设置、工作空间和集合等基础操作。 * 学习发送 HTTP 请求、验证响应(状态码、头部、Cookie)以及使用 JSON Schema 进行验证。 * 掌握数据处理、集合导入导出、JSON Path 和 Chai Assertion。 * 学习使用 Pre-request Script 和 Test Script 进行自动化脚本编写,实现变量使用、请求链式调用和数据驱动测试。 * 了解 API 认证技术(Basic, Digest, Bearer Token, OAuth2)。 * 通过一个模拟在线商店的迷你项目,实践 API 文档阅读、测试用例编写、集合创建和运行。 * 学习使用 Newman CLI 进行命令行执行和集成 CI/CD 工具(如 GitHub Actions)。 * 了解 Mock Server 的创建和 API 性能测试(Load Tests)。 * 学习 GraphQL API 的基础概念、查询和突变,并在 Postman 中进行测试。 * **模块三:使用 Python Requests 库进行 API 测试** * 学习 Python Requests 库的基本用法,包括设置环境、使用 pytest 进行项目初始化。 * 掌握发送 HTTP 请求、处理请求 Payload、路径和查询参数、Headers 以及 Cookies。 * 学习 API 身份验证(Basic, Digest, OAuth1 & OAuth2)以及文件处理和响应解析(JSON & XML)。 * 深入学习高级概念,如 API 链式调用、序列化、Request/Response Builders 以及日志记录。 * 学习在 Python 中使用 Requests 库进行 GraphQL 查询和突变。 * 构建一个规范的 Python API 测试框架,包含文件夹结构、路由、Schema、模型和 POJO 等。 * 学习使用 Extent 和 Allure 生成测试报告,并实现 pytest 的串行和并行执行。 * 学习 CI/CD 集成,包括 Git & GitHub 的使用以及 Jenkins Pipeline 的配置。 **课程特色:** * **100% 实操:** 课程强调实际操作,通过动手实践加深学习。 * **初学者友好:** 无需先验的编程或 API 经验,零基础即可学习。 * **全面覆盖:** 从基础概念到高级自动化框架和 CI/CD 集成,内容全面。 * **实战项目:** 通过在线商店项目,获得真实的项目开发和测试经验。 * **热门工具:** 掌握 industry-standard 的 Postman 和 Python Requests 库。 **适合人群:** * 转型到自动化测试的手动测试工程师。 * 希望提升 API 测试技能的 QA 工程师。 * 想学习 Postman 和 Python 进行测试的初学者。 * 需要编写和验证 API 测试的开发者。 * 从事 REST 或 GraphQL API 测试的测试人员。 **先决条件:** * 无需任何编码或 API 经验。 * 具备基本的软件测试知识会是加分项。 * 拥有可上网的电脑。

课程评论(0条)

课程详情

Course: Master REST API Testing from Scratch Using Postman and Python requests Module Instructor: Mr. Madan (Well experienced trainer having more than than 10+ years of experience in test automation tools and as a trainer.Course Description:Are you looking to become a professional API Tester? Whether you're a beginner or someone with manual testing experience, this course will help you master REST API testing using two powerful tools: Postman and Python's requests module.From understanding the fundamentals of APIs and HTTP methods to building advanced automated testing frameworks and integrating with CI/CD tools like Jenkins and GitHub Actions, this course is 100% hands-on and beginner-friendly.You'll also work on a real-time mini project simulating an online store and gain practical experience with both Postman GUI and Python scripting. By the end of the course, you'll be confident in testing APIs, automating tests, validating responses, and running tests in continuous pipelines.What You'll Learn:REST API basics, HTTP methods, status codesPostman Collections, scripting, and test automationData-driven testing using JSON/CSVAPI Authentication (Basic, Bearer, OAuth2)GraphQL API TestingWriting API tests using Python's requests libraryFile upload/download, JSON/XML parsingBuilding a Python-based API Testing FrameworkCI/CD integration using Jenkins, GitHub Actions, Newman, and Postman CLIExtent & Allure reportingCourse Contents:Module 1: Introduction to API TestingClient-Server ArchitectureWhat is an API?Importance of API TestingSOAP vs REST APIsREST API Concepts: HTTP Methods, Status Codes, HTTPSModule 2: API Testing Using PostmanGetting Started with PostmanInstallation & SetupWorkspaces, Collections, HTTP Requests Response Validation TechniquesStatus Codes, Headers, CookiesJSON Schema Validation Data Handling and UtilitiesImport/Export CollectionsJSON Path, Chai AssertionsDummy APIs with JSON Server Advanced Postman FeaturesScripts: Pre-request, TestUsing Variables (Global, Local, Env) Test Automation in PostmanRequest ChainingData-Driven Testing with JSON/CSVFile Upload & Download API Authentication TechniquesBasic, Digest, Bearer Token, OAuth2 Mini Project: Online Store API TestingReading API DocsWriting Test Cases, Collections, and ScriptsRunning and Scheduling Collections CLI & CI/CD IntegrationNewman CLI: HTML Reporter, CMD ExecutionPostman CLI: GitHub Actions Integration, Automation Documentation & MockingPublic Docs in MarkdownSwagger & cURL BasicsCreating Mock Servers API Performance Testing in PostmanLoad Tests, Load ProfilesData Injection into Virtual Users GraphQL API TestingGraphQL Basics, Queries, MutationsGraphQL in PostmanModule 3: API Testing Using Python - Requests Library Introduction to Python RequestsEnvironment SetupUsing pytest, Project Initialization Writing API ScriptsHTTP Methods with PayloadsPath & Query Params, Headers, Cookies API Authentication TechniquesBasic, Digest, OAuth1 & OAuth2 Handling Files & Parsing ResponsesFile Upload/DownloadJSON & XML Parsing, Schema Validation Advanced ConceptsAPI Chaining, SerializationRequest/Response Builders, Logging Working with GraphQL in PythonGraphQL Queries & Mutations with Requests Building a Python API Testing FrameworkFolder Structure (Maven-style)Routes, Schemas, Models, POJOsConfig, Payload BuildersWriting & Validating TestsHTML (Extent) & Allure ReportingSerial & Parallel Execution with pytest CI/CD IntegrationGit & GitHubJenkins Pipeline for API Testing Who This Course is For:Manual testers transitioning to automationQA Engineers looking to upskill in API testingBeginners aiming to learn Postman and Python for testingDevelopers needing to write and validate API testsTesters working on REST or GraphQL APIsRequirements:No prior coding or API experience requiredBasic understanding of software testing is a plusA computer with internet access

课程标签

0人关注该课程

主题相关的课程