Share Collection in Postman (2024) | TechGeekNext

Share Collection in Postman (2024)

In this tutorial, we will understand about sharing the collections in the POSTMAN. POSTMAN is used for testing the rest services working on API'S. SHARING requests to the team becomes necessary to run the project seamlessly and for SHARING the request, it is grouped in the collection.

Previously we have learned about creating/ adding requests in the collection in Creating POSTMAN test case. Here we will learn about different ways of SHARING COLLECTION IN THE POSTMAN.

How to share collection in the Postman?
Ans:

The postman gives many ways to the developers to share their collections with their teams. Postman allows to share the collections with workspace team or send a link that can allow employees or even individuals that are not part of our workspace team to access a collection.

Following are the ways of sharing the collection in Postman:

Take a look at our suggested post :

We must first create the workspace before sharing the collection with our teammates. The creation of a workspace required the postman signup (free account), which we may achieve by logging in using our Google account.

Create Workspace - Standalone Postman

Below image depicts the creation of workspace from standalone postman. POSTMAN Create Workspace

Create Workspace - Postman Chrome Extension

Below image depicts the creation of workspace from Add Postman Chrome Browser Extension. POSTMAN Create Workspace

  1. Sharing of the Postman collection - POSTMAN Chrome Browser Extension
    Open the POSTMAN app, go to the collection tab in the sidebar and click on the three dots -> share collection or > symbols -> show runner with share option. POSTMAN Sharing Collection
  2. Sharing of the Postman collection - Standalone POSTMAN
    Open the POSTMAN app, go to the collection tab in the sidebar and click on the three dots -> share collection. POSTMAN Sharing Collection Click on Share, Postman will provide different option to share with teammates. POSTMAN Sharing Collection

    From the above, you can see three options are displayed for sharing the collections. It means the collection can be shared in three ways:

    • With People
    • Via run in Postman
    • Via Json Link

How to Share a Collection to a Workspace in Postman?
Ans:

By using the option of workspace collection can be shared with the team members of a workspace. The API requests in the collection will be available to every team member. The best feature of this is, that collection can be altered by the permission granted to it and allow members to edit the collection, read-only, or vice-versa.

How to share a collection Sharing via the Embed?
Ans:

To share the collection via Embed, generate a code that helps to create a link that can be shared with team members. Here, there are two buttons. The one is the Generate Code button helps to create a link. The link is then shared and when clicked the second is the Run in Postman button. The link is embedded in the API documentation, website, or GitHub readme, where everyone within an organization can import and run the collection with a single click.

Important to note that Embed Static Version is now deprecated in newer version. POSTMAN Embed Static Version We can embed a live version option to share the collections of api. POSTMAN Embed Live Version

How to share the collection with the public link?
Ans:

The important point of this sharing is that the link that is already shared will not update automatically. So the changes should generate and share a new link once they make new changes to a Postman collection.

POSTMAN Embed public link

Click the Json URL button to generate the link to share with teammates, and be aware that sharing should be done with caution. The collection is accessible to everyone who has this URL, even those who are not part of your team or organization. POSTMAN Generated Link

Recommendation for Top Popular Post :