POSTMAN BEGINNER TUTORIAL 10  How to create First TEST

POSTMAN BEGINNER TUTORIAL 10 How to create First TEST

Automation Step by Step

6 лет назад

175,975 Просмотров

Today we will learn:

1. What are Tests in POSTMAN
2. How to create tests at REQUEST level
3. How to create tests at FOLDER level
4. How to create tests at COLLECTION level

Postman tests are javascript code that is executed after receiving the response
________________________________________________________________

POSTMAN Beginner Tutorials - https://www.youtube.com/watch?v=juldrxDrSH0&list=PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C

Playlists - https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/playlists

________________________________________________________________

Do like, share and subscribe

Keep Learning,
Raghav

________ ONLINE COURSES TO LEARN ________

https://automationstepbystep.com/

------------ UI TESTING ------------
Selenium Beginners - https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch - https://bit.ly/2N9xvR6
Selenium Python - https://bit.ly/2oyMp5x
Selenium Tips - https://bit.ly/2owxc50
Selenium Builder - https://bit.ly/2MKNtlq
Katalon Studio - https://bit.ly/2wARFdi
Robot Framework - https://bit.ly/2Px6Ue9

------------ API TESTING ------------
Web Services (API) - https://bit.ly/2MGafL7
SoapUI - https://bit.ly/2MGahmd
Postman - https://bit.ly/2wz8LrW
General - https://bit.ly/2PYdwmV

------------ MOBILE TESTING ------------
Mobile Playlist - https://bit.ly/2PxpeUv

------------ CI | CD | DEVOPS ------------
Jenkins Beginner - https://bit.ly/2MIn8EC
Jenkins Tips & Trick - https://bit.ly/2LRt6xC
Docker - https://bit.ly/2MInnzx

------------ VERSION CONTROL SYSTEM ------------
Git & GitHub - https://bit.ly/2Q1pagY

------------ PERFORMANCE TESTING ------------
JMeter Beginner - https://bit.ly/2oBbtIU
JMeter Intermediate - https://bit.ly/2oziNVB
JMeter Advanced - https://bit.ly/2Q22Y6a
JMeter Tips & Tricks - https://bit.ly/2NOfWD2
Performance Testing - https://bit.ly/2wEXbLS

------------ JAVA ------------
Java Beginners - https://bit.ly/2PVUcXs
Java Tips & Tricks - https://bit.ly/2CdcDnJ

------------ MAVEN ------------
Maven - https://bit.ly/2NJdDRS

------------ OTHERS ------------
Redis- https://bit.ly/2N9jyCG
Misc - https://bit.ly/2Q2q5xQ
Tools & Tips - https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special - https://bit.ly/2wB23BO

Ask Raghav - https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA


Keep Learning,
Raghav

Website - https://automationstepbystep.com/
LifeCharger - http://lifecharger.org/
Udemy Courses - https://www.udemy.com/user/raghav-pal-3/
Facebook - https://www.facebook.com/automationstepbystep
Twitter - https://twitter.com/automationsbs
Youtube - http://youtube.com/automationstepbystep

Тэги:

#postman_tests #how_to_create_tests_in_postman #postman_beginner_tutorials #tests_in_postman #how_to_write_tests_in_postman #postman_how_to_write_tests #how_to_run_tests_in_postman #postman_how_to_run_tests #postman_tutorials_for_beginners #postman_api_testing_beginner_tutorials #tests_in_postman_for_beginners #what_are_tests_in_postman #postman_how_to_script_tests #postman_javascript_tests
Ссылки и html тэги не поддерживаются


Комментарии:

Bismah Qureshi
Bismah Qureshi - 12.09.2022 02:00

Thank you so much. I also bought your course on Udemy. You are a amazing teacher. I love your course. I learned so much from you.

Ответить
Alok Kumar
Alok Kumar - 23.07.2022 13:38

Hello Sir I am having an issue when I run the test at collection level and export the result using "Export Results" option. After this I import it, I am unable to get back the request or response , it just displays pass or fail.

Ответить
Michael Buono
Michael Buono - 01.04.2022 23:01

I like that these are short and detailed on one aspect or topic

Ответить
LTS
LTS - 27.12.2021 19:01

very usefull

Ответить
Vinayak Badgujar
Vinayak Badgujar - 15.07.2021 14:49

Hello Raghav,
Q1. If my second request is depends upon first request status code 200? How to add this validation? Means if my first request throws 200 status code then second request should get execute

Ответить
simple arora
simple arora - 10.06.2021 15:52

how can i test a request for negative and positive test case?I can only pass data in request and it gives the status code but i want to know if i have to automate the test then how can i test both the positive and negative test for a request?

Ответить
Saranya Chandrabos
Saranya Chandrabos - 16.05.2021 21:09

thank you

Ответить
Siddharth Tiwari
Siddharth Tiwari - 06.02.2021 17:49

