POSTMAN BEGINNER TUTORIAL 9 💡 How to create Quick Scripts

  Рет қаралды 176,354

Automation Step by Step

Automation Step by Step

6 жыл бұрын

Today we will learn:
1. How to create quick scripts using Snippets
Snippets - script templates
________________________________________________________________
POSTMAN Beginner Tutorials - • POSTMAN BEGINNER TUTOR...
Playlists - / @raghavpal
________________________________________________________________
Do like, share and subscribe
Keep Learning,
Raghav
_______ ONLINE COURSES TO LEARN _______
automationstepbystep.com/
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework - bit.ly/2Px6Ue9
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
----------- MOBILE TESTING -----------
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
----------- JAVA -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
----------- MAVEN -----------
Maven - bit.ly/2NJdDRS
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
Keep Learning,
Raghav
Website - automationstepbystep.com/
LifeCharger - lifecharger.org/
Udemy Courses - www.udemy.com/user/raghav-pal-3/
Facebook - / automationstepbystep
Twitter - / automationsbs
KZfaq - / automationstepbystep

Пікірлер: 50
@rajtheo
@rajtheo 4 жыл бұрын
Raghav, Thanks a lot you made postman so much clear to me.
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad to hear that Thiaga. Watch more here - automationstepbystep.com/
@riteshkumar6403
@riteshkumar6403 5 жыл бұрын
Excellent. Very informative video.
@RaghavPal
@RaghavPal 5 жыл бұрын
Happy to know this
@RiteshKumar-dx1uz
@RiteshKumar-dx1uz 6 жыл бұрын
Very informative video.
@RaghavPal
@RaghavPal 6 жыл бұрын
thanks Ritesh
@djdegoed
@djdegoed 5 жыл бұрын
Thanks for this tutorial, very good :) I have two questions so far: 1. Why do you only get the snippets on the right pane on request level and not on collection or folder level? 2. If you set variables on different levels, which level is checked first? request-folder-collection-env (bottom to top) or env-collection-folder-request (top to bottom)? Thanks you and keep up the good work!
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi, I believe it is by design, the developers assumed to provide it only at request level For variables: Priority : priority is as follows: - local - data - environment - collection - global
@edisonchen784
@edisonchen784 4 жыл бұрын
good video, thx for sharing
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome Yunlong
@MyJazzsingh
@MyJazzsingh Жыл бұрын
thank you very much for great video
@RaghavPal
@RaghavPal Жыл бұрын
You are welcome!
@tlim1945
@tlim1945 5 ай бұрын
cool!! thanks
@RaghavPal
@RaghavPal 5 ай бұрын
Most welcome..
@normiciko2222
@normiciko2222 5 жыл бұрын
you are awsome brother.... greeting from Indonesia
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks Normi
@deepalik1879
@deepalik1879 4 жыл бұрын
Hello Raghav , I have been watching your almost all videos of Jmeter and Postman.They are great. A kind request is please mention the real time use of each concept.. Can you use realtime ecommerce project for explaining each concept?
@RaghavPal
@RaghavPal 4 жыл бұрын
Sure, I will take a note of this Deepali
@johng5295
@johng5295 4 жыл бұрын
Thanks.
@RaghavPal
@RaghavPal 4 жыл бұрын
I am glad it helped John
@gurpreetkaur6685
@gurpreetkaur6685 5 жыл бұрын
Sir plz create more videos more on postman scripting...like after doing login how can we do further api test...how to store result in variables
@RaghavPal
@RaghavPal 5 жыл бұрын
Sure Gurpreet, I will add more videos - kzfaq.info/sun/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C
@ravinadhb9219
@ravinadhb9219 3 жыл бұрын
Hi Raghav Thank you so much for your sharing knowledge and videos.I learned so many skills from your videos.I have a doubt here .In my Colection i have 3 POST APIs.for each API it will take id uniquely.If i write the code to generate the ID randomly and saved at collection level.WIll this script run for each API ?Please answer
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Ravi, yes, if you write a script in pre-test of collection, it will apply to all requests
@ravinaridham1744
@ravinaridham1744 5 жыл бұрын
hello, Did you know how to test run should generate report to easily determine which apis passed and which failed ?!
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Ravina, when you run from collection runner, the result clearly show the pass and fail. Note: Pass or Fail is based on the test scripts. Also when you run from command line Newman, pass/fail are shown there. You can find videos here - kzfaq.info/sun/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C
@praveenrumane7481
@praveenrumane7481 6 жыл бұрын
Hi Raghav Any more examples are there where you have used POST /PUT /PATCH/ DELETE ...If yes please send the links...
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Praveen, you can see the playlist here - kzfaq.info/sun/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C
@copinkarine3936
@copinkarine3936 4 жыл бұрын
Hello, Thanks for the tutorials which are very useful. Just one comment. Please try to speak more slowly please. It will be easier. Thanks
@RaghavPal
@RaghavPal 4 жыл бұрын
I will improve on that. For now you can slower the speed from player setting button
@nishanthhp3092
@nishanthhp3092 4 жыл бұрын
Hi ragav, i needed your help in validating a json with escape code in postman, for ex my json response is in value[{ \"id\":\"two\",\"name\":\"myname\"}] format how will i validate id is two and name is myname from above json response in postman. Thanks in advance
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Nishanth, just curious, Is this the format you get your response in Postman directly. Does adding double backslash \\ help. You can also do response encoding like pretty format and check. Else you can add scripts like String finalJsonStr = json.replace('\\"', '"'); System.assert(finalJsonStr.contains('\\"'));
@madhursharma6262
@madhursharma6262 5 жыл бұрын
Hi Raghav sir, Can you please tell, How to play with ids in postman? (interview question)
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Madhur, ids in what context.
@madhursharma6262
@madhursharma6262 5 жыл бұрын
​@@RaghavPaldon't know, the interviewer asks the same. or maybe how to deal with multiple ids in API testing?
@RaghavPal
@RaghavPal 5 жыл бұрын
Okay, difficult to interpret what is the context of ids here. Will have to check online
@supriyapawar8417
@supriyapawar8417 6 жыл бұрын
Hi Raghav, I am unable to find snippets window in latest v6.1.3 version Can you please assist and tell how to fetch snippets window
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Supriya, i checked with ver 6.1.3, Its same, When you goto any request, click on Tests, and snippets section appear as shown in the video.
@supriyapawar8417
@supriyapawar8417 6 жыл бұрын
Automation Step by Step - Raghav Pal Hi Raghav , Yes I found it in a test tab . thanks
@amirshabbir219
@amirshabbir219 5 жыл бұрын
Hi, i m not able to find snippets,can you help me to find on new edition
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Amir, what ver are you using, I will check at my system.
@amirshabbir219
@amirshabbir219 5 жыл бұрын
Hello Sir,I have only downloaded yesterday so i think its 6.7.4.latest version
@RaghavPal
@RaghavPal 5 жыл бұрын
Okay the documentation still shows snippets, so I believe it should be there. Can you try re-installing or use a diff ver.
@salmanzahoor2284
@salmanzahoor2284 3 жыл бұрын
Hi RAGHAV, I am unable to find snippets in Postman 7.32.0 version
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Sal, can you try to restart or reinstall and check again
@user-yk4oj5nm3m
@user-yk4oj5nm3m 4 жыл бұрын
ur video really useful. Why the subscribe so low.
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks, I believe many people still needs to discover them
@Zorander2008
@Zorander2008 4 жыл бұрын
@@RaghavPal I just discovered this today. Very informative and helpful for a beginner API programmer like me. Nice and short studies, simple and focused on single tasks. Keep up the good work!
@udhayasan
@udhayasan 6 жыл бұрын
Hi, I’m new to postman. I would like to know 2 things 1. How to use regex in postman script to validate the property values. E.g: phone number : 800-123-4567 I want to know how to use regex or any other function to verify the above phone number format in Json response 2. While watching video I saw some function has been used in code snippet. E.g has, include, type of. Like this I would like to know the list of function available which can be used in postman. Thanks!!!!
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi, You can create script like mentioned here - stackoverflow.com/questions/40894813/postman-test-validating-string-values-in-an-object-in-an-array? You can get postman functions modules here - www.getpostman.com/docs/v6/postman/scripts/postman_sandbox_api_reference
POSTMAN BEGINNER TUTORIAL 10 💡 How to create First TEST
6:04
Automation Step by Step
Рет қаралды 176 М.
Postman Beginner Tutorial 9 | Environments
12:15
Automation Step by Step
Рет қаралды 47 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 104 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 12 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 11 МЛН
HTML Lesson 16   Progress And Gauge Representation
8:15
BurfCreations
Рет қаралды 1
Writing Tests in Postman - with Examples | The Exploratory
12:53
POSTMAN BEGINNER TUTORIAL 8 💡 How to create ENVIRONMENTS
8:15
Automation Step by Step
Рет қаралды 240 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 244 М.
Session 5: API Testing | Postman | Scripts  & Types of Variables
1:26:57
Postman Tutorial #7 - HTTP Methods GET and POST in Postman
13:18
Software Testing Mentor
Рет қаралды 44 М.
Postman Tutorial #35 - Postman TEXT() and JSON() Methods
12:05
Software Testing Mentor
Рет қаралды 2,6 М.
Postman Api Testing Tutorial for beginners
16:45
Codemify
Рет қаралды 24 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 104 МЛН