Тёмный

API Testing Using Python - Requests Package 

Mukesh otwani
Подписаться 180 тыс.
Просмотров 73 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 114   
@bhaveshvaishnav633
@bhaveshvaishnav633 Год назад
Humble request to please put a video on Request Library with Pytest Framework for API Automation.
@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.
@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.
@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.
@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.
@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?
@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.
@balasminfotech44
@balasminfotech44 3 года назад
very clear explanation with examples .thank you
@Mukeshotwani
@Mukeshotwani 3 года назад
I am glad it helped you. Keep learning.
@rachnasingh239
@rachnasingh239 2 года назад
Mukesh,Can u please share the link where u have shown how to autoate with token based API
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Pj2YDQw10k8.html
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-snDSB9b8v_E.html
@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.
@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.
@anilkumar-xp9et
@anilkumar-xp9et 2 года назад
superb Explanation Mukesh.....
@dilshodyuldashev3189
@dilshodyuldashev3189 2 года назад
Very easy to understand and useful. Thank you bro👍🔥🔥🔥
@Mukeshotwani
@Mukeshotwani 2 года назад
Glad to hear that Thanks Dilshod
@BHARGAVIBEVINMARAD
@BHARGAVIBEVINMARAD 2 года назад
Thanks for this video. Very helpful to understand and get started
@Mukeshotwani
@Mukeshotwani 2 года назад
Glad it was helpful! Thanks Bhargavi
@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?
@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 ??
@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
@anpadjahil9711
@anpadjahil9711 2 года назад
Can RestAssured library be used with Python?
@Mukeshotwani
@Mukeshotwani 2 года назад
RestAssured is for Java. For python user its request module.
@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
@herbertzhou2598
@herbertzhou2598 2 года назад
very helpful for the overview of request lib in automation
@Mukeshotwani
@Mukeshotwani 2 года назад
Thanks Herbert.
@rohitkapade1130
@rohitkapade1130 9 месяцев назад
What about code coverage for by those API calls. How do i do that coz request are hitting on another machine.
@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 ..
@akashkrkashyap
@akashkrkashyap 3 года назад
Really helpful. Continue the great work.
@Mukeshotwani
@Mukeshotwani 3 года назад
Thanks Akash bhai
@amanoj6396
@amanoj6396 3 года назад
Thanks for made a video on python API testing for us mukesh .. it's useful to us ..
@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/
@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 ?
@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
@prasannamundinkeri5153
@prasannamundinkeri5153 Год назад
Thank you so much 👍
@Mukeshotwani
@Mukeshotwani Год назад
You are welcome
@rahulpandey4304
@rahulpandey4304 3 года назад
Thanks Mukesh for this video, it's really helpful.
@harshbedi7486
@harshbedi7486 3 года назад
Can you please share a example of sending xml as data in POST request.
@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
@igpYT
@igpYT Год назад
Mukesh, some apis have authorisation how can I auth them so that “token is missing” error not show.
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FOa4LZqEbaI.html
@virginiazambudio3606
@virginiazambudio3606 2 года назад
Excelent video to start doing api testing with python ! Thanks
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6xClFPoh3ts.html
@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!!
@bharatpotle5996
@bharatpotle5996 Год назад
Hello Sir, Is there any contact details to place our queries
@yerdos1633
@yerdos1633 Год назад
Great video, thanks a lot sir!
@Mukeshotwani
@Mukeshotwani Год назад
Glad it was helpful! Thank you
@healthwithbhavesh6030
@healthwithbhavesh6030 3 года назад
nice video ...easy and simple way
@Mukeshotwani
@Mukeshotwani 3 года назад
Thank you 😊 Bhavesh
@surenderpython9150
@surenderpython9150 2 года назад
one of the best videos on Api testing 😃
@Mukeshotwani
@Mukeshotwani Год назад
Thank you Surender ji
@nehajulha2422
@nehajulha2422 Год назад
how to add pre-request script of postman in python requests
@xumanen6282
@xumanen6282 Год назад
SSL: CERTIFICATE_VERIFY_FAILED. Followed all your steps still this error.
@anikethan95
@anikethan95 Год назад
Requests.get(url, verify=False)
@bir_deb
@bir_deb 3 года назад
Thank you for this tutorial Mukesh. It helps
@shafatmasood5773
@shafatmasood5773 2 года назад
Why should we prefer api Testing with pytest.
@umeshmore8251
@umeshmore8251 3 года назад
Nice tutorial. Thanks
@rameshbabu2104
@rameshbabu2104 3 года назад
Thank you Mukesh. Very easy and so clear.
@dev__is__me
@dev__is__me 3 года назад
Amazing video. Thanks
@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 ?
@shashankjoshi9830
@shashankjoshi9830 2 года назад
Very easy to understand and useful.
@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
@ANILkumar-bv2uj
@ANILkumar-bv2uj Год назад
Good 👍 one... thankyou
@mohamadkhateb6508
@mohamadkhateb6508 Год назад
thank you very much
@ahmadnasir8856
@ahmadnasir8856 2 года назад
Thank you, Mukesh
@roja8512
@roja8512 2 года назад
How to pass the headers?
@hmalintsyan6360
@hmalintsyan6360 2 года назад
Super Mukesh!!!
@dipendra54
@dipendra54 2 года назад
Great Stuff :)
@chandanmaity
@chandanmaity Год назад
Fantastic
@svmanka
@svmanka 3 года назад
Thanks
@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.
Далее
🦊🎀
00:16
Просмотров 415 тыс.
# Rural Funny Life Wang Ge
00:18
Просмотров 717 тыс.
Ответы Мэил Ру
01:00
Просмотров 1,5 млн
Postman Api Testing Tutorial for beginners
16:45
Просмотров 38 тыс.
Requests Library in Python - Beginner Crash Course
20:32
Playwright API Testing Demo for Beginners
34:31
Просмотров 36 тыс.
API Testing Using Postman | Crash Course
3:27:51
Просмотров 97 тыс.
🦊🎀
00:16
Просмотров 415 тыс.