Day 13: Mock servers

Number of APIs: 3

Instructions for Day 13: Mock servers

  1. Get the challenge: Fork the parent collection to your own public workspace.
  2. Read the documentation: 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 and follow the instructions in the documentation to validate your solution.

Learning objectives

  • Use mock servers to prototype scenarios
  • Explain consumer-driven contract testing using mocks
  • Establish a process for snapshot testing using mocks
  • Generate boilerplate code to replicate API calls

Concepts covered

  • [Set up mock servers]
  • [Generate code snippets]

Additional resources

  1. Mock servers - mock dad jokes GET https://10596ce8-7859-486c-8035-d82383d139fa.mock.pstmn.io

  2. Mock servers - dad jokes GET https://icanhazdadjoke.com/

  3. Submit your solution - submit collection GET https://api.getpostman.com/collections/25941648-7e596cdd-a951-48bb-b441-21b42514a77a