How to do API Testing using Python - Write First Test Case with GET Request
Pre-Requisites:
Add these in cmd prompt
pip install requests
pip install -U requests
pip install jsonpath
pip install -U jsonpath
Code:
import requests
requestURL = "https://reqres.in/api/users/2"
response = requests.get(requestURL)
print(response.content)
Chapters:
0:00 - Introduction to the video
0:14 - Increasing the font size in PyCharm
0:37 - Installing the packages of requests and jsonpath
2:01 - Simple program of GET Request with execution
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
► 1. Javascript - • Javascript Factory
► 2. Puppetter - • Puppeteer
► 3. Cypress - • Cypress
► 4. Tech works - • Video
► 5. Vbscript Basics To Advanced - • VBScript Part 1 - Features Advantages Dis...
► 6. Jmeter - • Jmeter Tutorials
► 7. Excel - • Videos On Excel
► 8. Appium - • Appium
► 9. Shares - • Shares
► 10. Javascript Interview Questions - • Javascript Interview Questions
► 11. C# Tutorials - • C# Factory
► 12. HTML & CSS - • HTML & CSS
► 13. Browser Console - • Browser Console
► 14. JSON - • Videos on Json
► 15. Specflow - • Specflow Tutorials
► 16. MongoDB - • MongoDB Tutorials
► 17. Postman - • Postman
► 18. Python - • Python
► 19. Typescript - • Typescript & Node Imp Questions
► 20. Node - • Node
► 21. Java Selenium Interview Questions: • Java and Selenium Imp
► 22. Real Time Interview Q & A: • Real Time Interview Questions
► 23.SOAP UI Tutorials : • SOAP UI
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#python
#getrequest
#apitesting
On this page of the site you can watch the video online How to do API Testing using Python - Write First Test Case with GET Request with a duration of hours minute second in good quality, which was uploaded by the user Azhar Techno Coder 15 May 2023, share the link with friends and acquaintances, this video has already been watched 147 times on youtube and it was liked by 32 viewers. Enjoy your viewing!