API Testing Using Python - Requests Package

  Рет қаралды 74,294

Mukesh otwani

Mukesh otwani

Күн бұрын

Пікірлер
@balasminfotech44
@balasminfotech44 3 жыл бұрын
very clear explanation with examples .thank you
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
I am glad it helped you. Keep learning.
@surenderpython9150
@surenderpython9150 2 жыл бұрын
one of the best videos on Api testing 😃
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Thank you Surender ji
@bhaveshvaishnav633
@bhaveshvaishnav633 2 жыл бұрын
Humble request to please put a video on Request Library with Pytest Framework for API Automation.
@dilshodyuldashev3189
@dilshodyuldashev3189 2 жыл бұрын
Very easy to understand and useful. Thank you bro👍🔥🔥🔥
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Glad to hear that Thanks Dilshod
@virginiazambudio3606
@virginiazambudio3606 2 жыл бұрын
Excelent video to start doing api testing with python ! Thanks
@akashkrkashyap
@akashkrkashyap 3 жыл бұрын
Really helpful. Continue the great work.
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thanks Akash bhai
@BHARGAVIBEVINMARAD
@BHARGAVIBEVINMARAD 3 жыл бұрын
Thanks for this video. Very helpful to understand and get started
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Glad it was helpful! Thanks Bhargavi
@herbertzhou2598
@herbertzhou2598 3 жыл бұрын
very helpful for the overview of request lib in automation
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thanks Herbert.
@anilkumar-xp9et
@anilkumar-xp9et 3 жыл бұрын
superb Explanation Mukesh.....
@rameshbabu2104
@rameshbabu2104 3 жыл бұрын
Thank you Mukesh. Very easy and so clear.
@amanoj6396
@amanoj6396 3 жыл бұрын
Thanks for made a video on python API testing for us mukesh .. it's useful to us ..
@123466000
@123466000 3 жыл бұрын
Hi Mukesh, Please also explain the design pattern and framework using pytest and python for API automation where u can demonstrate integration tests and also mock some services. Need to learn this real thing.
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Sure Arti, will do that. Glad to see your comment after long time.
@123466000
@123466000 3 жыл бұрын
Glad to see your reply. Currently I have got a project to work on api automation testing for integration tests. And the company uses tox library to mock. But I do not know ABC of this part. I have learnt a lot from ur framework videos and I would like to learn this as well from your tutorials.
@rahulpandey4304
@rahulpandey4304 3 жыл бұрын
Thanks Mukesh for this video, it's really helpful.
@rachnasingh239
@rachnasingh239 3 жыл бұрын
Mukesh,Can u please share the link where u have shown how to autoate with token based API
@kya-baat
@kya-baat 3 жыл бұрын
Best explaination of API testing seen so far 👍👍 Sir i need to do testing of api response with the data stored at DynamoDb. Can you help me in this or do you have any videos on this.
@shashankjoshi9830
@shashankjoshi9830 2 жыл бұрын
Very easy to understand and useful.
@girishkokadwar3948
@girishkokadwar3948 3 жыл бұрын
Hi Mukesh ..... developer add there dummy projects on link din and showing there work ,As automation tester ...what we do to engage our link-din network and show or project skill to recruiter
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Girish, We cant do anything here much but yes I noticed the same on Linkedin. We can focus more on our technical skills only and prove ourself in interviews.
@abhisoni9344
@abhisoni9344 Ай бұрын
Hi Mukesh, I hope you're doing well. I’m interested in learning automation and would like to inquire if you offer personal classes for it. Could you please provide more details regarding the courses, schedule, and pricing? Looking forward to hearing from you!
@Mukeshotwani
@Mukeshotwani Ай бұрын
Hi Abhi, Thank you so much for showing interest. Yes we have live training coming up in first week of Jan. You can get all the details from here. academy.learn-automation.com/learn/Selenium-Online-Training-With-Framework-And-Interview-Prep If you want to discuss anything then feel free to call us at +91-8799360189 or email at mukeshotwani@learn-automation.com
@MalegaonDiary
@MalegaonDiary 2 жыл бұрын
Thanks for very clear explanation ... 33.50 how to test with multiple set of data in json, is it same way ?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Yes
@vivekcv9480
@vivekcv9480 3 жыл бұрын
Excellent knowledge sharing video... Earlier I used postman test assertion. R & D using python is helpful. Can we use pytest framework for automating APIs?
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Yes PyTest is test framework and can be used with API, Web or any kind of test. Next video I will change them to Pytest.
@vivekcv9480
@vivekcv9480 3 жыл бұрын
@@Mukeshotwani Thanks
@amitagrawal4317
@amitagrawal4317 3 жыл бұрын
@@Mukeshotwani eagerly waiting for this. And a big hug and thank you for making automation easy🤗 Learnt alot from you and Naveen. Guys hit like,share & subscribe to their channels.
@nagapriyan8303
@nagapriyan8303 2 жыл бұрын
Hi sir, i have some doubts i am beginner to python automation testing, using python security, performance,load, stress, regression, smoke how to do?
@bir_deb
@bir_deb 3 жыл бұрын
Thank you for this tutorial Mukesh. It helps
@KhalilYasser
@KhalilYasser 3 жыл бұрын
Thank you very much for this awesome tutorial. Do you have a written explanation for that tutorial?
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Yaseer Not yet! as of now I have only in video format.
@healthwithbhavesh6030
@healthwithbhavesh6030 3 жыл бұрын
nice video ...easy and simple way
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thank you 😊 Bhavesh
@rohitkapade1130
@rohitkapade1130 Жыл бұрын
What about code coverage for by those API calls. How do i do that coz request are hitting on another machine.
@lavanya91sweety
@lavanya91sweety 3 жыл бұрын
This info is helpful.. thank you so much.. I have putty/super putty logs validation most of the time in my testing.. can we automate that using this
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Lavanya, if you can get this logs via API then you can use requests which I used in video. In case you have logs independent as file then in python you can use open method to read logs too. Here is the video kzbin.info/www/bejne/hpuVineHrJZjoZo
@yerdos1633
@yerdos1633 2 жыл бұрын
Great video, thanks a lot sir!
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Glad it was helpful! Thank you
@JitendraKumar-lr3vq
@JitendraKumar-lr3vq 2 жыл бұрын
Thanks Mukesh for making this video..it really helped me in understanding it ..if possible can you make on bearer token usage ..
@GG-hk5iz
@GG-hk5iz 3 жыл бұрын
Hi Mukesh , Thanks a lot for your video . Can you please tell if we can use rest assured in python ?
@igpYT
@igpYT Жыл бұрын
Mukesh, some apis have authorisation how can I auth them so that “token is missing” error not show.
@sathya-enjoy_lifetothefullest
@sathya-enjoy_lifetothefullest 3 жыл бұрын
Hi Mukesh, I want to get the entire information of the first 10 index in the response data not just json_response["data"][0]["email"] , how to get it
@MsWorkd
@MsWorkd 3 жыл бұрын
Hi please upload a detailed video how can we send authentication headers with our api call and how can we save our credentials in an encoded format
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Pulkit, Sure I will try cover in part 2 of this video.
@mohammedrafi-cr1go
@mohammedrafi-cr1go 3 жыл бұрын
Thanks Mukesh, this vedio was really helpfull.. Just have one question in validating JSON suppose i want to validate a response JSON which has student details and student id being primary key of tht data set. How can i make sure the each student id in JSON is unique ?? Right now i am converting the response JSON into dataframe and checking the uniqueness of student id column .. But is there a way to check the uniqueness of the student id at JSON level ??
@umeshmore8251
@umeshmore8251 3 жыл бұрын
Nice tutorial. Thanks
@dev__is__me
@dev__is__me 3 жыл бұрын
Amazing video. Thanks
@khazitabrez2629
@khazitabrez2629 3 жыл бұрын
Hi Mukesh, can you please suggest me how to start with rest api automation testing? Which programming language should I learn? I just know bit about programming and I have interest in api automation as i can apply this my current job. Please help me out, awaiting for your respond
@AnujArya89
@AnujArya89 3 жыл бұрын
If PUT is creating a non-existent record. Then in response we'll get createdAt or updatedAt ?
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
If not exist then created at and if already present then updated at.
@AnujArya89
@AnujArya89 3 жыл бұрын
@@Mukeshotwani TnX
@Sagar_Tachtode_777
@Sagar_Tachtode_777 2 жыл бұрын
Great stuff 👏👏, have you made any videos for error handling like connection error, new connection error ?
@castellano100
@castellano100 2 жыл бұрын
Thanks for sharing your knowledge. I would like to know how to create a random data in this file json. In your example, we can have: "name":"XXXX" "JOB:"random number - My question is here. How can we do it?
@harshbedi7486
@harshbedi7486 3 жыл бұрын
Can you please share a example of sending xml as data in POST request.
@sssaamm29988
@sssaamm29988 3 жыл бұрын
Hi Mukesh, thanks for the video. How can we achieve the same using pytest?
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Sampath, inside method you can have anything I mean API test, web test, mobile test etc.
@vij9218
@vij9218 3 жыл бұрын
Should we learn API testing with python or with java? Currently I am learning Selenium with python, I want to learn API testing but I am not able to decide which one I should learn? Can you please suggest me.
@en_coded
@en_coded 2 жыл бұрын
do we still need to do postman if we used this?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Hi Rad I have video on this kzbin.info/www/bejne/fIDEZX-QpqqVl6s
@ANILkumar-bv2uj
@ANILkumar-bv2uj Жыл бұрын
Good 👍 one... thankyou
@organizera9716
@organizera9716 3 жыл бұрын
Hi Mukesh, Can you please make a video of API testing in PyTest Framework? Thanks in advance
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Here is the video kzbin.info/www/bejne/qZ-nhHVvl52plac
@AT-zr5nf
@AT-zr5nf 3 жыл бұрын
Sir, I am stuck in the first line. my pip is not getting installed. I cant even see api project written on my terminal.
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi mate is python configuration is done ?
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Follow below video to get started with python n pip kzbin.info/www/bejne/bKmmnXmGpM1mqtU
@AT-zr5nf
@AT-zr5nf 3 жыл бұрын
@@Mukeshotwani Thank you so much for the prompt reply. i will check
@AT-zr5nf
@AT-zr5nf 3 жыл бұрын
@@Mukeshotwani Mukesh, I have mac. this is error i am getting on terminal: ImportError: No module named typing
@AT-zr5nf
@AT-zr5nf 3 жыл бұрын
Thanks Mukesh.. Its done now!!
@sapspeks1
@sapspeks1 2 жыл бұрын
Please help me in configuring maven like build tool in python
@nehajulha2422
@nehajulha2422 Жыл бұрын
how to add pre-request script of postman in python requests
@prasannamundinkeri5153
@prasannamundinkeri5153 Жыл бұрын
Thank you so much 👍
@Mukeshotwani
@Mukeshotwani Жыл бұрын
You are welcome
@anpadjahil9711
@anpadjahil9711 2 жыл бұрын
Can RestAssured library be used with Python?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
RestAssured is for Java. For python user its request module.
@hmalintsyan6360
@hmalintsyan6360 3 жыл бұрын
Super Mukesh!!!
@seemamotwani8451
@seemamotwani8451 3 жыл бұрын
Could you please share karate framework for api testing
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Seema, I don't have much experience with the Karate framework. I used for POC only.
@seemamotwani8451
@seemamotwani8451 3 жыл бұрын
@@Mukeshotwani Thanks Mukesh for response. Can you suggest some easy material or tutorial for reference
@rahulkatlaparthi354
@rahulkatlaparthi354 3 жыл бұрын
How can I update dummy data in post request and the dummy not to be stored in database ?
@rahulkatlaparthi354
@rahulkatlaparthi354 3 жыл бұрын
How can I achieve it ?
@lakshmikanthcherukuri1321
@lakshmikanthcherukuri1321 3 жыл бұрын
Hi Sir can do video how to send payload as pojo like rest assured in python
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Hi Lakshmi, I will try to create video on this too.
@lakshmikanthcherukuri1321
@lakshmikanthcherukuri1321 3 жыл бұрын
@@Mukeshotwani Thank you sir
@preetygupta9655
@preetygupta9655 3 жыл бұрын
How can I implement OAuth 2 in python?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Hi Preety check this www.devonblog.com/test-automation/api-testing-using-robot-framework/
@ahmadnasir8856
@ahmadnasir8856 3 жыл бұрын
Thank you, Mukesh
@dipendra54
@dipendra54 2 жыл бұрын
Great Stuff :)
@chandanmaity
@chandanmaity Жыл бұрын
Fantastic
@gauthamsakthiveeran7946
@gauthamsakthiveeran7946 Жыл бұрын
nice one
@bharatpotle5996
@bharatpotle5996 Жыл бұрын
Hello Sir, Is there any contact details to place our queries
@parmindersingh6267
@parmindersingh6267 3 жыл бұрын
Really Great !!! Can we compare our json response with DB in python...
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Yes Parmindar you can.
@xumanen6282
@xumanen6282 2 жыл бұрын
SSL: CERTIFICATE_VERIFY_FAILED. Followed all your steps still this error.
@anikethan95
@anikethan95 Жыл бұрын
Requests.get(url, verify=False)
@IamBhushu
@IamBhushu 2 жыл бұрын
Is this one video is enough for fresher who wants to learn api testing with python
@subramanianchenniappan4059
@subramanianchenniappan4059 2 жыл бұрын
no. practice it handson
@roja8512
@roja8512 2 жыл бұрын
How to pass the headers?
@mohamadkhateb6508
@mohamadkhateb6508 2 жыл бұрын
thank you very much
@shafatmasood5773
@shafatmasood5773 2 жыл бұрын
Why should we prefer api Testing with pytest.
@svmanka
@svmanka 3 жыл бұрын
Thanks
PyTest Tutorial For Beginners - Testing Framework For Python
1:23:54
Mukesh otwani
Рет қаралды 117 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
API Automation with Python Requests Module || GET | POST | PUT | DELETE
41:11
Naveen AutomationLabs
Рет қаралды 40 М.
Top 25 API Testing Interview Questions & Answers | Rahul Shetty
48:13
Rahul Shetty Academy
Рет қаралды 528 М.
API Testing Using Postman | Crash Course
3:27:51
Mukesh otwani
Рет қаралды 112 М.
How To Explain Test Automation Framework In Interviews For Selenium
13:42
PyTest • REST API Integration Testing with Python
37:24
pixegami
Рет қаралды 93 М.
Postman Beginner's Course - API Testing
2:09:38
freeCodeCamp.org
Рет қаралды 2,5 МЛН
Python REST API Tutorial - Building a Flask REST API
1:14:01
Tech With Tim
Рет қаралды 786 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН