Postman API Testing: Weather Forecast Validation | Status Code, JSON Response & Error Handling
Автор: Adarsh Nath Tripathi
Загружено: 2025-04-21
Просмотров: 285
Описание:
🔹 *Assignment Details:*
✅ *Objective:* Validate Weather Forecast API responses using Postman
✅ *Team:* Roll No. 31 & 40
✅ *Validations Performed:*
Response Time Analysis ⏱️
Status Code Checks (200 OK, 404 Not Found) ✔️
JSON Field Validation (City, Temperature, Humidity, Wind Speed, etc.)
Error Handling for Invalid City Input ❌
🔹 *API Workflow:*
1. Created a *mock Weather Forecast API* (e.g., using Mockoon/Postman Mock Server).
2. Tested *GET* requests with valid/invalid city names.
3. Verified JSON structure & value ranges (e.g., temperature in Celsius).
🔹 *Tools Used:*
Postman
Mock API (Mockoon/OpenWeatherMap alternative)
📌 *Gamification Task:*
Demonstrated successful & failed test cases with assertions.
Included response time benchmarks.
📂 *GitHub/Code Link:* [If applicable, add repo link]
👍 *Like, Share & Subscribe* for more API testing tutorials!
#Postman #APITesting #WeatherAPI #JSONValidation #SoftwareTesting #Assignment
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: