Collection in Postman with example: Create, Delete, Rename

.

 What is a Collection in Postman?

Collection in Postman


How to Create a Collection in Postman?

Postman provides various methods to create a collection, some of which are given below.

Method 1

To add a collection under a workspace, follow the steps below.

Step 1: First, select the workspace in which you want to create the collection.

Step 2: Now, Click on the Create Collection Button. (as shown in the Figure)

(Please note that this option will be available only when there is no collection in any workspace)



Step 3: As soon as you click on the Create Collection button, a collection will be created with the default name "New Collection".

You can change the collection name accordingly.




Method 2 

Step 1: Click on the New button. (as shown in the figure)



Step 2: Now, click on the option Collection (as shown in the figure)



Step 3: As soon as you click on the collection option, a collection will be created with the default name "New Collection ".

You can change the collection name accordingly.




How to delete a Collection in Postman?

To delete the collection in Postman, just follow the steps below.

Step 1: Hover the mouse over the collection that you want to delete 

Step 2: Click on three dots ... (as shown in the figure)




Step 3: Now, scroll through the options and click on the Delete option.




Step 4: Now, click on the Delete button in the confirmation dialogue box.

As soon as you click on the delete button collection will be deleted from the workspace.


Delete the collection in Postman


How to Rename a Collection in Postman?

To rename any collection in Postman, follow the steps below.

Step 1: First, select the collection that you want to rename.

Step 2: Click on the option .(as shown in the figure)


Rename Collection in Postman

Step 3: Now, change the collection name accordingly.

As soon as you change the name and click outside of the text box, the collection name will update automatically.


How do you add a Folder to the collection?

How to add an HTTP request inside a Collection?

How to create a duplicate collection?


Hope !!! The above tutorial on the Postman collection is helpful for you...

Team,

QA acharya


Post a Comment

0 Comments