Postman Beginner Tutorial 12 | How to Debug

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 40

  • @SDvirgo
    @SDvirgo 7 месяцев назад

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

    • @RaghavPal
      @RaghavPal  7 месяцев назад

      Glad to hear that.. humbled

  • @uzeirdalip9499
    @uzeirdalip9499 8 месяцев назад

    Thank you, very informative and no time-wasting.

  • @YunaOmura
    @YunaOmura 17 дней назад

    APIデバッグって本当に重要ですよね。この動画を見て思い出したんですが、EchoAPIというツールがすごく便利です。オフラインで動作するし、シンプルで速いので、開発の効率が上がりますよ!

  • @blingsupply
    @blingsupply 10 месяцев назад

    Excellent. Best tutorial ever.

    • @RaghavPal
      @RaghavPal  10 месяцев назад

      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.

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

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

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

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

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

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

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

  • @rahulsharma-xk6db
    @rahulsharma-xk6db 2 года назад

    Thanks sir.

  • @SyedDanishHusain-n7j
    @SyedDanishHusain-n7j 3 месяца назад +1

    Please explain in details

    • @RaghavPal
      @RaghavPal  3 месяца назад

      Sure Syed will create new sessions

  • @mdbicky9460
    @mdbicky9460 2 месяца назад

    I need a video of jason web token authentication with postman

    • @RaghavPal
      @RaghavPal  2 месяца назад

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

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