API Testing and Development with Postman – Second Edition: API creation, testing, debugging, and management made easy
$49.99
Price: $49.99
(as of Oct 04, 2024 05:55:37 UTC – Details)
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
– API Terminology and some different types of APIs
– Principles of API Design
– Open API Specifications
– Considerations for good API test automation
– Authorization Options
– Creating Test Validation Scripts
– Data Driven Testing
– Workflow Testing
– Running API Tests in CI with Newman
– Monitoring APIs with Postman
– Testing an existing API
– Creating and using a Mock Server in Postman
– Using Contract Testing to Verify the API
– API Security Testing
– Performance Testing an API
From the Publisher
Learn to speak the language of APIs
Starting with the fundamentals, this book will give you a primer on all the terminology you need to understand and talk about APIs with confidence. Beyond the language you need to speak about APIs, you’ll learn about the languages you need to speak to them, with coverage on API Specification Languages, including RAML, API Blueprint, and OpenAPI (previously Swagger).
You’ll learn what APIs really are, their origin, and all the different types of API calls that can be made using them. You’ll be introduced to Postman, learn how to set it up, and grasp the basics in a hands-on way by setting up your first API inside it. You’ll explore the different types of APIs you can create and work with, learn how to interact with them, how to break them, and then how to figure out what went wrong.
Speed up your workflow with automation
Learn the art of automating the right way. Not all testing is the same, and not everything is improved by automation. Let expert author Dave Westerveld use his many years of experience to guide you in picking which tests to automate and which ones will be better off left to a human.
When you’re ready, you’ll move on to learn the different types of tests you can automate, how to organize and structure them for the most useful business results, and how to make sure the automated tests you make are repeatable and maintainable.
Use data-driven testing and workflow testing to deliver outputs users need
Data-driven testing enables you to take a whole new approach to organizing your test automation that will let you build one test and use it to check many outcomes. This powerful technique will help you to learn a lot about the API you’re testing with relatively limited input and in a short space of time.
Workflow testing lets you analyze real-world business problems that often require users to call multiple endpoints, sometimes in succession. You’ll learn how to set up and use both linear and business workflows, practice using them in Postman, and even look at considerations for what to do when you need to design workflow tests that extend beyond Postman.
Brand-new for this edition—security and performance testing
Explore two brand-new chapters that will expand your horizons in the API testing space—API Security Testing and Performance Testing an API.
The first new chapter will introduce you to key security testing concepts; such as, what approaches you might take for different types of security testing, the OWASP API Security Project, and using fuzzing to find hidden vulnerabilities.
The second one gets you started with performance testing to ensure your APIs will work when they’re needed, even under unexpectedly high loads. You’ll cover the types of performance tests you can do, how to decide which ones to use and when, and then get your hands dirty by running your own performance tests in Postman.
Publisher : Packt Publishing; 2nd ed. edition (June 24, 2024)
Language : English
Paperback : 358 pages
ISBN-10 : 1804617903
ISBN-13 : 978-1804617908
Item Weight : 1.39 pounds
Dimensions : 0.55 x 7.5 x 9.25 inches
4 reviews for API Testing and Development with Postman – Second Edition: API creation, testing, debugging, and management made easy
Add a review
You must be logged in to post a review.
$49.99
A. Zubarev –
Become More Efficient and Productive Testing and Developing APIs
These days, APIs are ubiquitous, nevertheless, it is still difficult to discover their usage, capabilities and test them without a specialized tool.For many in the IT industry, it is hard to think of a more proliferated tool for the APIs testing and exploration than Postman.So why not to leverage it to its full potential and rip maximum benefits?This book is focused exactly on this.For myself, a daily user of Postman, many areas of remained obscure and hardly visited.This book broke into these areas guiding gently and affirmatively toward various useful goals of an IT practitioner (be it a developer or QA analyst).I liked how the author sets the stage in the book so it becomes easy for even a novice to approach APIs.The most useful parts of this book for me were on creating mocks, test automation and integration with CI.What remained uncovered, but I wished was fleshed out are the paid parts as working in teams (e.g. collaboration), cloud integration, flows, etc.Still a solid five.Fasten your belt and become more efficient and productive testing and developing APIs!
Salman Farsi –
Best resource for API developer.
“API Testing and Development with Postman, Second Edition” by Dave Westerveld is an excellent resource for anyone looking to deepen their understanding of API testing and development. The book is well-structured and covers a wide range of topics, from basic API terminology to advanced testing techniques.The book provides a thorough introduction to API testing, including different types of APIs, API documentation, and design principles. It also delves into more advanced topics like security testing, performance testing, and using mock servers. Each chapter includes hands-on exercises and real-world examples that help reinforce the concepts discussed. This practical approach makes it easier to apply what you’ve learned to your own projects. As the title suggests, the book focuses on using Postman for API testing. It provides detailed instructions on how to use Postman’s features effectively, making it a valuable guide for both beginners and experienced users. Dave Westerveld’s writing is clear and engaging, making complex topics accessible and interesting. The inclusion of personal anecdotes and practical advice adds a relatable touch.Overall, this book is a must-read for software testers and developers who want to enhance their API testing skills. Whether you’re new to API testing or looking to expand your knowledge, “API Testing and Development with Postman, Second Edition” offers valuable insights and practical guidance.
Allen Wyma –
Great Resource for Postman
I’ve been using Postman for sometime and wanted to learn more about how it works. This book was a fantastic resource and I’ve since upped my game in using Postman thanks to this book!
Giuseppe G –
Ho usato Postman per il mio lavoro per tanto tempo, ma grazie a questo libro ho capito che lo sfruttavo solo al 10%!Che siano state sviluppate da noi, o che invece si stia debuggando quelle sviluppate da terzi, testare le API è di fondamentale importanza.La cosa che mi ha piacevolmente stupito di questo libro è che condensa, in relativamente poche pagine, una quantità enorme di informazioni essenziali tali da poter sfruttare al 100% un software potente (e gratuito) come Postman.Il libro infatti, ha un taglio molto pratico, con la teoria essenziale nelle prime pagine e poi subito con le mani in pasta nel software.Attenzione però: questo libro non è un “semplice” manuale d’uso di Postman.Al contrario, l’autore è partito dagli scenari che normalmente si affrontano durante il lavoro quotidiano per presentare gli argomenti illustrati.Ed è questa la cosa che mi è piaciuta di più: da programmatore, mi sono subito ritrovato negli scenari illustrati nel libro, ho trovato immediatamente la soluzione agli stessi problemi o interrogativi che mi ponevo durante lo sviluppo delle mie API.Gli argomenti toccati sono tanti e vanno da quelli più semplici come le specifiche OpenAPI e la documentazione a quelli più complessi e avanzati come i mock server, la security e le performance.â Consiglio vivamente questo libro, ai tester ovviamente, ma anche agli sviluppatori: le nozioni apprese diventano utilissime sia in fase di sviluppo delle proprie API che in fase di test (e, a dire il vero, torna molto utile anche se si vuole studiare le API di terze parti…ð)