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