This is pure gold ..

Ответить
Sweet heart
Sweet heart - 09.01.2021 18:53

Actually very clearly explained the content quickly, very interesting thanks pls keep doing this

Ответить
Pratibha Singh
Pratibha Singh - 15.08.2020 16:15

i hv gone through with some videos, all are magnificent. Really thnkuu!!

Ответить
Ashutosh Pratap Singh
Ashutosh Pratap Singh - 24.06.2020 23:06

Please create one video for JS Es6 and Chai Assertion Library, thanks in Advance

Ответить
Ankit Jain
Ankit Jain - 18.06.2020 16:44

Thanks a lot for posting the tutorial on Postman, I am using postman since last 6 months but after watching this i realised that i was knowing just 5% about the postman. Thanks for teaching from very basics in every session and also covering all the functions in few minutes. Thanks again and all your hard and smart work.

Ответить
Md.Mahfuzul Huq Talukder
Md.Mahfuzul Huq Talukder - 05.06.2020 20:07

You are the best and excellent

Ответить
melika D
melika D - 15.05.2020 16:21

what if someone doesnt know the Javascript language?

Ответить
shruthi y
shruthi y - 05.04.2020 11:35

Hi, While following this video, I see that there are no pre-request scripts available in my postman? What am I missing?

Ответить
Ankit Sharma
Ankit Sharma - 17.02.2020 18:33

Hi Raghav, I have a query regarding snippets, how to get more snippets options in our POSTMAN as I have few scripts in snippets and don't have the scripts which you have shown in this tutorial.

Ответить
Finahas Thomas
Finahas Thomas - 17.12.2019 15:44

Hello Raghav.. is there any possibility to extract the url of the response body through the test script?

Ответить
Syed Shahul Hameed Mustaffa
Syed Shahul Hameed Mustaffa - 16.11.2019 22:43

Hello Raghav, Thank u so much for these informative and well organized videos. Do you give courses anywhere online?

Ответить
Mathiarasan Krishnan
Mathiarasan Krishnan - 14.11.2019 19:39

Nice video🙏🙏.. I have one ques all the codes to test webservice are available in postman tool itself. I mean that I will get from snippets itself.. ??

Ответить
justalazyseo
justalazyseo - 10.11.2019 23:34

Absolutely excellent tutorials, bro! You are definitely an excellent teacher. I specifically like how you tackle a lot of things in your videos before they become question, like in this one what is the difference between pre-request scripts and tests. Thank you so much for being here!

Ответить
John G
John G - 05.11.2019 01:13

Thanks in a million.

Ответить
tulasi bakkireddy
tulasi bakkireddy - 31.10.2019 21:26

Nice explanation Raghava very helpful for me ,I have doubt in my collection all services (different services having same status code) can it be like.
For different responses different states code should be there na.. plz tell me, whether I'm correct or not

Ответить
Expressive Akkii
Expressive Akkii - 20.09.2019 23:07

Hello Raghav sir, first of all a big thnx for you for providing us such easy & understandable tutorials. i have a query regarding snippets. can we add our own customized snippets for the requests and reuse it for other requests? if yes, how? can you provide any short tutorial on this??

Ответить
Ritesh Kumar
Ritesh Kumar - 29.06.2019 11:57

Excellent.
Very informative video.

Ответить
Carlos Guevara
Carlos Guevara - 12.11.2018 23:31

Hello, when i ran my test collection the results shows that there are no testcases in all requests but I included the two cases you explained in this tutorial, would you please explain why?. Thanks a lot

Ответить
Bhama Sathya
Bhama Sathya - 12.09.2018 13:43

Can I store extracted response body parameters in the collection variable? Is it mandatory to use Environment or global variable for that?

Ответить
Bharat Varshney
Bharat Varshney - 11.05.2018 09:44

Hi Raghav,
1>How we verify that our response are correct if we run in collection runner , or i have many api for login to logout , so i will create new folder and add new request and create environment
2> How we add test cases when we run in collection runner

Ответить
Bharat Kumar
Bharat Kumar - 09.05.2018 17:38

Hi Raghav, can you please clarify the query - Does the scripts that are created at collection level are applicable for all the requests?If user wants to verify the common tests for all the requests,then can he create at collection level instead of individual request?

Ответить
高朗
高朗 - 25.03.2018 20:11

hello , may i ask why my collection runner not have result pass or fail after running. The status is 0 pass 0 fail

Ответить
lupul666
lupul666 - 04.03.2018 17:59

Hello, your videos are very educational please DO NOT STOP :D .

Ответить
V V
V V - 04.03.2018 14:02

Would be helpful if you'd use teamcity as the CI tool to integrate postman with. (Jenkins is fine ... but other tutors have done that before) .. Only if you can really unless you think it's too much painful. I'd like to say your videos are very useful and educational to newbies and experienced guys alike. Pls keep doing the good work. Thnx

Ответить