Postman Beginner Tutorial 6 | Collections

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • All FREE courses - automationstepbystep.com/
    Notes:
    1. What is COLLECTION
    2. How to create Collection
    3. How to create folders inside collection
    4. How to arrange requests inside collection
    After watching take this QUIZ - forms.gle/TvuwSwWgaVQaaV7z8
    Collection is a group of API requests
    ____________________________________________________________
    Stories by Raghav - automationstepbystep.com/stor...
    My Udemy Courses - automationstepbystep.com/udem...
    Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
    You can support my mission for education by sharing this knowledge and helping as many people as you can
    If my work has helped you, consider helping any animal near you, in any way you can.
    _______ ONLINE COURSES TO LEARN _______
    automationstepbystep.com/free...
    GitHub - github.com/Raghav-Pal/
    Udemy - www.udemy.com/user/raghav-pal-3/
    Training by Raghav at your venue - raghav.qna@gmail.com
    Training schedule - automationstepbystep.com/trai...
    ----------- 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 with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    TestProject - bit.ly/2DRNJYE
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    Katalon Studio API Testing - bit.ly/2BwuCTN
    ----------- MOBILE TESTING -----------
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Kubernetes - bit.ly/2MJIlMK
    ------------VIRTUALISATION------------
    Virtualization on windows - bit.ly/2SItIL9
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    GitLab - bit.ly/2kQPGyQ
    ----------- 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
    ----------- PROGRAMMING -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    GROOVY - bit.ly/2FvWV5C
    JAVASCRIPT - bit.ly/2KJDZ8o
    PYTHON - bit.ly/2Z4iRye
    ----------- IDE -----------
    Visual Studio Code - bit.ly/2V15yvt
    ----------- BUILD TOOLS -----------
    Maven - bit.ly/2NJdDRS
    Gradle - bit.ly/30l3h1B
    ----------- 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
    ---------- Connect with Raghav -----------
    Udemy Courses - www.udemy.com/user/raghav-pal-3/
    Twitter - / learnwithraghav
    TH-cam - / automationstepbystep
    Never Stop Learning
    Raghav

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

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

    Clear and concise explanation, thanks

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

      Glad it was helpful!

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

    Thanks for awesome videos and your patience is taking is slow and basic level

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

      You are welcome Richard. Thanks for the support

  • @hemanxidave4612
    @hemanxidave4612 2 ปีที่แล้ว +5

    Thank you sir, I am fresher and wanted to learn Postman. Please share more videos on Postman.

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

      Will upload soon

  • @danielspinks9006
    @danielspinks9006 29 วันที่ผ่านมา

    Wonderful job!

    • @RaghavPal
      @RaghavPal  28 วันที่ผ่านมา

      Thanks Daniel

  • @HariRam-nl6uz
    @HariRam-nl6uz 2 หลายเดือนก่อน

    thanks for the videos sir .

    • @RaghavPal
      @RaghavPal  2 หลายเดือนก่อน

      Glad you like them

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

    Lovely 🙂

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

      Thank you! 😊

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

    waiting new course Gj sir...

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

      sure, coming soon

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

    Hello sir I'm a fresher now currently I'm following your selenium classes and can you tell me what should i go for next ,which can help me get a job in quality assurance.What is the current trend to follow?

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

      Hi Abhiram, Learn framework creation, API testing, if you can learn some CI CD tools like Jenkins

  • @malakabuhejleh358
    @malakabuhejleh358 9 หลายเดือนก่อน

    hello, thank you for your videos they are very helpful ,So I have question I don't have any real experience and I already learn java as programming language and selenium (junit and testng) and I can create POM framework from the scratch and Jenkins ,also I learn soupui postman restassured for API testing, So my question is Am I ready to apply for job as automation tester?

    • @RaghavPal
      @RaghavPal  8 หลายเดือนก่อน

      Malak
      Yes, you are ready to apply for a job as an automation tester. You have a good foundation in programming languages, testing frameworks, and API testing tools. You also have the ability to create a POM framework from scratch and to use Jenkins for continuous integration and continuous delivery (CI/CD).
      However, it is important to keep in mind that some companies may prefer to hire automation testers with experience. To increase your chances of getting hired, you can try to gain some real-world experience by working on personal projects or contributing to open source projects.
      You can also try to get involved in the automation testing community by attending meetups and conferences. This is a great way to learn about new technologies and trends, and to network with other automation testers.
      Here are some additional tips for applying for jobs as an automation tester:
      * Tailor your resume and cover letter to each job that you apply for. Highlight the skills and experience that are most relevant to the job.
      * Be prepared to talk about your automation testing skills and experience in job interviews. Be able to explain how you have used your skills to solve real-world problems.
      * Be willing to start at an entry-level position if necessary. This is a great way to gain experience and to learn from more experienced automation testers.
      I wish you the best of luck in your job search

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

    Please create a playlist of RestAssured Framework creattion.

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

      Hi Raman, can find here - automationstepbystep.com/

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

    Hello , Is the monitor collection make the collection run automatically in any time without action from me ?

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

      Hi Reham, it will run as per the schedule you set, check here learning.postman.com/docs/monitoring-your-api/intro-monitors/

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

    Sir what is swagger.? Is there any relation with Portman? Please reply sir...

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

      Swagger is a platform that can be used to describe the structure of your APIs in a way that machines can read them
      swagger.io/docs/specification/2-0/what-is-swagger/

  • @user-fw9pg9lu2i
    @user-fw9pg9lu2i 17 วันที่ผ่านมา +1

    I want to set common bearertoken and baseurl for single collection in postman

    • @RaghavPal
      @RaghavPal  16 วันที่ผ่านมา

      Navneet
      To set a common Bearer Token and Base URL for a single collection in Postman, you have a few options:
      1. Collection Variables:
      - Create a collection variable for the Bearer Token and Base URL.
      - In your collection, go to the Variables tab.
      - Define the following variables:
      - `tokenBaseURL`: Set this to the base URL for your authentication service.
      - `authData`: If your auth service requires specific data, add it here as a JSON object.
      - Now, your requests within the collection can reference these variables.
      2. Pre-request Script:
      - You can use a pre-request script at the collection level to set environment variables dynamically.
      - Here's an example of how to set the Bearer Token using a script:
      ```javascript
      pm.sendRequest({
      url: 'YourURL',
      method: 'POST',
      header: {
      'content-type': 'application/json'
      },
      body: {
      mode: 'raw',
      raw: JSON.stringify({
      // YOUR PARAM TO CREATE THE TOKEN IF NEEDED
      })
      }
      }, (err, res) => {
      pm.collectionVariables.set('TOKEN', res.json().accessToken);
      });
      ```
      3. Environment Variables:
      - Create a new environment or use an existing one.
      - Add environment variables for the Bearer Token and Base URL.
      - Set the values accordingly.
      Remember to choose the approach that best fits your project requirements and workflow
      -

    • @user-fw9pg9lu2i
      @user-fw9pg9lu2i 9 วันที่ผ่านมา

      @@RaghavPal Sir ,
      Thankyou for your quick reply which helps a lot. 😀😀

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

    Hi Sir tqu .. I got a new job because of you i followed entire java selenium suite.but they are working in Cypress automation frame work , now I have a dout whether I have to go or not and wt about cypress future/scope and it's is good or not for my career.
    Please respond to this , iam Regorsly waiting.

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

      Hi Chethuhari, you can go with Cypress, it is gaining traction, I will suggest to keep yourself updated with other skills too

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

    Hi sir I wonder why we have to run same requests many times when it gives the same result.

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

      There are several features of collection, I will make a video, You can also check the earlier postman playlist here - automationstepbystep.com/

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

      Thank you sir.

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

    what is the difference between duplicate collection and create fork in collection

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

      In Postman, you can create a duplicate of a collection or fork a collection
      The main difference between the two is that a duplicate is an exact copy of the original collection, including all of its requests and folders, whereas a fork creates a new copy of the original collection that you can edit and modify without affecting the original collection
      In summary, if you want to make a copy of a collection and make changes to it without affecting the original, you should fork the collection. If you want to make an exact copy of the collection, you should duplicate it.

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

      @@RaghavPal So you are saying that if I will use duplicate copy of collection than I cant modify and update in that duplicate copy of collection. Changes will reflect to original copy of collection in case of changes in duplicate collection.

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

      No, that is not the case, Just understand why we need forking
      Forking is useful when working on a team or collaborating with others, as it allows multiple users to make changes to the same collection without interfering with each other's work.
      you can merge a forked collection with the original collection by using the "Import" feature. The process of merging a forked collection with the original collection is also known as "pull request"

  • @user-fw9pg9lu2i
    @user-fw9pg9lu2i 9 วันที่ผ่านมา

    I Follow your steps, but when I run collection, then it shows as 'No test found'.

    • @RaghavPal
      @RaghavPal  8 วันที่ผ่านมา

      Navneet
      Let's break down the problem step by step to troubleshoot the issue
      Step 1: Make sure you have saved your project. Verify that you have tests in your collection
      * Open your Postman collection and check if you have any tests written for the requests
      * Look for the "Tests" tab in each request. If you don't see any tests, that's likely the reason why Postman is showing "No test found"
      * Make sure you have at least one test written in the "Tests" tab of a request in your collection
      Step 2: Check the test syntax
      * If you have tests written, check the syntax of the tests to ensure they are correct
      * Postman uses the Chai assertion library for writing tests. Make sure you're using the correct syntax for Chai assertions
      * Common mistakes include incorrect indentation, missing semicolons, or incorrect function calls
      Step 3: Check the test location
      * Ensure that the tests are located in the correct place. Tests should be written in the "Tests" tab of a request, not in the "Pre-request Script" or "Post-request Script" tabs
      * If you have tests in a separate file or folder, make sure they are properly linked to the request
      Step 4: Check the collection settings
      * Open your collection settings by clicking the three dots next to the collection name and selecting "Edit"
      * In the collection settings, ensure that the "Run tests" option is enabled
      * Also, check if there are any filters or conditions set that might be preventing the tests from running
      Step 5: Check for any errors in the console
      * Open the Postman console by clicking the "Console" button at the bottom of the Postman window
      * Check for any error messages related to the tests. If you see an error, it might give you a clue about what's going wrong
      Step 6: Try running the tests individually
      * Instead of running the entire collection, try running each request individually to see if the tests pass or fail
      * This can help you identify if the issue is specific to a particular request or if it's a collection-wide problem
      -

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

    Hi sir make performance testing (jmeter) new series sir

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

      Hi Ravi, can find here - automationstepbystep.com/

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

    How can I DELETE multiple data/record using postman?

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

      Hi Soumen, this generally should be the functionality from API service side, there must be some API where multiple records can be given for deletion, The best we can do in Postman is to add a script which will extract the IDs from a GET API and run the Delete API taking IDs from the extracted list

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

    sir, is this postman series finished ???

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

      No, more coming

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

    You never explain what IS a collection like what is it? What is it for? What does it do??

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

      I will check and try to do a session on this

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

    i hate postman because too much feature and buttons.. haha