JSON Schema Validation: How to Validate JSON Schema with Postman?

Описание к видео JSON Schema Validation: How to Validate JSON Schema with Postman?

#API #APITesting #Postman #APITestingTutorials.

Buy the Full course Here - ►► https://www.udemy.com/course/learning... ◄◄

What is JSON ?
What is JSON Schema ?
Why JSON Schema Validation required?
Basic JSON Schema example
How to do JSON Schema Validation in Postman Step by step
Tiny Validator for JSON Schema v4


What is JSON?

JSON stands for JavaScript Object Notation
JSON is a lightweight format for storing and transporting data
JSON is often used when data is sent from a server to a web page
JSON is "self-describing" and easy to understand


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



Tiny Validator for JSON Schema v4

Use json-schema draft v4 to validate simple values and complex objects using a rich validation vocabulary
https://github.com/geraintluff/tv4









Notes about JSON Schema Validation - https://dynalist.io/d/eDFZUS1L8emTU5B...

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:   / itstechmode  

Full Postman Code - https://pastebin.com/C68BfMxi

🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌

✅Selenium Training and Certification -
https://scrolltest.com/go/edureka

✅Learn Jenkins for QA -
https://bit.ly/learnjenkins-p1

✅Programming Java -
https://bit.ly/learnjava2020-p1

✅Test Automation -
https://bit.ly/learnautomation2020

✅API Testing -
https://www.learnapitesting.com

✅Cypress Tutorial with LIVE Projects -
http://cypresstutorial.com

Комментарии

Информация по комментариям в разработке