DEV Community

Cover image for Creating Postman Collections
Dilpreet Johal
Dilpreet Johal

Posted on

7 3

Creating Postman Collections

Postman Collections allow you to group multiple requests together which you can store in folders and reuse later on as needed.

Advantages of using Postman Collections

Postman Collections gives you the following advantages:

  • Keeps your workspace organized. You can keep all your requests in one location so that you can reuse them whenever you need.
  • Share collections with your teammates for easier collaboration. For example – if you create a signup API request with user details in the body, when you share the collection they will have access to the same information
  • Postman can generate API documentation by taking advantage of the collections
  • Run your collections together. For example, if you have 10 API requests in your collection, you can now run all of them together instead of running each one of them individually and you can then automate your test runs using collections

Collections are a really powerful concept in Postman and understanding how to create and use collections effectively will really help you a lot in API testing.


Check out the video below to learn more about Postman Collections –


Note: in the video above, we are using Trello APIs to demonstrate the Collections example. Check out this video to set up your Trello API key and token – https://youtu.be/n4aBczKjINo


To learn about API Test Automation using JavaScript, check out my free tutorial series here –

JavaScript API Test Automation Tutorial Series


I hope this video helped you out, let me know if you have any questions in the comments below!

Happy testing!

...

📧 Subscribe to my mailing list to get access to more content like this
👍 Follow @automationbro on Twitter for the latest updates

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 👀

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more