Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
API Testing and Development with Postman
API Testing and Development with Postman

API Testing and Development with Postman: A practical guide to creating, testing, and managing APIs for automated software testing

eBook
$36.99 $41.99
Paperback
$51.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

API Testing and Development with Postman

Chapter 1: API Terminology and Types

Learning something new can feel a little like falling over the side of a ship. Everything is moving and you can barely keep your head above water. You are just starting to feel like you understand how something works and then a new piece of knowledge comes out of nowhere and your whole world feels topsy turvy again. Having something solid to hold on to gives you the chance to look around and figure out where you are going. This can make all the difference in the world when learning something new.

In this chapter, I want to give you that piece of land to stand on. As with almost any specialty, API testing and development has its own terminology. There are many terms that have specialized meanings when you are working with APIs. I will be using some of those terms throughout this book and I want to make sure that you and I share a common understanding of what they mean. This will allow me to more clearly communicate the concepts and skills in this book and will give you that piece of solid ground to stand on as you try to learn how to do effective API testing and development. 

As much as possible, I will use standard definitions for these terms, but language is a byproduct of humans and human interactions and so there is some degree of messiness that comes into play. Some terms do not have clearly agreed-on definitions. For those terms, I'll share how I intend to use and talk about them in this book, but be aware that as you read or listen to things on the internet (or even just interact with teammates), you may come across others that use the terms in slightly different ways. Pay attention to how others are using a term and you will be able to communicate well. 

This book is not a dictionary, and so I don't intend to just write down a list of terms and their definitions. That would be boring and probably not all that instructive. Instead, I'll spend a bit of time on the theory of what an API is and how you test it. I will fit in some terminology explanations as we go. 

This chapter will cover the following main topics:

  • What is an API?
  • Types of API calls
  • Installing Postman
  • The structure of an API request
  • Considerations for API testing
  • Different types of APIs

By the end of this chapter, you will be able to use Postman to make API requests and have a good grasp of basic API terminology. You will also have the opportunity to work through an exercise that will help you cement what you are learning so that you can start to use these skills in your day-to-day work.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • 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

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 07, 2021
Length: 340 pages
Edition : 1st
Language : English
ISBN-13 : 9781800565739
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 07, 2021
Length: 340 pages
Edition : 1st
Language : English
ISBN-13 : 9781800565739
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $84.97 $96.97 $12.00 saved
API Testing and Development with Postman
$51.99
Git for Programmers
$54.99
C# 10 and .NET 6 – Modern Cross-Platform Development
$79.99
Total $84.97$96.97 $12.00 saved Stars icon

Table of Contents

18 Chapters
Section 1: API Testing Theory and Terminology Chevron down icon Chevron up icon
Chapter 1: API Terminology and Types Chevron down icon Chevron up icon
Chapter 2: Principles of API Design Chevron down icon Chevron up icon
Chapter 3: OpenAPI and API Specifications Chevron down icon Chevron up icon
Chapter 4: Considerations for Good API Test Automation Chevron down icon Chevron up icon
Section 2: Using Postman When Working with an Existing API Chevron down icon Chevron up icon
Chapter 5: Understanding Authorization Options Chevron down icon Chevron up icon
Chapter 6: Creating Test Validation Scripts Chevron down icon Chevron up icon
Chapter 7: Data-Driven Testing Chevron down icon Chevron up icon
Chapter 8: Running API Tests in CI with Newman Chevron down icon Chevron up icon
Chapter 9: Monitoring APIs with Postman Chevron down icon Chevron up icon
Chapter 10: Testing an Existing API Chevron down icon Chevron up icon
Section 3: Using Postman to Develop an API Chevron down icon Chevron up icon
Chapter 11: Designing an API Specification Chevron down icon Chevron up icon
Chapter 12: Creating and Using a Mock Server in Postman Chevron down icon Chevron up icon
Chapter 13: Using Contract Testing to Verify an API Chevron down icon Chevron up icon
Chapter 14: Design and Create an API Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(18 Ratings)
5 star 66.7%
4 star 16.7%
3 star 0%
2 star 5.6%
1 star 11.1%
Filter icon Filter
Top Reviews

Filter reviews by




DubleDOR Jul 02, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book helps make API testing with Postman clear as day.I found it to breakdown each step so clear especially for a someone new to Postman.It lays down a great foundation for you to get started followed by some technical details bringing your knowledge up to a sensible level.I would strongly recommend this book if you are looking for knowledge on and/or looking to expand on API testing with Postman.
Amazon Verified review Amazon
SharpRead Jul 21, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
If you wanna get cookin' with Postman, I recommend this book big time. The author does a real good job explainin' things in a nice friendly way. He keeps it practical with lots of examples ya can code along with. I went from zero to API hero following the hands-on projects. It gets ya building real quick so you can start developing and testin' APIs like a pro. It's the bees knees!
Amazon Verified review Amazon
Elizabeth May 16, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book really made API testing in Postman click for me. The language is so easy to read - As a tester, API's can seem scary and overly technical to learners like myself, so its really great to see someone has managed to demystify them in plain English.Also, I didn't spot a single typo or grammatical error - sounds a small thing but these really add up to a poor impression if they are consistently wrong, especially when you are addressing testers!The version of postman used for the book is the latest major release (version 8) which is handy, as is the Git repo which accompanies the book, so you have code examples to hand which you can easily import into Postman to help you follow along with the exercises in the book.The chapters are organised into 3 main sections: the theory, working with existing API's and developing new API's. As a tester, it is unlikely I will ever need to develop an API from scratch, so I really appreciate this bundling, as its easier for me to get to the meat of what I need to focus on. Saying that, the final chapter does still include mocking and contract testing, both things that I think are indeed valuable to an API tester.Postman as a tool is moving so quickly, and recent releases have seen improvements to collaboration and version-control. Public workspaces are now a thing, so I think the author has taken the right approach in focusing on the theoretical and core aspects of the Postman platform in relation to developing and testing API's, as those things won't change, making the book a useful go-to resource for the years ahead.
Amazon Verified review Amazon
Bhavani Jul 02, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really enjoyed reading this well-structured book about REST Assured API Testing, A complete road map to REST API automation using Java and TestNG. It's a great toolbox for everyone who wants to start his test automation journey with API. Lots of interesting examples suitable for all readers, they can adapt them to practice easily while reading the book which gives the reader, the feeling of "attending a workshop" rather than just "reading a book"Last but not least, well explained schema and images to explain the code of each concept plus the details in each step in the code "solving the why". It's direct to the point on each step that it is not easy for beginners in API, to understand them alone for the first time. Thanks for such an interesting book!
Amazon Verified review Amazon
nadia henze Jul 02, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Glad I received this book. So far I can't understand every part of the book since I'm still mastering manual testing but my next school I'm starting we will dive deep into it so I'm very happy I have very detailed book and many great examples, it's life changer. Thank you
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.