Advanced API testing: Best Practices and Automation Techniques | Postman Intergalactic

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

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

  • @anhengineerdotcom
    @anhengineerdotcom Год назад

    This is amazing. Thank you so much, hello from Vietnam

  • @dacceto
    @dacceto 5 месяцев назад

    very useful presentation

  • @samarbid13
    @samarbid13 Год назад +1

    Appreciate the demo. Can you guide me towards resources for using Postman in data migration, specifically handling optional values from a JSON file and managing their inclusion in the request? Also, is it possible to incorporate pre-request-script logic in the automation process?

    • @postman
      @postman  Год назад +1

      Here is a code sample to set the request body dynamically from pre-request script: www.postman.com/postman/workspace/postman-answers/request/9215231-ecbfa776-0064-4a80-a1e4-2a0e768e9765

  • @deenaa_0193
    @deenaa_0193 Год назад +1

    Very useful! could you please provide me with a link to the webhooks flows session?

    • @postman
      @postman  Год назад

      Here is the latest Flows webinar: www.postman.com/events/intergalactic/building-low-code-applications-with-postman-flows/

  • @ngocmaile2489
    @ngocmaile2489 4 месяца назад

    I was trying to send the POST request, but I got:
    {
    "message": "Invalid or missing credentials. Make sure you add 'api-key' to the request headers with a valid value"

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

      First run the "Fetch a list of books", and copy the first id from the response. Paste it into the "Variables" of the main "Advanced API Testing" as bookId's Current value. And then run the "Create a new book", it'll pass.

  • @ngocmaile2489
    @ngocmaile2489 4 месяца назад

    After I post the question I could see that it wasn't me who has the problem with the POST. I tried many version of api-key - generated API key, added a ramdom value... nothing works.
    Plz help :-)

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

      Great question! We actually have a community page dedicated to answering questions just like this one, which you can find here: community.postman.com
      Please submit your question and a link to this video there, so that it can reach the greater Postman Developer Community.

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

      First run the "Fetch a list of books", and copy the first id from the response. Paste it into the "Variables" of the main "Advanced API Testing" as bookId's Current value. And then run the "Create a new book", it'll pass.

  • @nasermahmood7991
    @nasermahmood7991 Год назад

    When I run 'create new book' I keep on getting 'invalid or missing credentials' message. I thought the API Key was being inherited from parent.

    • @postman
      @postman  Год назад

      Under the Authorization tab for the request, you can see if any auth helper is being used, for example inherited. For extra clarity, open the Postman console (bottom left) to see the outgoing request headers Postman is sending.

    • @kiwikite83
      @kiwikite83 5 месяцев назад

      @@postman Hi. I'm having the same issue as @nasermahmood7991 but I don't really understand your response. I'm trying to follow along with this video, but I cannot do the first POST - Create a new book. I tried to have API-key blank, I tried generating a key and I tried using the key I can see you are using in the video, neither works. I can see in my console that postman is sending whichever key I am trying to use, but I don't know what to do with that information. Can you please help?

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

      @@kiwikite83 First run the "Fetch a list of books", and copy the first id from the response. Paste it into the "Variables" of the main "Advanced API Testing" as bookId's Current value. And then run the "Create a new book", it'll pass.