Skip to content

Project - Automated API Validation for a Weather Service

Create API tests that validate:

  • status codes
  • JSON schema/shape
  • authentication (if applicable)
  • timeouts and retries
  1. Pick a weather API (or your own mock service)
  2. Write contract checks
  3. Add negative tests (invalid city, missing key)
  4. Run in CI
  • Don’t call real paid APIs in CI
  • Use recorded responses or a local mock server

pch.coffeeTagline

pch.coffeeCta

pch.feedbackHeading

pch.feedbackSubheading