We may earn an affiliate commission when you visit our partners.

Testing Web APIs

Mark Winteringham

Ensure your web APIs are consistent and bug-free by implementing an automated testing process.

In Testing Web APIs you

Design and implement a web API testing strategy

Set up a test automation suite

Learn contract testing with Pact

Facilitate collaborative discussions to test web API designs

Perform exploratory tests

Experiment safely in a downloadable API sandbox environment

Testing Web APIs teaches you to plan and implement the perfect testing strategy for your web APIs. In it, you’ll explore dozens of different testing activities to help you develop a custom testing regime for your projects. This practical book demystifies abstract strategic concepts by applying them to common API testing scenarios, revealing how these complex ideas work in the real world. You’ll learn to take a risk-driven approach to API testing, and build a strategy that goes beyond the basics of code and requirements coverage. Your whole team will soon be involved in ensuring quality!

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Web APIs are the public face of your application, and they need to be perfect. Implementing an automated testing program is the best way to ensure that your web APIs are production ready.

About the book

Testing Web APIs is a unique and practical guide, from the initial design of your testing suite through techniques for documentation, implementation, and delivery of consistently excellent APIs. You’ll see a wide range of testing techniques, from exploratory to live testing of production code, and how to save time with automation using industry-standard tools. This book helps take the hassle out of API testing.

What's inside

Design and implement a web API testing strategy

Set up a test automation suite

Contract testing with Pact

Hands-on practice in the downloadable API sandbox

About the reader

For dedicated software QA and testers, or experienced developers. Examples in Java.

About the author

Mark Winteringham is the OpsBoss at Ministry of Testing, where he teaches many aspects of software testing.

Table of Contents

PART 1 THE VALUE OF WEB API TESTING

1 Why and how we test web APIs

2 Beginning our testing journey

3 Quality and risk

PART 2 BEGINNING OUR TEST STRATEGY

4 Testing API designs

5 Exploratory testing APIs

6 Automating web API tests

7 Establishing and implementing a testing strategy

PART 3 EXPANDING OUR TEST STRATEGY

8 Advanced web API automation

9 Contract testing

10 Performance testing

11 Security testing

12 Testing in production

Read on Amazon
Read this for free with Kindle Unlimited

Save this book

Create your own learning path. Save this book to your list so you can find it easily later.
Save

Share

Help others find this book page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser