Tags: Rest Assured Rest API Automation Fun Doo Testers How To Automate Rest Api Using Rest Assured rest api automation using selenium RestAssured rest assured api testing framework how to parse dynamic json in java java json parser java parse json string jackson jsonobject api testing interview questions api testing api testing tutorial for beginners rest assured api testing rest assured api automation framework rest assured tutorial 50 api interview questions
Rest Assured is very popular in API Test Automation. REST Assured API can be used to invoke REST web services and match response content to test them. This video is about how we can parse JSON data to Java Object where keys are dynamically created.
β In this Rest-Assured video, we will be learning,
1. How to parse dynamic JSON?
2. How to parse nested JSON?
3. How to write a recursive Code?
4. Code debugging.
π₯π₯π₯ One to One connect with Fun Doo Testers : https://topmate.io/fundootesters
β If you like my videos, please consider buying me a coffee: https://www.buymeacoffee.com/fundootesters
Good books to read :
β Head First Java: https://amzn.to/2ZQlXqI
β Cracking Coding interviews: https://amzn.to/3bDX8Un
β For business write us on: Contact@fundootesters.com
β Say hello to us, and stay updated!
Facebook: https://www.facebook.com/fundootesters
Instagram: https://www.instagram.com/fundootesters/
LinkedIn: https://www.linkedin.com/company/fundootesters
Blog: https://medium.com/@fundootesters #Restassured #API #fundootesters
GitHub: https://github.com/Fundootesters/RestAssuredFramework
GEAR USE:
β My Camera: https://amzn.to/3e2UqL7
β Microphone: https://amzn.to/3bSUvOq
β Microphone:https://amzn.to/2ZXuo3s
β Tripod: https://amzn.to/2PqmTQN
DISCLAIMER
Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting me so I can continue to provide you with free content each week!
#Json #RestAssured #FunDooTesters
or
Question
top class,all youtubers are just validating status becz its easy ,no one is teaching how to parse body becz its difficult even they dont know,after searching found this gem
I have a scenario where i want parse the jsonobject and if id matches (i.e 123) i need to replace the name (ggg) . Input : [{"id":123","name"abc"},{"id"456":"xyz"}] and the output i'm expecting is [{"id":123","name"ggg"},{"id"456":"xyz"}] . I dont want to use to string replace . I need to parse and update the value.
Json string to java object conversion. But my java object has map in it along with other variables.
Map<String, Employee>
In that case how we can achieve it.
Thank you so much for sharing your knowledge with us!
God bless you!
what is it's advantage over jsonpath ?
Great explanation, thank you. but i have a problem.
I need to read dynamically a swagger definition (complex json file)
Then I will assign values retrieved from the JSONfile to ATTRIBUTES OF XML elements.
I have to retrieve data and keep dependencies between objects.
For example, I have to know all operationId and for each operation want to keep its information (responses, path, get or post..) and it referred to which tag.
THE JSON FORMAT IS AS BELOW
"paths": {
"/api/v1/users": {
"get": {
"tags": [
"user-controller"
],
"operationId": "getAllUsers",
"responses": {
"200": {}
"post": {
"tags": [
"user-controller"
],
"operationId": "getAllUsers",
"responses": {
"200": {}
"/api/v1/post": {
"get": {
"tags": [
"user-controller"
],
"operationId": "getAllUsers",
"responses": {
"200": {}
PLEASE WHAT CAN I DO ? thanks in advance
Great work Nishant! Expecting more Java videos like this scenario from you! thanks :)
this video is very helpful. thanks bhaiya!!!!
Hi Nishant, Thx for this lecture . Can you explain how to remove all attributes from the JsonObject if that contains as some specific value or empty or null value present ?
Sooper cool... But it is more better if you can adjust the subtitle... It will improves the readability..