- Test APIs
-
Write basic API tests
-
Advanced API tests
- Test your knowledge
-
Quiz: Test APIs
- Wrapping up
-
Resources
-
Recap
Test APIs
Learn how to write different types of tests (including contract, integration and negative tests) to ensure that your API is working as expected in version 9
In this module, you will learn how to:
- Write test scripts to execute after the request
- Write test suites in JavaScript
- Write pre-request scripts to execute before the request
- Set, retrieve, and clear variable values with scripts
- Use dynamic variables insert dummy data
- Use assertions with objects and arrays