Project - Automated API Validation for a Weather Service
Goal
Create API tests that validate:
- status codes
- JSON schema/shape
- authentication (if applicable)
- timeouts and retries
Suggested workflow
- Pick a weather API (or your own mock service)
- Write contract checks
- Add negative tests (invalid city, missing key)
- Run in CI
Tips
- Don’t call real paid APIs in CI
- Use recorded responses or a local mock server
If this helped you, consider buying me a coffee ☕
Buy me a coffeeWas this page helpful?
Let us know how we did
