API creation, testing, debugging, and management made easy
Dave Westerveld
API#
Postman#
API_Testing#
software_testing#
OpenAPI#
real-world#
Newman_CLI#
Avoid common API coding pitfalls and make test automation effortless with Postman and the Newman CLI
Key Features:
Book Description:
Postman is an invaluable tool for exploration and testing of web APIs and helping testers and developers figure out how an API works. With Postman, you can create effective test automation for any APIs, and this guide will help you unleash its full potential.
API Testing and Development with Postman is an invaluable resource for anyone who wants to create a good quality API, but isn't sure how to go about it. This guide will help you unleash the full potential of Postman's test automation capabilities.
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. After you've familiarized yourself with the theory, you'll move on to hands-on projects that will teach you how to add test automation to an existing API. You'll also learn some of the new and powerful features that Postman has that can help you avoid introducing bugs.
This second, fully updated edition features new chapters on workflow testing, creating and using mock servers, API security testing, and performance testing. The new and expanded information in this edition will help you future-proof your APIs.
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:
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'll also find this book useful if you have a basic understanding of APIs and want to build your skills for creating, testing, and documenting them. The book assumes beginner-level knowledge of JavaScript and API development.
Table of Contents
Chapter 1: API Terminology and Types
Chapter 2: API Documentation and Design
Chapter 3: OpenAPI and API Specifications
Chapter 4: Considerations for Good API Test Automation
Chapter 5: Understanding Authorization Options
Chapter 6: Creating Test Validation Scripts
Chapter 7: Data-Driven Testing
Chapter 8: Workflow Testing
Chapter 9: Running API Tests in CI with Newman
Chapter 10: Monitoring APIs with Postman
Chapter 11: Testing an Existing API
Chapter 12: Creating and Using Mock Servers in Postman
Chapter 13: Using Contract Testing to Verify an API
Chapter 14: API Security Testing
Chapter 15: Performance Testing an API
About the Author
Dave Westerveld is a developer with many years of testing experience. He has been involved in the testing of numerous projects and he excels at solving automation problems in team environments. He has worked with well-established products and early-stage initiatives, and he is passionate about using automation to improve product quality and to help teams work more efficiently in developing high-value software. Dave has also worked as a developer integrating third-party APIs into applications. Having worked on both the testing and development sides of the SDLC, he has an intimate knowledge of what it takes to create quality code.