Python API Automated Testing
Tags
Summary
This book is suitable for junior and intermediate test engineers, people interested in the Python language, and those who want to improve their technical skills.
Editor's review
Who it's for
A good fit for
- Software testing beginners who want to systematically learn the basics of API automation testing
- Engineers with manual testing experience who want to move into automated testing
- Developers using Python who need to integrate testing
- Technical staff responsible for building or maintaining testing frameworks in a team
Not a good fit for
- Readers with no programming background at all and no exposure to Python
- People concerned only with UI automation testing and not API testing
Reading tips
- Read the first few chapters first to build a foundation in Python and HTTP, then practice the examples hands-on
- Use the code examples in the book to reproduce and modify them in a local environment to deepen understanding
- Consult the appendix or online resources to update tool versions and keep pace with technological change
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 作者简介
- 测试馒头铺品牌介绍
- 内容简介
- 序
- 前言 本书整体设计思想
- 1 本书整体设计思想
- 1.1 为什么要做懂技术的测试人员
- 1.2 为什么选择这本书
- 1.3 为什么选择Python
- 1.4 本书能给你带来什么
- 1.5 自动化代码的设计思路
- 1.6 补充知识点
- 2 接口基础
- 2.1 什么是接口
- 2.2 接口的分类
- 2.3 HTTP接口
- 2.4 接口测试
- 2.5 接口实例
- 2.6 补充知识点
- 3 接口手工测试
- 3.1 HTTP接口工具
- 3.2 Fiddler工具的使用
- 3.3 接口手工测试的用例设计
- 3.4 补充知识点
- 4 编程前的准备
- 4.1 Python环境准备
- 4.2 准备本地MySQL服务
- 4.3 补充知识点
- 5 用Python操作MySQL数据库
- 5.1 提前工作
- 5.2 操作MySQL数据库
- 5.3 本章所涉及的Python语法
- 5.4 PyCharm使用基础
- 5.5 补充知识点
- 6 用Python发送HTTP请求
- 6.1 准备工作
- 6.2 发送HTTP请求实例
- 6.3 本章所涉及的Python语法
- 6.4 补充知识点
- 7 用Python处理HTTP返回包
- 7.1 提前工作
- 7.2 处理HTTP返回包实例
- 7.3 本章所涉及的Python语法
- 7.4 补充知识点
- 8 用Python导出测试数据
- 8.1 提前工作
- 8.2 用Python导出测试数据
- 8.3 整体业务流程图
- 8.4 补充知识点
- 9 接口自动化起航
- 9.1 提前工作
- 9.2 代码之外
- 9.3 接口自动化起航代码
- 9.4 代码操作步骤
- 9.5 补充知识点
- 10 实际接口场景演示
- 10.1 提前工作
- 10.2 接口举例
- 10.3 准备与执行
- 附录A 本书用到的Python代码清单
FAQ
How much programming experience does this book require?
Can the examples in the book be used directly in real projects?
What distinguishes this book from other similar titles?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Public information on Wang Haoran is limited. What can be confirmed is that the library holds two works by this author, covering the fields of programming design and industrial technology respectively. Among them, Python Interface Automation Testing addresses the practical needs of software testing, discussing how to use Python to carry out automated testing at the interface level; Inverter Application Technology belongs to the industrial technology field and focuses on the practical application of inverters. Judging from these two works, Wang Haoran's writing spans both information technology and industrial settings, with an emphasis on practical implementation and hands-on operation rather than abstract theoretical exposition, and is aimed mainly at engineers and technical personnel who need to put these methods to use. Since no clear records exist regarding dates of birth and death, nationality, or professional identity, no speculation is made here; the above remarks are confined to the subjects and orientation of the works.