Robot Framework - API Testing - Validate Response (Status code)

preview_player
Показать описание
✪✪✪ API Testing using Robot Framework - Validate Status Code ✪✪✪
Robot Framework use requests library for REST API Testing

✪SUBSCRIBE & Click Bell to get regular updates of Testing World✪

Pre-requiste :
✍Install Python
✍Install Pycharm
✍Install Robot Framework
✍Create Project on Pycharm
✍Create Robot file

** Robot Framework Introduction **
Robot Framework : Acceptance Testing framework
Support keyword driven testing
We can use keywords to perform differnt task

Get Request : GET method (in REST API) is used to fetch data from application

✪Here we are going to make a GET Request of Rest API
✪Whatever response we are going to fetch, Store that response in a variable
✪Display Complete Response
✪Display Status Code
✪Convert Status Code To String
✪Validate Status Code

Keywords Used:
Create Session
Get Request
Log to Console
Should be Equal
Convert To String



You can get lifetime access to all 30+ Video courses (Selenium, JMeter, SoapUI, Python and many more) in RS 7000/- Only.
✆Call or WhatsApp now at +91-8743-913-121


✪✪✪ Robot Framework - API Testing ✪✪✪

#API Testing #Python Automation #API Automation #TestingWorld #Robot Framework

✪✪✪ Check out the video playlist here ✪✪✪

Robot Framework – Python: All Video Course Links

SoapUI Web Service Automation: All Video Course Links

Step by Step SoapUI: All Video Course Links

Robot Framework: All Video Course Links ✪✪✪

Selenium – Python

Thank you for watching the videos. Please subscribe to our channel Testing World!
Happy Learning!
Рекомендации по теме
Комментарии
Автор

Hi sir. Thank you very much for your tutorial.

BooSgu
Автор

Nice video, though, instead of converting the status code to string and then comparing, we can use, "should be equal as strings ${response.status_code} 200.

desikoala
Автор

Next session on validate json response I couldn't find. Is it feasible to validate json response and json schema in robot ?

VihaanKaarthik
Автор

How to get the auto suggestions of imported library keywords?

nadim
Автор

i did not find the student with that id i had to fetch from general content. is supose to?

touch
Автор

I thank you for share but I have a question that I don't see the way to check response content. So, How to verify response content?

HanhNguyen-oitl
Автор

Hi Sir, do youu have more videos on this?

ardravyakar
Автор

Hi Sir.Thanks for this video. How can I get response time ? I am getting error 'response' object has no attribute Time.

dhruvijiyani
Автор

could you please post a video to generate oauth2 token for rest API

simranpalsingh