API Testing and Development with Postman: A practical guide to creating, testing, and managing APIs for automated software testing
- Length: 340 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2021-05-07
- ISBN-10: 1800569203
- ISBN-13: 9781800569201
- Sales Rank: #1046601 (See Top 100 Books)
Explore the world of APIs and learn how to integrate them the production-ready applications using Postman and the Newman CLI
Key Features
- Learn the tenets of effective API testing and API design
- Gain an in-depth understanding of the various features Postman has to offer
- Know when and how to use Postman for creating high-quality APIs for software and web apps
Book Description
Postman enables the exploration and testing of web APIs, helping testers and developers figure out how an API works. With Postman, you can create effective test automation for any APIs. If you want to put your knowledge of APIs to work quickly, this practical guide to using Postman will help you get started.
The book provides a hands-on approach to learning the implementation and associated methodologies that will have you up and running with Postman in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, this book begins by taking you through the principles of effective API testing. A combination of theory coupled with real-world examples will help you learn how to use Postman to create well-designed, documented, and tested APIs. You’ll then be able to try some hands-on projects that will teach you how to add test automation to an already existing API with Postman, and guide you in using Postman to create a well-designed API from scratch.
By the end of this book, you’ll be able to use Postman to set up and run API tests for any API that you are working with.
What you will learn
- Find out what is involved in effective API testing
- Use data-driven testing in Postman to create scalable API tests
- Understand what a well-designed API looks like
- Become well-versed with API terminology, including the different types of APIs
- Get to grips with performing functional and non-functional testing of an API
- Discover how to use industry standards such as OpenAPI and mocking in Postman
Who this book is for
The book is for software testing professionals and software developers looking to improve product and API quality through API test automation. You will find this book useful if understand APIs and want to build your skills for creating, testing, and documenting APIs. The book assumes beginner-level knowledge of JavaScript and API development.
Table of Contents
- API Testing Theory and Terminology
- Principles of API Design
- OpenAPI and API Specifications
- Considerations for Good API Test Automation
- Understanding Authorization Options
- Creating Test Validation Scripts
- Data Driven Testing
- Running API Tests in CI with Newman
- Monitoring APIs With Postman
- Testing an Existing API
- Designing an API Specification
- Creating and Using a Mock Server in Postman
- Using Contract Testing to Verify an API
- Design and create an API