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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.พ. 2018
  • 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
    TH-cam - / automationstepbystep

ความคิดเห็น • 292

  • @550891
    @550891 3 ปีที่แล้ว +2

    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

  • @DD-xr9ef
    @DD-xr9ef 5 ปีที่แล้ว +10

    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

  • @ankitmvp
    @ankitmvp 4 ปีที่แล้ว +11

    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 ปีที่แล้ว +1

      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!

  • @Akumnm
    @Akumnm 4 ปีที่แล้ว +1

    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

  • @MsJaneSi
    @MsJaneSi 3 ปีที่แล้ว

    the videos are to the point and focused and most importantly have context!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad to hear this Jane

  • @Anuj.UP70
    @Anuj.UP70 4 ปีที่แล้ว

    Quick and Easy to grasp! Thanks a lot for your tutorials.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome :)

  • @arthyiyer7663
    @arthyiyer7663 2 ปีที่แล้ว +1

    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

  • @jeraldprince9771
    @jeraldprince9771 3 ปีที่แล้ว +2

    Thank you Raghav. Your videos are very simple and easy to grasp. Highly informative. Appreciate your efforts. 😊

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Most welcome Jerald

  • @konetipenchalaiah1027
    @konetipenchalaiah1027 5 ปีที่แล้ว +1

    Excellent Video

  • @priyanarayanan5968
    @priyanarayanan5968 2 ปีที่แล้ว +1

    I'm really happy to learn this postman from you... Very understandable

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Glad to help Priya

  • @ashishgawande6235
    @ashishgawande6235 4 ปีที่แล้ว +1

    Thanks Raghav for creating such a knowledgeable tutorial 😊

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Ashish

  • @meenakshi032816
    @meenakshi032816 4 ปีที่แล้ว

    I like your way of demonstration.Very soothing and understandable.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Happy to know that Meenakshi

  • @bharatvarshney2666
    @bharatvarshney2666 6 ปีที่แล้ว +2

    very informative

  • @krishnavadak
    @krishnavadak 4 ปีที่แล้ว

    Good clarity and explained neatly in a very simplistic manner. Great job

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Glad it was helpful Joshita

  • @lakshmiprasanna8985
    @lakshmiprasanna8985 4 ปีที่แล้ว +1

    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/

  • @user-yt6vp5my5b
    @user-yt6vp5my5b 4 ปีที่แล้ว

    Thank you for your tutorials, very useful.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome

  • @md.imanali9998
    @md.imanali9998 4 ปีที่แล้ว

    Simply Elegant!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks for the message Md. Iman

  • @poornaps
    @poornaps 4 ปีที่แล้ว

    Excellent one, again thank you very much Raghav sir

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Always welcome Poorna

  • @ahsanamin3818
    @ahsanamin3818 ปีที่แล้ว

    Thank you, bro.. Really this video makes me happy. Keep uploading, please.

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Thank you, I will Ahsan

  • @nazer2husen
    @nazer2husen 4 ปีที่แล้ว +2

    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.

  • @amitprakash6441
    @amitprakash6441 2 ปีที่แล้ว

    It's very helpful just learn like a crash course ....short and easy understand

  • @nareshk6444
    @nareshk6444 2 ปีที่แล้ว

    Your explanation awesome @Raghav.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Naresh

  • @Firecloak
    @Firecloak 4 ปีที่แล้ว +1

    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/

  • @josesanguedolce1961
    @josesanguedolce1961 3 ปีที่แล้ว

    Great Manual. Thanks!!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You're welcome Jose, can find all Postman Tutorials here - automationstepbystep.com/

  • @robloxtheloverofsports3434
    @robloxtheloverofsports3434 3 ปีที่แล้ว

    Excellent Raghav, as usual

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Thanks a ton Subash

  • @sunitasharma5037
    @sunitasharma5037 4 ปีที่แล้ว

    Thank you so much Raghav for making it so easy

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      My pleasure Sunita

  • @teeeeejaaaaay
    @teeeeejaaaaay 2 ปีที่แล้ว

    thank you, helpful and to the point.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You're welcome!

  • @mohamedabdelaziz3352
    @mohamedabdelaziz3352 3 ปีที่แล้ว

    Very simple and useful, thanks a million

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You're welcome!

  • @raghavendransrinivasan7496
    @raghavendransrinivasan7496 3 ปีที่แล้ว

    I like the way you teach and your tone. Thanks sir.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      So nice of you Raghavendran

  • @pblintso
    @pblintso 4 ปีที่แล้ว +3

    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 ปีที่แล้ว +1

      I will do Polina

    • @pblintso
      @pblintso 4 ปีที่แล้ว

      @@RaghavPal Thank you, that will be awesome!

  • @sergiylyashkevych1963
    @sergiylyashkevych1963 4 ปีที่แล้ว

    Thank you Raghav!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Sergiy

  • @slzvieira
    @slzvieira 4 ปีที่แล้ว

    Thanks a lot! Very usefull!!!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Sandro

  • @rahulmittal2211
    @rahulmittal2211 4 ปีที่แล้ว

    Thanks for such easy tutorials:)

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Most welcome

  • @dasweichei3751
    @dasweichei3751 2 ปีที่แล้ว

    RAGHAV IS JUST THE BEST!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Thanks Das, humbled..

  • @paraspatidar7925
    @paraspatidar7925 5 ปีที่แล้ว

    Very excllent, keep it up

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks Paras

  • @geetaparshotam269
    @geetaparshotam269 4 ปีที่แล้ว

    easy to understand! thanks for your effort :)

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Most welcome Geeta

  • @sklearn9391
    @sklearn9391 4 ปีที่แล้ว

    Thanks for such detail tutorial....

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Glad it was helpful!

  • @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

  • @HS-ft4xl
    @HS-ft4xl 3 ปีที่แล้ว +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

  • @elijahshackelford3746
    @elijahshackelford3746 5 ปีที่แล้ว

    Awesome tutorial.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks Elijah

  • @kunjatakadhakal
    @kunjatakadhakal 2 ปีที่แล้ว

    Really helpful.Thankyou SIr

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Anjana

  • @johng5295
    @johng5295 4 ปีที่แล้ว

    Thanks in a million.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome John.

  • @tapas511
    @tapas511 6 ปีที่แล้ว +4

    very good tutorial

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      thanks for watching Tapas

  • @jayjayscot3738
    @jayjayscot3738 6 ปีที่แล้ว

    Nice

  • @JaNaMSoNi
    @JaNaMSoNi 6 ปีที่แล้ว

    Very informative 😉

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks for watching.

  • @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

  • @louiemalim3394
    @louiemalim3394 3 ปีที่แล้ว

    love it ...

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Thanks Louie

  • @ousamaelidrissi5886
    @ousamaelidrissi5886 4 ปีที่แล้ว

    Thanks a lot

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Ousama

  • @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

  • @awaqar2
    @awaqar2 5 ปีที่แล้ว

    your videos are jewels

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      Humbled to see your message Waqar. Thanks

  • @abhishekpardeshi5701
    @abhishekpardeshi5701 2 ปีที่แล้ว

    thank you

  • @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

  • @madhurbhardwaj7025
    @madhurbhardwaj7025 3 ปีที่แล้ว +1

    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 - th-cam.com/play/PLhW3qG5bs-L9i-Zfy_I5OyPRxm2au_Ll1.html

  • @praveenk2304
    @praveenk2304 4 ปีที่แล้ว

    use full

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks for watching Praveen

  • @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

  • @carlosbenavides670
    @carlosbenavides670 6 ปีที่แล้ว +1

    Very good, I wanted to give you 2 likes :)

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Glad to know this helped Carlos

  • @davidvardanyan7986
    @davidvardanyan7986 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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/

  • @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

  • @devpiggy
    @devpiggy 4 ปีที่แล้ว +1

    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

  • @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/

  • @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

  • @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.

  • @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.

  • @sriramarajeshnune5874
    @sriramarajeshnune5874 3 ปีที่แล้ว +1

    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

  • @egorstashevsci2937
    @egorstashevsci2937 5 ปีที่แล้ว +1

    Hello Raghav, could you please make a videos about testing Web Services with help of RestAssured framework (Java) for Example?

  • @sujathasomurkar6357
    @sujathasomurkar6357 2 ปีที่แล้ว

    Gud

  • @ssgcap1700
    @ssgcap1700 4 ปีที่แล้ว +1

    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

  • @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 ปีที่แล้ว +1

      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

  • @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.

  • @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 - th-cam.com/video/ne1RsYcgkSY/w-d-xo.html

  • @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 ปีที่แล้ว +1

      Hi Prachi, priority is as follows:
      - local
      - data
      - environment
      - collection
      - global

    • @prachimuddapur
      @prachimuddapur 4 ปีที่แล้ว

      @@RaghavPal Thank you for your reply :) It's clear now.

  • @vnehru12
    @vnehru12 4 ปีที่แล้ว +1

    RAGVAV this is nice,Do you have anything around videos associated to AUTH Authentication ,Auth0 authentication

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Not yet. Will plan soon

  • @rajeshqa9365
    @rajeshqa9365 5 ปีที่แล้ว +1

    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/

  • @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 - th-cam.com/video/HHASdmCR1bE/w-d-xo.html

  • @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.

  • @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 ปีที่แล้ว +1

      Hi Sambit, you can check the new Postman Crash Course here - automationstepbystep.com/

    • @sambitmohanta9734
      @sambitmohanta9734 3 ปีที่แล้ว

      @@RaghavPal Thank you so much

  • @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!

  • @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/

  • @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/

  • @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

  • @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 - th-cam.com/video/ne1RsYcgkSY/w-d-xo.html

  • @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 - th-cam.com/video/ne1RsYcgkSY/w-d-xo.html

  • @ndemazizou9866
    @ndemazizou9866 ปีที่แล้ว

    Never stop learning

  • @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.

  • @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

  •  2 ปีที่แล้ว

    If i duplicate the request "GET User" from the folder "GET" from the "Collection1", the copy works !!??

  • @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

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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..

  • @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 - th-cam.com/video/5aMqyXZRvxg/w-d-xo.html

  • @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  5 ปีที่แล้ว +1

      Hi Harkirat, I believe chrome extension is no longer maintained. You can check in the application.

    • @harkiratsaini97
      @harkiratsaini97 5 ปีที่แล้ว

      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.

  • @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 ?

  • @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 ปีที่แล้ว +1

      Hi William, I will check on this and if possible will create a video lecture

    • @user-xo8xm3ss9p
      @user-xo8xm3ss9p 5 ปีที่แล้ว +1

      ​@@RaghavPal Ok thanks a lot. I hope it's possible :) I would look forward to this video. I suscibe to your channel then !

  • @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.

  • @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

  • @shitalpatel5955
    @shitalpatel5955 5 ปีที่แล้ว

    same issue not getting variables option, using chrome extension

    • @shitalpatel5955
      @shitalpatel5955 5 ปีที่แล้ว +1

      thanks getting variable option for windows -postman

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      glad to know this

  • @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 - th-cam.com/video/juldrxDrSH0/w-d-xo.html
      Playlist - th-cam.com/play/PLhW3qG5bs-L-oT0GenwPLcJAPD_SiFK3C.html

    • @uniquelyme9399
      @uniquelyme9399 6 ปีที่แล้ว +1

      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

  • @delightful730
    @delightful730 3 ปีที่แล้ว

    Need Swagger documentation tutorial plz

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      I will plan for this