wow, very nice videos, went through all videos Nishanth, your videos have many pieces of information. please do post more videos on RestAssured. Thank you.
I have similar implementation as part of my project, the problem is what if keys are non-static.. example, if "email" key is not present for "id" value 2 and 3 and retrieving the data using getters I am getting null pointer exception.. any help how to resolve this please.
Hi, Thanks for your video when i tried to use your repo ( downloaded from git from provided git url ), in reports getting unknow status first later pass and remaining status getting , May i know i to resloove that.
Nicely Explained Nishant! You made REST ASSURED very Easy with these all set of Videos. One things is - In framework of github I did not get this package of Deserialization. Are you Planning to upload that as well ? It will be great to learn and practice.
Hi Sampada, Glad you liked it. I will upload code to same repo soon. Stay tuned with fun doo testers for more exciting videos on API automation. Please Share with your friends too.
Hi , I watched all your videos, it was great explanation over the framework,, thank you so much. I feel one part is missing regarding data provider concept how to achived in rest assured framework, hope you would make video for same. Thanks in advance 👍
Very well explained, especially I liked the nested json taken for example..Have a question, plz tell me How to compare the response values (i.e.entire body in for main json and inner json i.e. using both the pojo classes from your example) in one shot with my expected values. ?
Thanks for watching the video varnita. You mean get(), nothing I have passed inside bracket. Right? If I got the correct questions then answer is I have pass entire Uri as a baseuri. You can split from /users?page=2 like that and pass same in get method
Instead of creating many pojo classes how to get any key value . You have an old video ' How to parse dynamic and nested JSON in java? ' . But in that video you have taken method return type as void. So I can't get the value in other class .
Very nice video. Thanks, and it will help me a lot. I have one question, this is for only one-page; what if I suppose to do for 2nd page what should be the strategy? The same POJO classes need to create for 2nd page to get all users and the count id for all users i.e. 12?
Thanks for the watching video. If you are hitting same request for multiple page then no need to create multiple POJOs for the same. You can store data as a object or somewhere after hitting request. Ser-Deseril concepts are only for if you are working on a singl ton class
@@FunDooTesters suer I will do it and Thank you so much for the answer! I have another question, I am working on allure reports and in my office req. Is allure json is stored in DB and I want to generate report from that json file as input to the allure report , how to do that , can you Please help me with this.
Hi, Nice video as allways! I have a question: How can I combine this deserialization with the one in your video of the complex json parsing? I have to assert the complex json response of a rest service and I don't know how to use de complex parser as a custom deserializer.
Both are different concept. Ideally when you are using same data for multiple classes using singleton design that time de serialization/serialization help, but for data usage in same class thn parsing is a best option.
Hey I have gone through all this video series. Nicely explained. I have request, can you cover cucumber in this framework? This will be helpful for me and others as well. Thanks
Nice vidio and nice explanation, can you please clear my dought when we should go for pojo classes or when we can do with Hashtable or map. Like in selinium data driven testing with Json which method is suitable to create pojo classes or calling static method which return Hashtable values to dataprovider.
Hi Prakash, Thanks for watching a video. Very good question. If you wants to re-use request/response body as a singalton class by that time we can use POJO concept. Other wise for same class when you are going to use response body then you can use map/json object.
[ { "Message": "Number of pincode(s) found:5", "Status": "Success", "PostOffice": [ { "Name": "Bhandup Ind. Estate", "Description": null, "BranchType": "Sub Post Office", "DeliveryStatus": "Non-Delivery", "Circle": "Maharashtra", "District": "Mumbai", "Division": "Mumbai North East", "Region": "Mumbai", "Block": "NA", "State": "Maharashtra", "Country": "India", "Pincode": "400078" }] } ] this is the response from one API how to map it to POJO.Please Help
One of the best on youtube.... simple easy and very straight forward solutions... Thank you very much sir. Really appreciated your help on this topic.
Glad it is helpful
I have seen lot many videos before on serialization/De-serialization, found your way of explanation is very simple.. Thanks for helping!!
Excellent Playlist for API Automation Framework. I have learnt the basics and important concepts. Thanks Nishant.
Thank you Dhamodharan, glad you like it. Stay tuned with fun doo testers and share with your friends too.
Nicely explained ,easy to understand.
wow, very nice videos, went through all videos Nishanth, your videos have many pieces of information. please do post more videos on RestAssured. Thank you.
awesome turotial ,here we are deserializing the response right
Yes
I have similar implementation as part of my project, the problem is what if keys are non-static.. example, if "email" key is not present for "id" value 2 and 3 and retrieving the data using getters I am getting null pointer exception.. any help how to resolve this please.
Hi, Thanks for your video
when i tried to use your repo ( downloaded from git from provided git url ), in reports getting unknow status first later pass and remaining status getting , May i know i to resloove that.
Very informative bro
Thanks buddy
Nicely explained. Great effort 👍
Thanks 😊
i am getting this error
Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`)
Nicely Explained Nishant! You made REST ASSURED very Easy with these all set of Videos. One things is - In framework of github I did not get this package of Deserialization. Are you Planning to upload that as well ? It will be great to learn and practice.
Hi Sampada,
Glad you liked it. I will upload code to same repo soon.
Stay tuned with fun doo testers for more exciting videos on API automation. Please Share with your friends too.
Hi , I watched all your videos, it was great explanation over the framework,, thank you so much.
I feel one part is missing regarding data provider concept how to achived in rest assured framework, hope you would make video for same.
Thanks in advance 👍
We are on it. Will be available soon. Thanks for watching 🙏
Very well explained, especially I liked the nested json taken for example..Have a question, plz tell me How to compare the response values (i.e.entire body in for main json and inner json i.e. using both the pojo classes from your example) in one shot with my expected values. ?
You have to go with json schema validation
very nice.... but I have question why there is not giving any resource information in get method
Thanks for watching the video varnita. You mean get(), nothing I have passed inside bracket. Right? If I got the correct questions then answer is I have pass entire Uri as a baseuri. You can split from /users?page=2 like that and pass same in get method
Hi..your sessions are good, but I have a doubt at one point..like listing/array in array,,, how to use..can you please explain.
In pojo you have to define same way
Instead of creating many pojo classes how to get any key value . You have an old video ' How to parse dynamic and nested JSON in java? ' . But in that video you have taken method return type as void. So I can't get the value in other class .
You can create a static list and add all values to it and call from outside
Very nice video. Thanks, and it will help me a lot. I have one question, this is for only one-page; what if I suppose to do for 2nd page what should be the strategy? The same POJO classes need to create for 2nd page to get all users and the count id for all users i.e. 12?
Thanks for the watching video. If you are hitting same request for multiple page then no need to create multiple POJOs for the same. You can store data as a object or somewhere after hitting request. Ser-Deseril concepts are only for if you are working on a singl ton class
@@FunDooTesters suer I will do it and Thank you so much for the answer! I have another question, I am working on allure reports and in my office req. Is allure json is stored in DB and I want to generate report from that json file as input to the allure report , how to do that , can you Please help me with this.
Hi, Nice video as allways!
I have a question: How can I combine this deserialization with the one in your video of the complex json parsing? I have to assert the complex json response of a rest service and I don't know how to use de complex parser as a custom deserializer.
Both are different concept. Ideally when you are using same data for multiple classes using singleton design that time de serialization/serialization help, but for data usage in same class thn parsing is a best option.
Hey I have gone through all this video series. Nicely explained.
I have request, can you cover cucumber in this framework? This will be helpful for me and others as well.
Thanks
Glad you liked it. Sure i'll cover.
@@FunDooTesters no videos after this? Please complete the framework
Apologies, we will update soon
@@FunDooTesters still waiting 😔
Nice vidio and nice explanation, can you please clear my dought when we should go for pojo classes or when we can do with Hashtable or map.
Like in selinium data driven testing with Json which method is suitable to create pojo classes or calling static method which return Hashtable values to dataprovider.
Hi Prakash,
Thanks for watching a video. Very good question.
If you wants to re-use request/response body as a singalton class by that time we can use POJO concept. Other wise for same class when you are going to use response body then you can use map/json object.
Very nicely Explained.Please also cover Oauth2.0 !!
Sure
Please make a video on JSON Schema validation using Rest Assured
Sure give me sometime, I'll upload
can you please create an vedio to combine API and UI testing in a single framework
Sure, give us sometime. We are planning to add sample framework for ui and API
Fun Doo Testers Thanks..that really helps
[
{
"Message": "Number of pincode(s) found:5",
"Status": "Success",
"PostOffice": [
{
"Name": "Bhandup Ind. Estate",
"Description": null,
"BranchType": "Sub Post Office",
"DeliveryStatus": "Non-Delivery",
"Circle": "Maharashtra",
"District": "Mumbai",
"Division": "Mumbai North East",
"Region": "Mumbai",
"Block": "NA",
"State": "Maharashtra",
"Country": "India",
"Pincode": "400078"
}]
}
]
this is the response from one API how to map it to POJO.Please Help
You can create like below
Class mainpojo
Message
Status
List
Class post office pojo
All keys of post offices
Database testing concept explain
Sure Give us some time
Getting java.lang.AbstractMethodError
Please share more details