REST Assured Beginner Tutorial 6 | GET & POST

preview_player
Показать описание
In this tutorial we will learn
How to create and run GET and POST API requests with REST Assured automation framework

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
#RestAssuredBeginnerTutorials

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can.

________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

-------------VIRTUALISATION-------------
------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ BUILD TOOLS ------------

------------ OTHERS ------------

----------- Connect with Raghav ------------

Please share this knowledge with everyone
If my work has helped you consider helping an animal near you in any ways you can

Never Stop Learning
Raghav
Рекомендации по теме
Комментарии
Автор

Hello bro I learnt this in 30 mins you are an absolute legend, 🎉

TravelNow-vlfh
Автор

Your a gem to the Automation Community & Bread n butter for many :)

akashmurumkar
Автор

Awesome Raghav.. You are blessed to teach this effectively. I can only say Thank You.. I regularly follow your videos to learn more about

SumanKumar-mnsg
Автор

Kindly update videos on hamrest matcher methods and rest assured class methods and so on which we use on rest api pls update in depth

saranyajothi
Автор

Greate website, I highly recommend it

AnhNguyen-zpiw
Автор

The type org.hamcrest.Matchers can't be resolved. It is indirectly referenced from required .class file, why I got this error message?

poojadhamale
Автор

Hi raghav, can you make videos for mobile testing using espresso and xctest

amadhavi
Автор

Hi Raghav, my requirement is to compare the responses of two end points in JSON using POST request. I have an old end point and a newer version. The result should be the same except few known values like Reference# which will be unique for each POST request. How to approach it? Also, I need test the same using 500 test data to run through both old and new end points and verify the results are same. Please help if there is a smart way of doing the comparison.

prabaldutta
Автор

sir, can you explain me what is the benefit i get if i join your channel?

shwetabolar
Автор

Hi Ragav,

How to initialize multiple RestAssured url in the same project without overriding each other?
I have multiple modules within same project which needs to communicate with entirely 2 different REST API systems. I want to use Rest Assured for both. could you please let me know the process to define multiple base URI and use it.

honeythakur
Автор

there is some caution in line number 42 and 43 as below where json contents are added into "request" object. Please can you give solution for this.

"Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K, V> should be parameterized"

abhijithkumar
Автор

Hi Raghav, How do I verify that the details are added using the POST method. I tried with the Single User GET request mentioned in the website but it gives a blank body as response. Please help.

soumendukhilar
Автор

Hi. I give error when i add json to pom.xml "json-simple:1.1.1"not found. Please help

ahmethalukbilgic
Автор

Hi Raghav, you are creating request json object and then parsing it to a json string as well. I was wondering that maybe the second step is not necessary as the request is already in a json request format. It is just to show that it can be parsed into another format, is that correct?

elmariscal
Автор

how to pass array of objects in body ex - [{"id":123, "first_name":"george"}, {"id":234, "first_name":"arun"}], can we use jsonobject in this case, any other ways of passing this, also what if body is object of arrays

kushalb.n.
Автор

When I used equalTo method I got error this method is undefined for type string

poojadhamale
Автор

While creating object for JSONOject and printing it out we can see that the sequence is not followed. How to create a json in which sequence is the way that we have specified?

MrManandevil
Автор

how do script when i want to take response from post api and send it to put api

krunalidedhia
Автор

Hello Raghav!!

I have a query related to payment portal in case of api
How can we do payments thru api
Scenarios:
We booked a hotel
We now have to do payment thru credit card
But this api request is asking for some encrypted data too
Which is dynamic in nature

How can we handle such scenarios

Please suggest

yuktibaheti
Автор

Hey Raghav, i am not able to write equalTo it's giving me an error i've imported everything as you mentioned

zahidullaghouri