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 ?
Hi Naveen, I watched all your API testing videos and it's really helped me a lot. Now my question is here Shall I use same approach you shown on API videos for API testing in my company. Or would you just suggest me to use some tools for API testing.
Hello Naveen... I was following your videos on api automation ...there is no proper series to learn api automation...you have uploaded up to part-5 .. only GET and POST has done... kindly upload remaining(Update and Delete) as well. Thank you much for uploading such videos I request you to please upload the complete api automation video's.
I get SSLHandshakeException while calling a secure connection. I want to use useRelaxedHTTPSValidation, how do I specify in BDD ? thanks. this video is a great start for me to learn RestAssured.
Hi Naveen, I am facing below issue....In the same test I am calling same post request for both create and update the data but before first request reaches data to database second request is calling due to that data is not getting properly.. pls let me know how to solve this ..I have used wait method in between create and update but it is temporarily solution .apart from this pls let me know the approach in reassured
Naveen , 4800rs is too much amount to learn simple API automation . do not you think so . if we go to Udemy we can get course in 800rs only. with basic serenity bdd framwork project.
You haven't seen the full course. It's not only about the rest assured. There are many other topics as well on API testing. And don't compare this course with other courses on udemy.
Hi Naveen, Thanks a ton for your videos of "API Automation using Rest Assured". This was nicely explained, very smooth with no interruption :) Can you please share if you have explained anywhere- Zephyr Integration with Rest assured using BDD Framework and integration with Bamboo or something like that? So that the status of the Test cases in Zephyr in JIRA is automatically updated after running my code.
How can I skip the information returned in response to the string variable and use it in a different endpoint get method? I would appreciate it if you could help
Abhishek Pandey TestNG can be implemented in BDD. I have implemented the same in my project. In a nut shell, I create a feature file using cucumber and the actual methods in TestNG framework. Hope that helps.
==================================================== ~~~Full Rest Assured API Automation Series ~~~: naveenautomationlabs.com/manual-automation-testing-of-webservices-api/ ====================================================
hi naveen as you said need not worry about the data is correct or weong but we need to worry about that we are getting some data , but what if the data is wrong as i can see the data is same for 2010 and so on, if the data is inncorrect then how aree we going to test the responces for the request.
Hello Naveen... I was following your videos on api automation ...there is no proper series to learn api automation...you have uploaded upto part-4 .. only GET and POST has done... kindly upload remaining as well ... Way of teaching is good ..great job thank you much for uploading such videos but my kindly resquest is please upload the complete api automation video's... earlier section you suggested Http client but in this u suggested rest assured.. I am beginner of api automation ..I am totally confused
Hi Naveen, we are unable to access Vimeo url mentioned by you , we are getting error " Gone baby Gone, sorry this page is no longer available" . Can you please help me
Thanks Naveen. I have a query, which is the best tool for framework for API automation. Currently am using SOAPUI, POSTMAN. Is Katalon a good option or rest- assured is better.
Hello Naveen, thanks for this video. As i am so new in REST Assured api automation so it would be very helpful to me. I have one query regarding the Automation framework setup in MAC, as in recent days i started working on MAC and i am facing one issue with PageFactory design pattern, when i am trying to perform any actions on the web elements i am getting 'NullPointerException' though object initialisation is correct. This issue is not reproducible in Windows only on mac i am getting this. So if you can provide some solution on it that would be very good. Thank You!
Hy Naveen, I am getting 500 internal server error when automating rest API testing but when hitting same API with postman tool.Please help how to get rid of it and what might be causes of this situation?
Hi naveen can you please do a video on put and delete method in rest api till now you have covered only get and post method so please do a video on put and delete method also Thank you
Hi Naveen, can you help me with the same api, when we have the condition to take access token(oAuth2.0), where we will mention the script to take this access token
==================================================== ~~~Full Rest Assured API Automation Series is available on Vimeo ~~~: vimeo.com/ondemand/webservicesapiautomation# ====================================================
@@naveenautomationlabs videos are not available in vimeo , get message page not exist, please share rest api with BDD framework videos or where to search that, please help
Hi Naveen, Sorry for the confusing comment! I live in New York I have an interview today at 230 pm. One of the requirement is the candidate should know Rest Assured, so I went to your blog I found a video Rest Assured -BDD framework. I really like wanted to more videos of your in this regards and to pay but I was not able find your video on Vimeo to have more information about rest assured to pass my interview successfully. By the way, it has been a while I am watching your video regarding different concept of automation. YOU ARE THE BEST NAVEEN!!!