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.
This workshop is geared toward persons who are new to API automation, who want a refresher or want to learn how to automate APIs using PactumJS (a JS framework). In this workshop, you will learn how to get started with automating APIs using PactumJS (a JS framework). We will be writing test automation for the restful-booker and the SpaceX-graphQL API.
The workshop will cover how to automate common API requests (GET, POST and PUT), negative tests for your API as well as check that your APIs handle errors appropriately and follow the specified schema.
During this workshop, you will also learn how to automate workflows for an API.
What Happened
Select a session to learn more about it.
Automating APIs With JavaScript
What
99 Minute WorkshopDescription
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.
This workshop is geared toward persons who are new to API automation, who want a refresher or want to learn how to automate APIs using PactumJS (a JS framework). In this workshop, you will learn how to get started with automating APIs using PactumJS (a JS framework). We will be writing test automation for the restful-booker and the SpaceX-graphQL API.
The workshop will cover how to automate common API requests (GET, POST and PUT), negative tests for your API as well as check that your APIs handle errors appropriately and follow the specified schema.
During this workshop, you will also learn how to automate workflows for an API.
Takeaways
- Automate common API requests
- Check that your APIs handle errors appropriately
- Check that your APIs follow the specified schema
- Automate workflows for an API
Prerequisites
In order to participate in this workshop, you would need to bring your laptop and have the following prerequisites:
-
Have an understanding of Javascript
-
Ideally (but not a must-have) carried out manual API tests before
-
Postman installed
Recommended courses for support
Speaker
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.