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

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • Join us for an intermediate-level, one-hour Postman training tailored specifically for API testers, developers, and other stakeholders invested in the health of your APIs. If you already know how to write and run tests in Postman, this session takes it to the next level. Learn advanced testing workflows and recommended practices for testing in Postman.
    0:00 Overview of different types of testing in Postman
    10:00 DEMO: Scenario testing and collection runner
    17:45 DEMO: Contract testing
    19:45 DEMO: Fuzz testing by looping through external data file
    22:40 Tips and Tricks for writing better Postman tests
    25:12 Overview of different methods for test automation in Postman
    31:00 DEMO: Testing collection and workspace templates
    32:38 DEMO: Run collection using Scheduled runs
    34:30 DEMO: Run collection using Postman CLI
    37:40 DEMO: Run collection using Run on CI/CD and build configuration file
    38:50 DEMO: Performance testing (load testing)
    43:30 DEMO: Deploy API workflow on Flows webhook
    48:24 Recap of what was demonstrated
    49:50 Consider testing throughout the API producer lifecycle
    52:00 Self-assessment of testing skills in Postman
    52:50 Recap of what we covered, and new releases coming soon
    56:09 Additional resources for testing in Postman
    Sign up for live webinars:
    www.postman.com/events/interg...
    Link to sample collection
    www.postman.com/postman/works...
  • Наука та технологія

КОМЕНТАРІ • 15

  • @anhengineerdotcom
    @anhengineerdotcom Рік тому

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

  • @dacceto
    @dacceto 2 місяці тому

    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 Місяць тому

    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 Місяць тому

      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 Місяць тому

    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  Місяць тому

      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 Місяць тому

      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 10 місяців тому

    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  10 місяців тому

      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 3 місяці тому

      @@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 Місяць тому

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