JSON Schema Validation in Postman || Easy Way

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.

🔥 Website used – https://staging.engineer.ai

🔥 Download Notes https://sdet.live/notes

✅ 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 stands for JavaScript Object Notation
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
https://jsonschema.net/#/
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
Website: https://scrolltest.com
Website: https://thetestingacademy.com
Twitter: https://twitter.com/itstechmode

Leave a Comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.

🛑 Early Bird Discount : Exact Blueprint to Become SDET.Enroll now. (50% OFF),After $299
+ +

Where can we send your free guide?

0 Shares
Share
Tweet
Pin