API Testing Using Python - Requests Package

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

Mukesh otwani

Mukesh otwani

Күн бұрын

Пікірлер: 114
@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
@bhaveshvaishnav633
@bhaveshvaishnav633 Жыл бұрын
Humble request to please put a video on Request Library with Pytest Framework for API Automation.
@balasminfotech44
@balasminfotech44 3 жыл бұрын
very clear explanation with examples .thank you
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
I am glad it helped you. Keep learning.
@akashkrkashyap
@akashkrkashyap 3 жыл бұрын
Really helpful. Continue the great work.
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Thanks Akash bhai
@virginiazambudio3606
@virginiazambudio3606 2 жыл бұрын
Excelent video to start doing api testing with python ! Thanks
@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.....
@BHARGAVIBEVINMARAD
@BHARGAVIBEVINMARAD 3 жыл бұрын
Thanks for this video. Very helpful to understand and get started
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Glad it was helpful! Thanks Bhargavi
@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.
@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.
@amanoj6396
@amanoj6396 3 жыл бұрын
Thanks for made a video on python API testing for us mukesh .. it's useful to us ..
@rameshbabu2104
@rameshbabu2104 3 жыл бұрын
Thank you Mukesh. Very easy and so clear.
@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?
@rachnasingh239
@rachnasingh239 3 жыл бұрын
Mukesh,Can u please share the link where u have shown how to autoate with token based API
@rahulpandey4304
@rahulpandey4304 3 жыл бұрын
Thanks Mukesh for this video, it's really helpful.
@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
@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.
@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.
@shashankjoshi9830
@shashankjoshi9830 2 жыл бұрын
Very easy to understand and useful.
@bir_deb
@bir_deb 3 жыл бұрын
Thank you for this tutorial Mukesh. It helps
@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.
@rohitkapade1130
@rohitkapade1130 11 ай бұрын
What about code coverage for by those API calls. How do i do that coz request are hitting on another machine.
@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.
@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
@yerdos1633
@yerdos1633 2 жыл бұрын
Great video, thanks a lot sir!
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
Glad it was helpful! Thank you
@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
@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?
@igpYT
@igpYT Жыл бұрын
Mukesh, some apis have authorisation how can I auth them so that “token is missing” error not show.
@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
@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
@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!!
@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 ..
@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
@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 ?
@hmalintsyan6360
@hmalintsyan6360 2 жыл бұрын
Super Mukesh!!!
@dev__is__me
@dev__is__me 3 жыл бұрын
Amazing video. Thanks
@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
@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
@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
@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 ??
@harshbedi7486
@harshbedi7486 3 жыл бұрын
Can you please share a example of sending xml as data in POST request.
@ANILkumar-bv2uj
@ANILkumar-bv2uj Жыл бұрын
Good 👍 one... thankyou
@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
@nehajulha2422
@nehajulha2422 Жыл бұрын
how to add pre-request script of postman in python requests
@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/
@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 ?
@anpadjahil9711
@anpadjahil9711 2 жыл бұрын
Can RestAssured library be used with Python?
@Mukeshotwani
@Mukeshotwani 2 жыл бұрын
RestAssured is for Java. For python user its request module.
@prasannamundinkeri5153
@prasannamundinkeri5153 Жыл бұрын
Thank you so much 👍
@Mukeshotwani
@Mukeshotwani Жыл бұрын
You are welcome
@Sagar_Tachtode_777
@Sagar_Tachtode_777 2 жыл бұрын
Great stuff 👏👏, have you made any videos for error handling like connection error, new connection error ?
@sapspeks1
@sapspeks1 2 жыл бұрын
Please help me in configuring maven like build tool in python
@dipendra54
@dipendra54 2 жыл бұрын
Great Stuff :)
@ahmadnasir8856
@ahmadnasir8856 2 жыл бұрын
Thank you, Mukesh
@gauthamsakthiveeran7946
@gauthamsakthiveeran7946 Жыл бұрын
nice one
@chandanmaity
@chandanmaity Жыл бұрын
Fantastic
@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
@shafatmasood5773
@shafatmasood5773 2 жыл бұрын
Why should we prefer api Testing with pytest.
@parmindersingh6267
@parmindersingh6267 3 жыл бұрын
Really Great !!! Can we compare our json response with DB in python...
@Mukeshotwani
@Mukeshotwani 3 жыл бұрын
Yes Parmindar you can.
@mohamadkhateb6508
@mohamadkhateb6508 2 жыл бұрын
thank you very much
@roja8512
@roja8512 2 жыл бұрын
How to pass the headers?
@bharatpotle5996
@bharatpotle5996 Жыл бұрын
Hello Sir, Is there any contact details to place our queries
@svmanka
@svmanka 3 жыл бұрын
Thanks
PyTest Tutorial For Beginners - Testing Framework For Python
1:23:54
Mukesh otwani
Рет қаралды 116 М.
API Testing Using Postman | Crash Course
3:27:51
Mukesh otwani
Рет қаралды 105 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 32 МЛН
Robot Framework Tutorial For Beginners | Robot Framework With Python
1:22:40
How to do Performance Testing with k6
9:55
Alex Hyett
Рет қаралды 45 М.
PyTest • REST API Integration Testing with Python
37:24
pixegami
Рет қаралды 91 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Pytest Tutorial - How to Test Python Code
1:28:39
freeCodeCamp.org
Рет қаралды 220 М.
Learn Postman for API Testing (Step-by-Step Tutorial)
1:35:56
Automation Step by Step
Рет қаралды 20 М.