Have you ever wished that you had a worked example of how to test a REST API? Not just automate the API, but how to interact with it, using command line and GUI tools, to support your manual interactive testing. Then take your testing forward into automating the API? That's what this book provides. A step by step case study How to read the REST API documentation.- How to tell if the application is using the API.- How to interact with the API from the command line with cURL.- Automating with BASH and Windows Command Line.- Sending API requests through an HTTP Proxy so you can see in detail the requests and responses.- How to use HTTP Proxies to create data in the application through Fuzzing.- Postman REST API GUI tool.- Automate 'under the GUI' parts of the application that don't have an API.- Automate the API with Java using REST Assured.- Build abstraction code to make your automated efforts readable and maintainable.- JSON and XML parsing with Serialization and Deserialization.The book is fully supported by executable code which you can find on GitHub, and the support page for the book has sample videos showing some of the early steps in the case study in detail. By working through this case study you will be able to interact with an API from the command line, GUI tools, HTTP messages in Proxies and with Java code. Over the last few years, the Author has used the Open Source Tracks application as an example testing target to Technical Web Testing, Automating GUIs and REST API Testing. This book collates the preparatory work and teaching from the REST API workshops. The code from the workshops is for creating users, generating random data, testing basic API calls with PUT, GET, POST and DELETE. Also the early steps of exploring and investigating the API interactively to support manual technical testing are explained in depth.
Protected by Amazon A-to-z Guarantee & generous return policies
Every book purchase is protected by the Amazon A-to-z Guarantee. This guarantee covers both the condition of your book and its timely delivery, providing full buyer protection whether you purchase directly from Amazon or from third-party marketplace sellers.
Generous 30-day return policy on physical books. Amazon makes returns effortless with self-service return labels, drop-off at thousands of local locations (Kohl's, Whole Foods, UPS Stores), and free return shipping on eligible book purchases.
Maximize your savings with competitive pricing, deep discounts on new and used marketplace copies, bundled textbook rentals, and exclusive member savings through Amazon Prime with free fast delivery.
Read your way across versatile digital and physical formats: instant delivery via Kindle eBooks, unlimited reading with a Kindle Unlimited subscription, audiobook listening with Audible (often featuring a 30-day free trial), or traditional paperback and hardcover editions.
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.
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.