Book description
Avoid common API coding pitfalls and make test automation effortless with Postman and the Newman CLI
Key Features
- Learn the tenets of effective API testing and design with workflow testing and more
- Gain an in-depth understanding of Postman’s new and existing features, including Mock Servers
- Know when and how to use Postman to create high-quality APIs for software and web apps
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
- Find out what is involved in effective API testing
- Leverage Postman to improve the quality of you API
- Use data-driven testing in Postman to create scalable API tests
- How to create and use a Mock Server in Postman
- Verify and improve the quality of an API using contract testing
- Understand the basic principles of security testing
- Get to grips with functional and non-functional testing of an API
- Discover how to use industry standards such as OpenAPI and mocking
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
- Preface
- API Terminology and Types
- API Documentation and Design
- OpenAPI and API Specifications
- Considerations for Good API Test Automation
-
Understanding Authorization Options
- Understanding API security
- API security in Postman
- Summary
-
Creating Test Validation Scripts
- Technical requirements
- Checking API responses
- Setting up pre-request scripts
- Using environments in Postman
- Summary
- Data-Driven Testing
- Workflow Testing
- Running API Tests in CI with Newman
- Monitoring APIs with Postman
- Testing an Existing API
- Creating and Using Mock Servers in Postman
- Using Contract Testing to Verify an API
- API Security Testing
- Performance Testing an API
- Other Books You May Enjoy
- Index
Product information
- Title: API Testing and Development with Postman - Second Edition
- Author(s):
- Release date: June 2024
- Publisher(s): Packt Publishing
- ISBN: 9781804617908
You might also like
book
API Testing and Development with Postman
Explore the world of APIs and learn how to integrate them with production-ready applications using Postman …
video
API Testing with Postman
Postman is a powerful tool used to test web services and APIs. It allows you to …
video
Kubernetes for the Absolute Beginners - Hands-On
Starting from the fundamental concept of containers, the course gradually unfolds into a comprehensive guide on …
book
Mastering API Architecture
Most organizations with a web presence build and operate APIs; the doorway for customers to interact …