API Testing Using Python - Requests Package

  Рет қаралды 73,562

Mukesh otwani

Mukesh otwani

Күн бұрын

Пікірлер: 114
@bhaveshvaishnav633
@bhaveshvaishnav633 Жыл бұрын
Humble request to please put a video on Request Library with Pytest Framework for API Automation.
@herbertzhou2598
@herbertzhou2598 3 жыл бұрын
very helpful for the overview of request lib in automation
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thanks Herbert.
@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
@dilshodyuldashev3189
@dilshodyuldashev3189 2 жыл бұрын
Very easy to understand and useful. Thank you bro👍🔥🔥🔥
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Glad to hear that Thanks Dilshod
@rachnasingh239
@rachnasingh239 3 жыл бұрын
Mukesh,Can u please share the link where u have shown how to autoate with token based API
@virginiazambudio3606
@virginiazambudio3606 2 жыл бұрын
Excelent video to start doing api testing with python ! Thanks
@amanoj6396
@amanoj6396 3 жыл бұрын
Thanks for made a video on python API testing for us mukesh .. it's useful to us ..
@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?
@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.
@BHARGAVIBEVINMARAD
@BHARGAVIBEVINMARAD 3 жыл бұрын
Thanks for this video. Very helpful to understand and get started
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Glad it was helpful! Thanks Bhargavi
@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
@akashkrkashyap
@akashkrkashyap 3 жыл бұрын
Really helpful. Continue the great work.
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thanks Akash bhai
@rohitkapade1130
@rohitkapade1130 10 ай бұрын
What about code coverage for by those API calls. How do i do that coz request are hitting on another machine.
@rameshbabu2104
@rameshbabu2104 3 жыл бұрын
Thank you Mukesh. Very easy and so clear.
@anilkumar-xp9et
@anilkumar-xp9et 3 жыл бұрын
superb Explanation Mukesh.....
@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.
@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.
@rahulpandey4304
@rahulpandey4304 3 жыл бұрын
Thanks Mukesh for this video, it's really helpful.
@bir_deb
@bir_deb 3 жыл бұрын
Thank you for this tutorial Mukesh. It helps
@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 ?
@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
@shashankjoshi9830
@shashankjoshi9830 2 жыл бұрын
Very easy to understand and useful.
@igpYT
@igpYT Жыл бұрын
Mukesh, some apis have authorisation how can I auth them so that “token is missing” error not show.
@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.
@healthwithbhavesh6030
@healthwithbhavesh6030 3 жыл бұрын
nice video ...easy and simple way
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thank you 😊 Bhavesh
@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.
@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
@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 ..
@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.
@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
@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.
@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
@yerdos1633
@yerdos1633 2 жыл бұрын
Great video, thanks a lot sir!
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Glad it was helpful! Thank you
@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.
@umeshmore8251
@umeshmore8251 3 жыл бұрын
Nice tutorial. Thanks
@harshbedi7486
@harshbedi7486 3 жыл бұрын
Can you please share a example of sending xml as data in POST request.
@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 ??
@sapspeks1
@sapspeks1 2 жыл бұрын
Please help me in configuring maven like build tool in python
@dev__is__me
@dev__is__me 3 жыл бұрын
Amazing video. Thanks
@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
@anpadjahil9711
@anpadjahil9711 2 жыл бұрын
Can RestAssured library be used with Python?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
RestAssured is for Java. For python user its request module.
@nehajulha2422
@nehajulha2422 Жыл бұрын
how to add pre-request script of postman in python requests
@prasannamundinkeri5153
@prasannamundinkeri5153 Жыл бұрын
Thank you so much 👍
@Mukeshotwani
@Mukeshotwani Жыл бұрын
You are welcome
@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?
@preetygupta9655
@preetygupta9655 2 жыл бұрын
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 2 жыл бұрын
Thank you, Mukesh
@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
@hmalintsyan6360
@hmalintsyan6360 2 жыл бұрын
Super Mukesh!!!
@Sagar_Tachtode_777
@Sagar_Tachtode_777 2 жыл бұрын
Great stuff 👏👏, have you made any videos for error handling like connection error, new connection error ?
@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!!
@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
@ANILkumar-bv2uj
@ANILkumar-bv2uj Жыл бұрын
Good 👍 one... thankyou
@chandanmaity
@chandanmaity Жыл бұрын
Fantastic
@dipendra54
@dipendra54 2 жыл бұрын
Great Stuff :)
@gauthamsakthiveeran7946
@gauthamsakthiveeran7946 Жыл бұрын
nice one
@parmindersingh6267
@parmindersingh6267 3 жыл бұрын
Really Great !!! Can we compare our json response with DB in python...
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Yes Parmindar you can.
@xumanen6282
@xumanen6282 Жыл бұрын
SSL: CERTIFICATE_VERIFY_FAILED. Followed all your steps still this error.
@anikethan95
@anikethan95 Жыл бұрын
Requests.get(url, verify=False)
@mohamadkhateb6508
@mohamadkhateb6508 Жыл бұрын
thank you very much
@IamBhushu
@IamBhushu 2 жыл бұрын
Is this one video is enough for fresher who wants to learn api testing with python
@subramanianchenniappan4059
@subramanianchenniappan4059 Жыл бұрын
no. practice it handson
@svmanka
@svmanka 3 жыл бұрын
Thanks
@bharatpotle5996
@bharatpotle5996 Жыл бұрын
Hello Sir, Is there any contact details to place our queries
@roja8512
@roja8512 2 жыл бұрын
How to pass the headers?
@shafatmasood5773
@shafatmasood5773 2 жыл бұрын
Why should we prefer api Testing with pytest.
PyTest Tutorial For Beginners - Testing Framework For Python
1:23:54
Mukesh otwani
Рет қаралды 115 М.
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 8 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,6 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 24 МЛН
Top 25 API Testing Interview Questions & Answers | Rahul Shetty
48:13
Rahul Shetty Academy
Рет қаралды 515 М.
API Automation with Python Requests Module || GET | POST | PUT | DELETE
41:11
Naveen AutomationLabs
Рет қаралды 37 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
Robot Framework Tutorial For Beginners | Robot Framework With Python
1:22:40
PyTest • REST API Integration Testing with Python
37:24
pixegami
Рет қаралды 89 М.
Introduction to Test Automation
1:04:28
SecureTest Partners Academy
Рет қаралды 31
AWS Certified Cloud Practitioner Training 2020 - Full Course
3:58:01
freeCodeCamp.org
Рет қаралды 7 МЛН
Pytest Tutorial - How to Test Python Code
1:28:39
freeCodeCamp.org
Рет қаралды 214 М.
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН