Logo
30daysofpostman API Documentation

Day 06: Tests

Number of APIs: 2


Instructions for Day 6: Tests

  1. Get the challenge: Fork [the parent collection Day 06: Tests] to your own public workspace.
  2. Read the documentation: In your fork, select the first folder. Expand the context bar on the right to follow the instructions in the collection documentation.
  3. Submit your solution: Select the second folder Submit your solution and follow the instructions in the documentation to validate your solution.

Concepts covered

  • [Writing tests]
  • [Test snippets]

Additional resources

  • [Test script examples] in the docs
  • [Intro to writing tests - with examples] sample collection
  • Chai.js docs
  • Tests tiktok

Next challenge

  • [Debugging]


1. Tests - jokes

GET https://api.chucknorris.io/jokes/random



2. Submit your solution - submit

GET https://api.getpostman.com/collections/{{collection_uid}}



ENDPOINTS