24. Introduction to Json Path in Rest Assured
Вставка
- Опубліковано 14 бер 2021
- JsonPath is an expression to navigate to a node in JSON document. It is very much needed to fetch values from a JSON to validate JSON response in API Testing. I have covered the basics of JsonPath in this video.
GIT Repo - bitbucket.org/makeseleniumeas...
If you do not like my contents please share your feedback so that I can improve myself.
If you like my contents then please like, subscribe and share.
Thanks
Amod
Hi Amod, I want to learn java basics from you once again. Such a nice explanation.
Planning to create playlists of Java and Selenium after this.
@@RetargetCommon Java basics I know and it made learning Rest Assured easier but the way you explain concepts, I am feeling like learning it again.
Thanks for sharing your knowledge Amod. I think this is best API tutorial with lot of tips.
The way you try to cover small points is appreciable. Amod please start your online batches.
Thanks Arun. I have no plan to start my batches and every concept will be covered here like my blog. I just need support from you people.
@@RetargetCommon That is so nice of you Amod.
Thanks a lot Amod.If I have a dynamic json response ie in some cases that particular json element will display in other cases not,how can I handle it with JsonPath?
Hi, I will cover that concept in next video.
Please explain when we can get class cast exception in above case?
Noted. In next video I will cover that first. But just to give you an idea, class cast exception occurs when we are trying to cast a type to another type which is not proper. For example:- If we have a string “amod” and try to cast it to Integer, it will throw ClassCastException. It is a run time exception.
Can you share this ppt?
How can I use Json path when my response Json has different structure- Json Array of objects, not Usual Json objects
Example - my response Json looks like below
[
{
“Name” : “Rohit”,
“Code” : “Singapore”
},
{
“Name” : “Rahul”,
“Code” : “India”
}
]
Wait for upcoming videos. It will be covered in detail.
@@RetargetCommon Thanks for your response 😊 Awaiting for the upcoming videos !