Testing Web APIs

Testing Web APIs

English | 2023 | ISBN: 978-1617299537 | 264 Pages | EPUB | 10 MB

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

In Testing Web APIs you will:

  • 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!

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.

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