Thanks a lot Pramod. I learned watching your video. For those who are getting wrong result in 25:20, Please print Arrays.toString(allBlogs) which get you all elements in array in String rather than printing array Address
very nicely explained. It cleared my doubts about the serialization concept. Good Job Pramod. Thank you for sharing ur knowledge. This is the best channel about API Testing that I have ever come across.
25:09 here you converted the GET response to an array of type BlogPost but it didn't work since you tried printing the object of that array.. So, insted of getting the desired result you ended up printing the address of the object of that array..
@@TheTestingAcademy it would be great if ypu also cover it in your videos.it would be good for those like me who are just beginners.i liked ur videos so useful .Million times thanks Pramod!👍
To set data Obviously we need to send data.So u have to write data in one or the other way , but if u have any file which has all data u need to add , then use excel reader/or anything with respect to ur file and in setter method send them using loop
Bro, I need some support on creating a framework using RestAssured, will you able to provide? Can I have your number so I can speak to you or any other sources to support me..... thanks Does RestAssured support binary files?
I have payload { "authorized users": [ { " first name" :" john", "last name":" kesly" } ] } Map arr=new LinkedHashMap(); arr.put("first name","john"); arr.put("last name","kesly"); Map body=new LinkedHashMap(); body.put("authorized users",arr); given().contentType("application/json").body(body); When I hit this I am getting error { "reason": Invalid type: object (expected array)" } How to resolve this issue? In this case how to convert map into array ? How to write a code for this ? Can you please help me on this ?
Thanks a lot Pramod. I learned watching your video. For those who are getting wrong result in 25:20, Please print Arrays.toString(allBlogs) which get you all elements in array in String rather than printing array Address
very nicely explained. It cleared my doubts about the serialization concept. Good Job Pramod. Thank you for sharing ur knowledge. This is the best channel about API Testing that I have ever come across.
thanks man, you saved and made my day.
Good work bro... appreciate ur efforts...
Thanks for the awesome feedback ❤️
You explained very well!! One quick question- When we use JSONPath and when we use Serialization and Deserialization?
jab payload bht big hai then we should use pojo.
25:09 here you converted the GET response to an array of type BlogPost but it didn't work since you tried printing the object of that array.. So, insted of getting the desired result you ended up printing the address of the object of that array..
Can you please explain me i have lenghy json code but i have to convert java object but i am getting confusions how to do
Email at contact@thetestingacademy.com
@@TheTestingAcademy can you tell me how to do the file is not delivering through mail
@@TheTestingAcademy can you send again mail id
@The Testing Academy What if I change the user variable name ? how basically it map internally ?
Pramod you set data for one person right? what if i need to set data for 100 people?should i set data 300 times??? Can you plzz reply me ,plzzzzzz?
You can se loop to do that
@@TheTestingAcademy it would be great if ypu also cover it in your videos.it would be good for those like me who are just beginners.i liked ur videos so useful .Million times thanks Pramod!👍
To set data Obviously we need to send data.So u have to write data in one or the other way , but if u have any file which has all data u need to add , then use excel reader/or anything with respect to ur file and in setter method send them using loop
@@bindunagaraj123 can u show me in practise plzzz if u havw anything like that plzzz.
After deserializing all blockposts how do you validate them with expected data???
Use loop
it would be great to give a link to the github repository. Thanks
Github.com/apitestingco
Github.com/pramoddutta
@@TheTestingAcademy thanks man 👨
Bro, I need some support on creating a framework using RestAssured, will you able to provide? Can I have your number so I can speak to you or any other sources to support me..... thanks
Does RestAssured support binary files?
Email at contact@thetestingacademy.com
I have payload
{ "authorized users":
[ {
" first name" :" john",
"last name":" kesly"
} ]
}
Map arr=new LinkedHashMap();
arr.put("first name","john");
arr.put("last name","kesly");
Map body=new LinkedHashMap();
body.put("authorized users",arr);
given().contentType("application/json").body(body);
When I hit this I am getting error
{
"reason": Invalid type: object (expected array)"
}
How to resolve this issue?
In this case how to convert map into array ?
How to write a code for this ?
Can you please help me on this ?