Get Help Log in to Postman
Test APIs

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

rate limit

Code not recognized.

About this module

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

Chapters40 mins

  • Test APIs
  • Write basic API tests
  • Advanced API tests
  • Test your knowledge
  • Quiz: Test APIs
  • Wrapping up
  • Resources
  • Recap

About this module

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

Chapters40 mins

  • Test APIs
  • Write basic API tests
  • Advanced API tests
  • Test your knowledge
  • Quiz: Test APIs
  • Wrapping up
  • Resources
  • Recap