APIs are an essential part of an increasingly large number of applications that we use daily. APIs enable applications to exchange data and functionality easily and securely. As testers, we want to ensure that our APIs do not break and provide the expected functionality. We can automate our APIs to speed up the rate at which our checks are done. When automating APIs having tests to ensure that your API returns the correct message and status is great, however, do you test for and automate the negative and edge cases for your APIs? In this talk, I will show you how to get started with automating APIs, a checklist of things needed to automate an API, automate negative tests for your API as well as check that your APIs handle errors appropriately, follow the specified schema, and don't reveal data that it shouldn’t or has certain security gaps. I will also share how to decide which tests you should be automating for your API and how to automate workflows for an API.
What You'll Learn
- Understand APIs
- Negative scenarios to automate for APIs
- Understanding and using schemas to validate your APIs
- Testing APIs in Postman
- API workflows
- API Testing Checklist
Head of Training and Development at QualityWorks
Julia Pottinger is the Head of Training and Development at QualityWorks with expertise in manual, automated and API testing and training which has helped companies enhance the quality of their software through improved test coverage, faster time to market, increased process efficiency and optimized use of resources.
Julia is passionate about sharing her knowledge and experience and contributes to the testing community through writing articles, and delivering testing content on Test Automation University as well as her Youtube Channel and blog. She also conducts testing bootcamps for persons interested in entering the field of QA.