No video

POSTMAN BEGINNER TUTORIAL 6 💡VARIABLES | How to create and refer

  Рет қаралды 360,052

Automation Step by Step

Automation Step by Step

6 жыл бұрын

more about Raghav - automationstepbystep.com/
Today we will learn:
1. What are variables in POSTMAN
2. Why use variables
2. How to create variables
3. How to refer variables
Useful TIPS
WHAT
variables - elements(data store) that can take different values
WHY
to reuse values at multiple places
avoid repetition
to avoid re-work when value changes
________________________________________________________________
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

Пікірлер: 292
@MsJaneSi
@MsJaneSi 3 жыл бұрын
the videos are to the point and focused and most importantly have context!
@RaghavPal
@RaghavPal 3 жыл бұрын
Glad to hear this Jane
@550891
@550891 3 жыл бұрын
thank you Raghav ! for this great video on postman . you are just explaining each topic peeling layer by layer going through details for newbies.
@RaghavPal
@RaghavPal 3 жыл бұрын
So nice of you
@Anuj.UP70
@Anuj.UP70 4 жыл бұрын
Quick and Easy to grasp! Thanks a lot for your tutorials.
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome :)
@konetipenchalaiah1027
@konetipenchalaiah1027 5 жыл бұрын
Excellent Video
@arthyiyer7663
@arthyiyer7663 2 жыл бұрын
Hi Raghav, your videos are short and crisp.. it does not bore quickly and this postman tutorial of yours is too good… Thanks 👏
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome Arthy
@bharatvarshney2666
@bharatvarshney2666 6 жыл бұрын
very informative
@user-yt6vp5my5b
@user-yt6vp5my5b 4 жыл бұрын
Thank you for your tutorials, very useful.
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome
@jeraldprince9771
@jeraldprince9771 3 жыл бұрын
Thank you Raghav. Your videos are very simple and easy to grasp. Highly informative. Appreciate your efforts. 😊
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome Jerald
@Akumnm
@Akumnm 4 жыл бұрын
i am not sure who are these people who disliked this video. In each video u r explaining things in better way. thank you for such tutorials.
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks for the support Akash
@ankitmvp
@ankitmvp 4 жыл бұрын
Thanks for sharing this tutorial. It's really helpful. The best thing that I found in your videos is that they are short and precise. The short duration does not makes a person feel bored and this eventually increases the interest to watch other videos. Kudos.!! Good job. :)
@RaghavPal
@RaghavPal 4 жыл бұрын
So happy to see your message Ankit. Can check others here - automationstepbystep.com/
@MsJaneSi
@MsJaneSi 3 жыл бұрын
the videos are to the point and focused and most importantly have context!
@meenakshi032816
@meenakshi032816 4 жыл бұрын
I like your way of demonstration.Very soothing and understandable.
@RaghavPal
@RaghavPal 4 жыл бұрын
Happy to know that Meenakshi
@lakshmiprasanna8985
@lakshmiprasanna8985 4 жыл бұрын
Easy way to learn the tools... Hope we will get like these for other tools as well
@RaghavPal
@RaghavPal 4 жыл бұрын
Sure, you can find all here - automationstepbystep.com/
@md.imanali9998
@md.imanali9998 4 жыл бұрын
Simply Elegant!
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks for the message Md. Iman
@priyanarayanan5968
@priyanarayanan5968 2 жыл бұрын
I'm really happy to learn this postman from you... Very understandable
@RaghavPal
@RaghavPal 2 жыл бұрын
Glad to help Priya
@poornaps
@poornaps 4 жыл бұрын
Excellent one, again thank you very much Raghav sir
@RaghavPal
@RaghavPal 4 жыл бұрын
Always welcome Poorna
@teeeeejaaaaay
@teeeeejaaaaay 2 жыл бұрын
thank you, helpful and to the point.
@RaghavPal
@RaghavPal 2 жыл бұрын
You're welcome!
@krishnavadak
@krishnavadak 4 жыл бұрын
Good clarity and explained neatly in a very simplistic manner. Great job
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad it was helpful Joshita
@DD-xr9ef
@DD-xr9ef 5 жыл бұрын
I love your English)))).... every seconds of this video i remember time when i was in India)))... hello from ukraine... and thx for manual... U very help me!!! thx
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Denys and thanks for your wonderful message. Best wishes, Raghav
@josesanguedolce1961
@josesanguedolce1961 3 жыл бұрын
Great Manual. Thanks!!
@RaghavPal
@RaghavPal 3 жыл бұрын
You're welcome Jose, can find all Postman Tutorials here - automationstepbystep.com/
@mohamedabdelaziz3352
@mohamedabdelaziz3352 3 жыл бұрын
Very simple and useful, thanks a million
@RaghavPal
@RaghavPal 3 жыл бұрын
You're welcome!
@sergiylyashkevych1963
@sergiylyashkevych1963 4 жыл бұрын
Thank you Raghav!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Sergiy
@sunitasharma5037
@sunitasharma5037 4 жыл бұрын
Thank you so much Raghav for making it so easy
@RaghavPal
@RaghavPal 4 жыл бұрын
My pleasure Sunita
@ashishgawande6235
@ashishgawande6235 4 жыл бұрын
Thanks Raghav for creating such a knowledgeable tutorial 😊
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Ashish
@raghavendransrinivasan7496
@raghavendransrinivasan7496 3 жыл бұрын
I like the way you teach and your tone. Thanks sir.
@RaghavPal
@RaghavPal 3 жыл бұрын
So nice of you Raghavendran
@slzvieira
@slzvieira 4 жыл бұрын
Thanks a lot! Very usefull!!!
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Sandro
@sklearn9391
@sklearn9391 4 жыл бұрын
Thanks for such detail tutorial....
@RaghavPal
@RaghavPal 4 жыл бұрын
Glad it was helpful!
@geetaparshotam269
@geetaparshotam269 4 жыл бұрын
easy to understand! thanks for your effort :)
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome Geeta
@johng5295
@johng5295 4 жыл бұрын
Thanks in a million.
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome John.
@rahulmittal2211
@rahulmittal2211 4 жыл бұрын
Thanks for such easy tutorials:)
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome
@ahsanamin3818
@ahsanamin3818 Жыл бұрын
Thank you, bro.. Really this video makes me happy. Keep uploading, please.
@RaghavPal
@RaghavPal Жыл бұрын
Thank you, I will Ahsan
@amitprakash6441
@amitprakash6441 2 жыл бұрын
It's very helpful just learn like a crash course ....short and easy understand
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks Amit
@NaveenSharma069
@NaveenSharma069 5 жыл бұрын
Its a go-to session if someone wants to understand Variables & theirs scope in Postman.
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for your message Naveen
@robloxtheloverofsports3434
@robloxtheloverofsports3434 3 жыл бұрын
Excellent Raghav, as usual
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks a ton Subash
@Firecloak
@Firecloak 4 жыл бұрын
Thank you for talking about how to reference variables! This was really helpful. What is the difference between current value and initial value? I think that is in the 2019 Postman edition.
@RaghavPal
@RaghavPal 4 жыл бұрын
As mentioned in my other comment, in new ver of Postman now we have 2 values for a variable, initial and current, you can set the same value at both places, During execution current value will be referred. If you goto Settings > General, you can find a setting for Automatically persist variable values: Enabling this will persist the current value of variables to the initial value at the end of every request execution. This option is by default off for new users. For old users upgrading to the newest versions, this option is turned on. These settings apply only when assigning current values using scripts, for instance pre-request or test scripts. For detailed information on how this feature works in tandem with another option, refer to the section Keep Variable Values. learning.getpostman.com/docs/postman/launching_postman/settings/
@nareshk6444
@nareshk6444 2 жыл бұрын
Your explanation awesome @Raghav.
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome Naresh
@paraspatidar7925
@paraspatidar7925 5 жыл бұрын
Very excllent, keep it up
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks Paras
@elijahshackelford3746
@elijahshackelford3746 5 жыл бұрын
Awesome tutorial.
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks Elijah
@kunjatakadhakal
@kunjatakadhakal 2 жыл бұрын
Really helpful.Thankyou SIr
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome Anjana
@mikellasa
@mikellasa 5 жыл бұрын
Amazing thank u
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome
@rabiashahid1598
@rabiashahid1598 2 жыл бұрын
Thank you sir for this kind of testing I really impressed by your method,,,,,and I asked for u please give some session about ranorex
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Rabia, I will plan
@prianasaputra7583
@prianasaputra7583 2 жыл бұрын
Thanks, this video is useful for me. Now I Khow how to make variable for my request. Thanks
@RaghavPal
@RaghavPal 2 жыл бұрын
You are most welcome Priana
@nazer2husen
@nazer2husen 4 жыл бұрын
You've got great knowledge of the topics you are covering. Thank you for making these videos. This helps a lot to beginners like me. one suggestion, may be for future videos... please do not zoom in/out during lecture. cursor is somewhere and action is somewhere. However, i still liked your videos.
@RaghavPal
@RaghavPal 4 жыл бұрын
Sure Nazeer, will take care of this.
@louiemalim3394
@louiemalim3394 3 жыл бұрын
love it ...
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks Louie
@ousamaelidrissi5886
@ousamaelidrissi5886 4 жыл бұрын
Thanks a lot
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Ousama
@pblintso
@pblintso 4 жыл бұрын
This is the best Postman tutorial I found. Raghav, would you be able to do a tutorial video that features real-world data, and not dummy data from a site such as Reqres, please?
@RaghavPal
@RaghavPal 4 жыл бұрын
I will do Polina
@pblintso
@pblintso 4 жыл бұрын
@@RaghavPal Thank you, that will be awesome!
@tapas511
@tapas511 6 жыл бұрын
very good tutorial
@RaghavPal
@RaghavPal 6 жыл бұрын
thanks for watching Tapas
@dasweichei3751
@dasweichei3751 2 жыл бұрын
RAGHAV IS JUST THE BEST!
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks Das, humbled..
@jayjayscot3738
@jayjayscot3738 6 жыл бұрын
Nice
@JaNaMSoNi
@JaNaMSoNi 6 жыл бұрын
Very informative 😉
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks for watching.
@abhishekpardeshi5701
@abhishekpardeshi5701 2 жыл бұрын
thank you
@RaghavPal
@RaghavPal 2 жыл бұрын
welcome
@HS-ft4xl
@HS-ft4xl 3 жыл бұрын
When he changed to dark theme I knew this guy is a man of focus, Commitment, and sheer fkin will.
@RaghavPal
@RaghavPal 3 жыл бұрын
Thanks for the kind words Harry
@aniketsrivastava7929
@aniketsrivastava7929 3 жыл бұрын
Only john wick fans will understand this
@praveenk2304
@praveenk2304 4 жыл бұрын
use full
@RaghavPal
@RaghavPal 4 жыл бұрын
Thanks for watching Praveen
@danieloluwasemilore3079
@danieloluwasemilore3079 4 жыл бұрын
Hi Raghav, Your videos are more informative with clear step by step approach the issue i am having is Variable side it only shown Add new variables which is a fields not solid words below
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Daniel, thanks for watching, what do you mean by not solid words below
@danieloluwasemilore3079
@danieloluwasemilore3079 4 жыл бұрын
What i mean is The fields where Add new Variable is you have to type in there but don't to do with that
@RaghavPal
@RaghavPal 4 жыл бұрын
The variables can then be referred to in tests. I have shown examples
@rohitbahadur7000
@rohitbahadur7000 5 жыл бұрын
Hi Raghav, How would you run collections (assuming I have variables created in Global environments) via Jenkins, or even via cmdline?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Rohit, you can also export environments and provide along with commands. if your collection uses environment variables, To provide an accompanying set of environment variables, export the template from Postman and run them with the -e flag newman run www.getpostman.com/collections/id -e environment.json github.com/postmanlabs/newman/issues/1336
@FayyazAliKhan1
@FayyazAliKhan1 5 жыл бұрын
very nice tuts
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for watching Fayyaz
@awaqar2
@awaqar2 5 жыл бұрын
your videos are jewels
@RaghavPal
@RaghavPal 5 жыл бұрын
Humbled to see your message Waqar. Thanks
@madhurbhardwaj7025
@madhurbhardwaj7025 3 жыл бұрын
Hii Raghav In the updated version of Postman tool , at the the time of variable creation, there are two sub fields under value field , Initial value and current value...what are these for ?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Madhur, yes, you can check this with the latest version - kzfaq.info/sun/PLhW3qG5bs-L9i-Zfy_I5OyPRxm2au_Ll1
@jameswbsstudent7332
@jameswbsstudent7332 4 жыл бұрын
In general, will this course cover scenarios I am encountering right now to test an API (eg postgresDB) to make sure the calls and other operations are being made ok in my JavaScript code? And how does Postman help with the overall Front End and Backend interaction when developing a full stack app? Can you post which links will help me on this to understand this part?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi James, you can check the complete playlist of Postman here and see the topics - automationstepbystep.com/
@pandudamera7211
@pandudamera7211 6 жыл бұрын
You were talking about in Postman API level testing ( manual testing).Pls let me know
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Pandu, yes discussing API testing in Postman here.
@sipalaswathi2773
@sipalaswathi2773 5 жыл бұрын
hello sir nice vedios i have one doute in collections if click edit iam not getting the description ,and variables how to do this one can u plz tell .
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Sipala, what ver are you using. Pls check there may be some minor diff in case its a diff version but should work.
@SahilRallySuperStar
@SahilRallySuperStar 6 жыл бұрын
Is there a way to set variable at folder level ? Is there any way to defined base path for folder so that all requests uses same base path. Essentially I dont want to use same variable in all the requests in a particular folder.
@RaghavPal
@RaghavPal 6 жыл бұрын
You can create variables at collection, environment or global level and use them in requests in a folder
@egorstashevsci2937
@egorstashevsci2937 5 жыл бұрын
Hello Raghav, could you please make a videos about testing Web Services with help of RestAssured framework (Java) for Example?
@RaghavPal
@RaghavPal 5 жыл бұрын
I will do Egor
@egorstashevsci2937
@egorstashevsci2937 5 жыл бұрын
@@RaghavPal It's just awesome, thx.
@devpiggy
@devpiggy 4 жыл бұрын
Great beginner videos, but i still dont understand how you split the screen and made the two windows stay together. Did you go into the menu, or is it a feature in windows?
@RaghavPal
@RaghavPal 4 жыл бұрын
Its a OS (window) feature
@Ranjithkumar-hd1ol
@Ranjithkumar-hd1ol 5 жыл бұрын
really awesome
@RaghavPal
@RaghavPal 5 жыл бұрын
Thanks for watching Ranjith
@Ranjithkumar-hd1ol
@Ranjithkumar-hd1ol 5 жыл бұрын
@@RaghavPal i want to know how to backup mysql database periodically using jenkins
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Ranjith, Jenkins is a CI tool, Does not have these features in-built. You can use any tools/commands as per your need for data backup and then you can create a jenkins job to run these at scheduled intervals as per your needs
@PramodChamlingRai
@PramodChamlingRai 4 жыл бұрын
is this case sensitive or not while coding a or setting up env in the postman? thank you great content thou
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Pramod, yes, it is case sensitive
@PramodChamlingRai
@PramodChamlingRai 4 жыл бұрын
Automation Step by Step - Raghav Pal thank you one best tutorial as I ever watched
@vnehru12
@vnehru12 4 жыл бұрын
RAGVAV this is nice,Do you have anything around videos associated to AUTH Authentication ,Auth0 authentication
@RaghavPal
@RaghavPal 4 жыл бұрын
Not yet. Will plan soon
@rahuldesai7777
@rahuldesai7777 4 жыл бұрын
@Raghav How to refer to variables in json body of the request?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Rahul, the syntax remains same wherever you want to refer the variables. You can get some help from this - kzfaq.info/get/bejne/fq5xhseeqLiVknk.html
@sujathasomurkar6357
@sujathasomurkar6357 2 жыл бұрын
Gud
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks
@manasnath7961
@manasnath7961 5 жыл бұрын
Hello Raghav. I was asked in an interview that how to validate those data which are taken from a .csv file and I'm so confused to find the answer please provide accordingly. Thanks
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Manas, I will need more context here. Generally you can fetch data from csv and store in a variable and use it for validation, comparison purposes. Sometimes we might need to get the entire data in some array and do comparisons.
@davidvardanyan7986
@davidvardanyan7986 4 жыл бұрын
Hello, thank you for the video but I have a little problem, In the final version of Postman. When I add variables, the system doesn't find my variable. In this Postman version variables fields are "VARIABLE" "INITIAL VALUE " "CURRENT VALUE"
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi David, In new ver of Postman now we have 2 values for a variable, initial and current, you can set the same value at both places, During execution current value will be referred. If you goto Settings > General, you can find a setting for Automatically persist variable values: Enabling this will persist the current value of variables to the initial value at the end of every request execution. This option is by default off for new users. For old users upgrading to the newest versions, this option is turned on. These settings apply only when assigning current values using scripts, for instance pre-request or test scripts. For detailed information on how this feature works in tandem with another option, refer to the section Keep Variable Values. learning.getpostman.com/docs/postman/launching_postman/settings/
@harshitagupta945
@harshitagupta945 4 жыл бұрын
Also please share how we can authorization to collections and how to run all the request with the same token?
@RaghavPal
@RaghavPal 4 жыл бұрын
Will add Harshita
@khqa3763
@khqa3763 4 жыл бұрын
Hi ​ @Raghav , could you explain further the differences between global variable and environments? I tried to google it but still can't really get the differences...
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, The diff is as follows: 1. Scope- Environment variables can be accessed with the corresponding environments. Global variables can be accessed broadly regardless of the selected environment. 2. Priority : priority is as follows: - local - data - environment - collection - global So in case a global variables shares same name with an environment variables, at runtime value will be referenced from env variable 3. Getting & Setting variables through scripts - Global - pm.globals.set() - pm.globals.get() - Env - pm.environment.set() - pm.environment.get() learning.getpostman.com/docs/postman/environments_and_globals/intro_to_environments_and_globals/ pm.variables is for local variables for e.g. pm.variables.set("variable_key", "variable_value"); Local variables are temporary values you set in your request scripts. Also //access a variable at any scope including local pm.variables.get("variable_key"); //access a global variable
@khqa3763
@khqa3763 4 жыл бұрын
@@RaghavPal Thanks Raghav, your explanation made everything clear now!
@carlosbenavides670
@carlosbenavides670 6 жыл бұрын
Very good, I wanted to give you 2 likes :)
@RaghavPal
@RaghavPal 6 жыл бұрын
Glad to know this helped Carlos
@prachimuddapur
@prachimuddapur 4 жыл бұрын
Hi Raghav, very engaging session. However I have a doubt in this section. You mentioned about setting variables at the collection level. Also you mentioned about setting the variables at global level. When you showed that the {{{url}}} was being replaced by the actual value, was it the collection level variable which replaced this value? which precedence is higher - collection level than global?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Prachi, priority is as follows: - local - data - environment - collection - global
@prachimuddapur
@prachimuddapur 4 жыл бұрын
@@RaghavPal Thank you for your reply :) It's clear now.
@rajeshqa9365
@rajeshqa9365 5 жыл бұрын
hi how to skip request while collection running in postman
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Rajesh, you can use postman.setNextRequest community.getpostman.com/t/ignoring-tests-and-requests/671 learning.getpostman.com/docs/postman/collection_runs/building_workflows/
@ganeshsaali1757
@ganeshsaali1757 3 жыл бұрын
In edit collections page, In variable page i'm not finding key and value options. On clicking variable directly it was showing add new variable option can anyone please help to setup that option
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Ganesh, you can see the same in the latest Postman Crash Course, can find here - automationstepbystep.com/
@sanisingh3823
@sanisingh3823 4 жыл бұрын
hello sir when i am going to variable section it is by default showing 3 columns ( variable, initial value, and current value) so I am unable to set the variable as per according to things shown in the video
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Sani, this is in new version, the value you put in current value will be personal to you and what you put in initial value will be public when you share your collection in teams. For your personal projects you can leave initial value blank or can put the same value at both places During execution, current value will be referred. If you goto Settings > General, you can find a setting for Automatically persist variable values: Enabling this will persist the current value of variables to the initial value at the end of every request execution. This option is by default off for new users. For old users upgrading to the newest versions, this option is turned on. These settings apply only when assigning current values using scripts, for instance pre-request or test scripts. For detailed information on how this feature works in tandem with another option, refer to the section Keep Variable Values. learning.getpostman.com/docs/postman/launching_postman/settings/
@sushantkumar561
@sushantkumar561 5 жыл бұрын
Hi! During run I am getting error - "An error occurred while running this request. Open DevTools for more info". Please suggest.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Sushant, you can goto console mode and see the logs. Take help from here - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html
@ssgcap1700
@ssgcap1700 4 жыл бұрын
Dear sir! on updated version of postman there is no simple value column, there are three columns 1 is variable 2 is initial value 3 is current value, im confused here ive tried but its not working plz tell me what to do
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, so you can treat it like Variable and Current value as same as shown in video. Infact you can add same value in initial and current value field
@sambitmohanta9734
@sambitmohanta9734 3 жыл бұрын
Is this video made with older version of postman? I am not sure because I cannot find the variable option in my chrome plugin version and also I do not get to see the view and edit options at the top
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Sambit, you can check the new Postman Crash Course here - automationstepbystep.com/
@sambitmohanta9734
@sambitmohanta9734 3 жыл бұрын
@@RaghavPal Thank you so much
@sumaimahmed583
@sumaimahmed583 5 жыл бұрын
bro i am facing issue ..when i open edit window then in the last option of variable.when i clicked not show me a key and value..just show (add a new var)..why ?? can u guide me
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Sumaim, might be in new version it's like that, but that's okay. When you click on add a new var it should show you boxes to add key and value. This should be fine.
@Hasenohrenmaschine
@Hasenohrenmaschine 5 жыл бұрын
@@RaghavPal I see a params list, but also when I try to insert the key and value there it does not work.
@deepshikhatiwary37
@deepshikhatiwary37 3 жыл бұрын
Hi Raghav, I am not getting save option while creating variable and while creating environment.
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Deepshikha, if you close and then check again, if your variables are there then its fine, you should just save your request after doing referencing
@bhushan.mohite
@bhushan.mohite 2 жыл бұрын
Hi raghav, after adding collection level variable getting 404, earlier it was working.. could you please help?
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Bhushan, most probably the value of your global variable is not getting referred correctly, You will need to check the console to see the value its getting, Take help from this video - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html
@nainsikumari6272
@nainsikumari6272 5 жыл бұрын
Hi, How to get key and values columns in variable section? I am getting variable , initial value and current value columns.please advice
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Nainsi, I did not complete get it. Pls explain with example. In case you can refer to the part in the video if related , that will help.
@nainsikumari6272
@nainsikumari6272 5 жыл бұрын
Hi Raghav, For example : IN VEDIO,when you are doing right click on collection folder and navigate to variable tab ,you are able to see keys and Variable column but in my laptop I am seeing initial variable current variable columns. Can you please suggest what settings I can change to get keys and variable columns in variable tab? If still not understand my question please let me know. Thanks,
@RaghavPal
@RaghavPal 5 жыл бұрын
Okay got it, so Nainsi, this is just a diff format in the new ver of Postman. If you put anything in the initial value, this will show when you share your collection with your team and current value is what will be used in your test when you run. Hope this is clear now.
@nainsikumari6272
@nainsikumari6272 5 жыл бұрын
Hi Raghav, When I am pasting duplicate urls in initial variable how you are pasting in variable after click on update current variable by default take the same url of initial variable so I may not able to use your curly braces concept .. getting error..
@sriramarajeshnune5874
@sriramarajeshnune5874 3 жыл бұрын
I can't see "variables" tab when I click on edit, infact I can't find any of the tabs I just having only update option for name and update button down..is it a version mismatch
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi, yes some changes in new ver
@testercms2407
@testercms2407 4 жыл бұрын
hi raghav for creating a variable i have got different setup.can i send the screenshot of it through mail? can you help me to set up the key and value
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi, that is fine, some changes in new ver, You can watch it here - kzfaq.info/get/bejne/a8d9pNyJv7jaqJs.html
2 жыл бұрын
If i duplicate the request "GET User" from the folder "GET" from the "Collection1", the copy works !!??
@RaghavPal
@RaghavPal 2 жыл бұрын
should work
@deepshikhatiwary37
@deepshikhatiwary37 3 жыл бұрын
Hi Raghav, I have doubt in variable and have shared the screenshot in "ImgBB" . I am not able to proceed with variables further. Hope you will clarify my doubt as soon as possible. tia..
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Deepshikha, pls share the image url
@deepshikhatiwary37
@deepshikhatiwary37 3 жыл бұрын
@@RaghavPal i tried its working fine..thanks
@user-xo8xm3ss9p
@user-xo8xm3ss9p 5 жыл бұрын
First of all thanks for your tutorial. There are very clear. However I don't understand what is the usefulness of global variables. I have the impression that you create variables with random names and random values. But can you explain me how is it possible to attribute them real values? Personnaly, I'm looking for to use them to store values which come from a website thanks to webhooks. I want that each time I create/delete/update an object on this website, this one send the json file to Postman and display this file on a summary/notification screen. After researching, I believed to understand that it's possible thanks to global variables but even with the documentation, I don't know how to use them. I'm french and I don't speak really well english for know. So may be I missed an important subtlet. Thanks for your attention ! :)
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi William, I will check on this and if possible will create a video lecture
@user-xo8xm3ss9p
@user-xo8xm3ss9p 5 жыл бұрын
​@@RaghavPal Ok thanks a lot. I hope it's possible :) I would look forward to this video. I suscibe to your channel then !
@pravinjadhav9749
@pravinjadhav9749 2 жыл бұрын
How can we use variables in Test for assertion ?
@pravinjadhav9749
@pravinjadhav9749 2 жыл бұрын
Your next video is my questions answer .. Thanks Raghav..
@RaghavPal
@RaghavPal 2 жыл бұрын
Great
@ndemazizou9866
@ndemazizou9866 Жыл бұрын
Never stop learning
@RaghavPal
@RaghavPal Жыл бұрын
Always
@binadarabzand2701
@binadarabzand2701 4 жыл бұрын
HI. When using variable {{url}} instead of the address, I receive a 404 error and response type in html. But when I change back to the full address, everything is fine. I receive 200 message and response is in JSON. Why is that?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Bina, pls check if you are referring the variable from env, the env should be selected from the dropdown, (top right corner). Also you can check if the value is being referred in the final request using console output. Watch - kzfaq.info/get/bejne/pMthhdaKyM3Pg40.html
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
Hello Raghav can you let us know how to set variables in Version 6.2,,6.1 Postman doesnt load
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Akula, I saw your other comment. not sure why you are not able to use variables. Can you check with other versions
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
Automation Step by Step - Raghav Pal other version are not responding ,If possible can you upgrade d version there is no key an value when u edit collection.
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
github.com/postmanlabs/postman-app-support/issues/4594
@RaghavPal
@RaghavPal 6 жыл бұрын
Here it says - UPDATE: v.6.1.3 has been released which addresses this issue Pls check
@punitnanda328
@punitnanda328 6 жыл бұрын
hello sir, when i am editing the collection not getting variables option.Please help
@priyankarathi4060
@priyankarathi4060 6 жыл бұрын
same problem
@RaghavPal
@RaghavPal 6 жыл бұрын
Hope you are following exact same steps. Also check your ver.
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
Same issue Raghav ,Which Version is recomended ?
@shitalpatel5955
@shitalpatel5955 5 жыл бұрын
same issue not getting variables option, using chrome extension
@shitalpatel5955
@shitalpatel5955 5 жыл бұрын
thanks getting variable option for windows -postman
@RaghavPal
@RaghavPal 5 жыл бұрын
glad to know this
@harkiratsaini97
@harkiratsaini97 6 жыл бұрын
Hi Raghav Sir, when i am editing the collection not getting variables option in chrome Extension.I can only see Edit, Update and Cancel options. Also Running window exe file from postman site is giving error on my machine. Please help
@RaghavPal
@RaghavPal 6 жыл бұрын
Hi Harkirat, I believe chrome extension is no longer maintained. You can check in the application.
@harkiratsaini97
@harkiratsaini97 6 жыл бұрын
Thanks for reply sir..I tried downloading windows exe file but when I am running it gives me error..I am not sure what to do next..
@RaghavPal
@RaghavPal 5 жыл бұрын
Do you get any details of the error
@hksaini4934
@hksaini4934 5 жыл бұрын
I think its compatibility issue. I am getting "Installation has failed: There was an error while installing the application. check the set up log for more information and contact author." My machine is old and not compatible with the exe file I believe. Tried on new machine I can see the variable under the edit. However When I am following the exactly same steps I am getting 404 instead of 200 response. The only difference i can see is under variable I have "Initial Value" and "Current Value" columns. Any ideas why I am getting 404? Thanks!
@esthomason
@esthomason 5 жыл бұрын
I had to upgrade my desktop app to v6.3 to see the Variable tab. Not being supported in Chrome is going to be a pain at work, where we don't have the client available. Variables is a great enhancement.
@jameswbsstudent7332
@jameswbsstudent7332 4 жыл бұрын
The section on Global Variables was confusing and I do not understand the context of how this relates to the other part you did on variables in this session. What benefit does it provide to us to set up your "name" and "environment"? Technically, if you wanted that url variable you set at a lower level related to Requests such as GetUser and GetUserList to be used all the time for any requests made in any collection, would you then want to set this at Global Variables instead? was that the point?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi James, yes, in general if there is a value that you may want to use at multiple places we can put that in a variable and refer from there. Also in the coming sessions, will learn about Env variables.
@delightful730
@delightful730 3 жыл бұрын
Need Swagger documentation tutorial plz
@RaghavPal
@RaghavPal 3 жыл бұрын
I will plan for this
@kasunherath2173
@kasunherath2173 4 жыл бұрын
404 not found error appears once replaced with url variable, how to solve?
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Kasun, in case it does not work, you can use any other example for practice.
@uniquelyme9399
@uniquelyme9399 6 жыл бұрын
From where i can get postman window based application
@RaghavPal
@RaghavPal 6 жыл бұрын
You can download it from - www.getpostman.com/apps Here is the video for that - kzfaq.info/get/bejne/oNucl9Wpqdi3eGQ.html Playlist - kzfaq.info/sun/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C
@uniquelyme9399
@uniquelyme9399 6 жыл бұрын
thx a lot
@uniquelyme9399
@uniquelyme9399 6 жыл бұрын
Hi still I did not able to install postman in PC .getting some error
@RaghavPal
@RaghavPal 6 жыл бұрын
What is the error. have you followed all steps. What is your OS ver
POSTMAN BEGINNER TUTORIAL 7 💡 How to set and get VARIABLES through SCRIPTING
7:08
Postman Beginner Tutorial 7 | How to add and refer Variables
9:02
Automation Step by Step
Рет қаралды 54 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 111 М.
POSTMAN BEGINNER TUTORIAL 8 💡 How to create ENVIRONMENTS
8:15
Automation Step by Step
Рет қаралды 240 М.
Use Response Data in a Request | Postman Flows
3:29
Postman
Рет қаралды 18 М.
Postman Tutorial #7 - HTTP Methods GET and POST in Postman
13:18
Software Testing Mentor
Рет қаралды 44 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 835 М.
All New Performance Testing Option in Postman is Awesome 🤯⚡️
9:58
Execute Automation
Рет қаралды 26 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 23 МЛН