In this video, we are covering JSON Schema validation in POSTMAN, It is very important that you add JSON Schema validation in your API Test of POSTMAN.
✅ Topics Covered –
🚀 What is JSON Schema – 00:00
🚀 Basic JSON Schema example – 1:00
🚀 JSON Schema Validation Data Types – 02:50
🚀 JSON schema validation in postman – 4:15
🚀 Overview of https://www.jsonschemavalidator.net/ – 07:37
🚀 Create your Own JSON Schema – 07:15
🚀 JSON Schema Additional properties, max min array – 12:00
🚀 JSON Schema Draft 07 – 13:00
🚀 JSON Schema Tiny validator – 15:00
🚀 JSON Schema AJV Demo – 20:21
🚀 CI/CD API Testing (SDET Blueprint ) 23:00
✅ What is JSON?
JSON is a lightweight format for storing and transporting data
✅ What JSON Schema
JSON Schema is a contract for your JSON document that defines the expected data types and format of each field in the response
✅ Why JSON Schema Validation required?
Using JSON Schema to construct a model of your API response makes it easier to validate your API is returning the data is should.
Monitor your API responses, ensuring they adhere to a specified format.
Get alerted when breaking changes occur.
✅ How to do JSON Schema Validation in Postman Step by Step?
Generate JSON Schema
Object Assertions and check REQD Properties. We do this so that every element in the JSON becomes mandatory.
Number Assertions and check Use number, not integer for all numeric instances
Configure and Test using Postman
✅ Notes about JSON Schema Validation – https://dynalist.io/d/eDFZUS1L8emTU5BbMYLYMHZi
✅ JSON Schema Documentation – http://json-schema.org/
API Used – https://reqres.in/api/users/2
✅ JSON Schema Creator Tool – https://jsonschema.net/
More About Tiny Validator – http://geraintluff.github.io/tv4/
Join Facebook Group : http://bit.ly/learntesting2019
- What is Mobile Testing? | Types of Mobile Testing | Mobile Testing Tutorial 1
- 5 Real Time Live Projects Web Automation Projects for Manual Testers
- How To Learn Python For Automation Testing From Scratch – Complete Roadmap
- How to Become Python Automation Tester (Selenium, API Testing, CI/CI) in 3 Months)