Postman Beginner Tutorial 12 | How to Debug

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

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

  • @SDvirgo
    @SDvirgo 6 หลายเดือนก่อน

    Best training teacher. I am learning most of the tools from your channel. Thanks a ton Raghav🙏 Keep up the good work!

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

      Glad to hear that.. humbled

  • @uzeirdalip9499
    @uzeirdalip9499 7 หลายเดือนก่อน

    Thank you, very informative and no time-wasting.

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

      Most welcome

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

    Excellent. Best tutorial ever.

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

      Glad it was helpful!

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

    Thank you for the video Raghav.I am trying to test a scenario where I need to validate certain parameters for a few telecom services (data speeds). A part of the xml request is below:
    ServiceName>{{ServiceName}}

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

      Hi Dhananjay,
      es, you can achieve this in Postman by using Collection Variables and the Collection Runner. Here's a high-level overview of the steps:
      Create a Collection Variables in Postman with the name of your choice, for example, ServiceName.
      In your requests, use the syntax {{ServiceName}} where you want the value of the variable to be inserted.
      In the Collection Runner, select the collection you want to run, and import the CSV file that contains the data speeds.
      Map the CSV column ServiceName to the Collection Variable ServiceName.
      Start the Collection Runner.
      Each iteration of the Collection Runner will set the value of ServiceName to the corresponding value in the CSV file and then run the tests. You can then use this value in your requests and assertions to validate the corresponding telecom services.

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

    Man loved your content and its information. got to know many new things.
    just curious which tool did you use to provide highlight like rectangle.

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

      Glad you liked it Lakshmi

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

    Hi Ragav,
    Thanks for posting such a useful content you are awesome!
    Are we left with few more concepts like jenkins..etc?

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

      Hi Sudarshan, you can find all playlists here - automationstepbystep.com/

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

    Hello sir
    Where will I get ur mannual notes? Yesterday u posted acceptance resting, it is in very easy language. So please tell me.

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

      Hi Ashwini, I add all the notes below the video, in Description, Tell me in specific what is missing

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

    Hi Sir,
    How to handle exceptions in postman. Could you please provide info on this.

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

      Hi Sharath
      Here are some ways to handle exceptions in Postman:
      * **Use the `catch` block:** The `catch` block is a way to handle exceptions in JavaScript. You can use the `catch` block to catch any exceptions that are thrown by your code and then take some action, such as logging the exception or displaying an error message.
      ```
      try {
      // Your code
      } catch (error) {
      // Handle the exception
      }
      ```
      * **Use the `on` event:** The `on` event is a way to handle events in Postman. You can use the `on` event to handle exceptions that are thrown by your code.
      ```
      pm.on("error", function(error) {
      // Handle the exception
      });
      ```
      * **Use the `test` script:** The `test` script is a way to run code after a request has been made. You can use the `test` script to check for errors and then take some action, such as logging the error or displaying an error message.
      ```
      pm.test("Check for errors", function() {
      if (pm.response.error) {
      // Handle the error
      }
      });
      ```
      Here are some additional tips for handling exceptions in Postman:
      * Use the `debug` option to log exceptions to the console. This can help you to track down the source of the exception.
      * Use the `fail` function to fail the request if an exception is thrown. This can help you to ensure that your tests are not successful if there are any errors.
      * Use the `retry` function to retry the request if an exception is thrown. This can help you to ensure that your tests are successful even if there are occasional errors.
      I hope this helps

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

    Hi once again. Does Postman have a function to report or email the API execution status automatically?

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

      Hi Mike,
      Yes, Postman has the ability to report or email the API execution status automatically. This can be done through the use of Postman monitors, which allow you to run API requests on a set schedule and receive notifications if the API response changes.
      To set up a monitor, you first need to create a collection of API requests that you want to monitor. Then, go to the "Monitor" tab in Postman and click "Create a monitor." In the monitor setup, you can specify the frequency of the monitor run, the environment to use, and the recipients of the monitor email notifications.
      By default, Postman sends an email to the recipients whenever there is a change in the API response. However, you can customize the email notifications by adding custom fields such as the API response time or status code.
      Additionally, Postman offers a feature called "Postman Pro," which provides advanced reporting and collaboration features, including the ability to generate API reports and share them with team members.
      In conclusion, Postman does have the ability to report or email the API execution status automatically through the use of monitors and advanced reporting features in Postman Pro

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

      @@RaghavPal Thank you for your recommendations. I will check out your suggestions.

  • @ammarsadeq6078
    @ammarsadeq6078 10 หลายเดือนก่อน

    How to use the developer tool in Edge

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

      Ammar
      There are several options
      Select More tools > Developer tools.
      Keyboard Shortcut: F12
      Right-click anywhere on the webpage and select Inspect or Inspect element. This will open the developer tools with the specific element you clicked on highlighted.
      Press Ctrl + Shift + P (Windows/Linux) or Command + Option + P (macOS) to open the Command Menu.
      Type in "Show Developer Tools" and select the option.

  • @SyedDanishHusain-n7j
    @SyedDanishHusain-n7j 2 หลายเดือนก่อน +1

    Please explain in details

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

      Sure Syed will create new sessions

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

    i am doing in postman tool which was downloaded and my laptop is also windows. So please tell me how to debug in postman app

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

      Hi Harish, the steps will remain same for this, Pls try and let me know if you face issue, in detail

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

      Already I tried that's why I comment it

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

      I will check

  • @rahulsharma-xk6db
    @rahulsharma-xk6db 2 ปีที่แล้ว

    Thanks sir.

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

      Most welcome

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

    I need a video of jason web token authentication with postman

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

      ok.. i will plan.. for now can try online

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

    Hello sir i need ur help in postman for providing authorise permission to my tool

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

      tell me the issue Rajat

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

      @@RaghavPal can i send u an e-mail for more clarification

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

      @@RaghavPal i send u an email ✉️ please chk and reply to me

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

    Are you reuploading postman vids

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

      Yes, with the latest version as there were some UI changes

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

      @@RaghavPal a friend recommended your videos havr completed all postman vids, can not thank enough.. keep up the good work