![]() This can further help you to sub-categorize the requests. Add FolderĬollections also let you make folders inside your collection and then save the requests inside your folders. Then this JSON file can be shared with your teammates by any means just like a file. This will open the box to save the collection in JSON format on your computer wherever you want. We will choose the option Collection v2.1 and press Export. For this tutorial we are using Postman ver 6.0.10. Or it can also be shared over a network sharing.įollow these steps to learn about exporting the collection.ġ.Click on export as shown in the above image.Ģ.You will see two or three options ( depending on your version of Postman). Export Collections in PostmanĮxport feature is used to export the collection as a whole by saving it to your computer and which can be later share with the team over the Email in a zip file. But, this feature is not recommended while working in a company sometimes because the APIs are personal and companies would not want them to be in other clouds which is not safe. So, your collection will be first uploaded to Postman cloud and then anyone can access it through that link. Second option is by creating a link and sending it to the people of your team. You can create unlimited personal workspace which will be personal to your machine and can test any number of API. Individuals can organize their work in personal workspaces and teams can collaborate in team workspaces. When you start Postman, you are already inside personal workspace as shown. Postman will have no contribution in updating it at any machine, if present.Collections present in the personal workspace is shared through link which is detailed below. Personal Workspace : A personal workspace is similar to the team workspace but the difference being this workspace is completely personal to the user who created it.There can be any number of Team workspaces. Once edited, everyone's API is updated automatically. This comes handy when teams are located in different locations or different buildings also. In Team workspace option, your team can test API simultaneously on one workspace and anyone can edit and update (with permissions). Team Workspace : To use the option of Team workspace your company or you must have purchased the Postman Pro version or else this feature won't work.There are two types of workspaces inside Postman There has to be a workspace to work in Postman, you cannot work isolated. A setting done in a workspace remains in the same workspace. In simpler terms, workspace is the project in which you work. After signing into Postman you get two options to share the collection.Ī workspace is a collaborative environment for a group of users to develop and test APIs. Rather, we share our Collection as a whole to the team members or anyone to whom we want to share through different methods listed below.įor example, if you are a tester and find out some bug, you can save your steps to reproduce in a Collection, and attach the same to the bug for the developer as a proof and to reproduce the issue. For using this option you must be signed into postman. It is not worth sharing every request one by one. Or even you create a bunch of Postman Requests, save it to a Collections and share it with your team. You can request developers to share their collections and you get benefits of it. There are times when developers create a bunch of Postman Requests while developing APIs to test it. Sharing a collection is very important when you are working in a company or in a team. Share collection option is used to share the collection to other people such as your team members. We will talk about the following options in this tutorial. You can click on the Meatballs menu in the side of the collection name and you will see some options. Now look at the collections tab, you will have the request saved below your collection name. Choose your collection name in the panel as shown in the image.Press Save button in the side of address bar. Now, you have your first collection created but it's empty as of now. Press Create to create your first collection. In the following image you can see I chose the name MyFirstCollection and a simple description. Write a name of your choice for your first collection and it's description. ![]() ![]() Now go to Collections Tab and press the icon that says, New Collection.How to create and save collections in Postman?ġ.First of all, hit the endpoint and in the response box change the format to Text to see the result.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |