This flow shows how to organize API requests in Postman by creating collections, grouping requests, adding details, and sharing.
Execution Sample
Rest API
1. Create a new collection named 'User API'2. Add GET and POST requests for user data
3. Group GET requests in'Read' folder
4. Group POST requests in'Write' folder
5. Add description and environment variables
6. Save and export collection
This example organizes user-related API requests into folders within a Postman collection.
Execution Table
Step
Action
Details
Result
1
Create Collection
Name: 'User API'
Empty collection 'User API' created
2
Add Requests
GET /users, POST /users
Requests added to collection
3
Group Requests
GET requests -> 'Read' folder
'Read' folder created with GET requests
4
Group Requests
POST requests -> 'Write' folder
'Write' folder created with POST requests
5
Add Descriptions & Variables
Add notes and base URL variable
Collection enriched with info and variables
6
Save & Share
Save collection and export JSON
Collection ready for sharing and reuse
7
Exit
All steps completed
Organized Postman collection created
💡 All steps completed, collection is organized and ready
Variable Tracker
Variable
Start
After Step 1
After Step 2
After Step 3
After Step 4
After Step 5
Final
Collection Name
None
'User API'
'User API'
'User API'
'User API'
'User API'
'User API'
Requests
None
None
GET /users, POST /users
GET /users, POST /users
GET /users, POST /users
GET /users, POST /users
GET /users, POST /users
Folders
None
None
None
'Read'
'Read', 'Write'
'Read', 'Write'
'Read', 'Write'
Descriptions
None
None
None
None
None
Added
Added
Variables
None
None
None
None
None
Added
Added
Key Moments - 3 Insights
Why do we group requests into folders inside a collection?
Grouping requests into folders helps organize similar requests together, making it easier to find and manage them, as shown in steps 3 and 4 of the execution_table.
What is the purpose of adding variables to a collection?
Variables allow you to reuse values like base URLs or tokens across requests, reducing repetition and errors, as added in step 5 of the execution_table.
Can a collection be shared before adding descriptions or variables?
Yes, but adding descriptions and variables improves clarity and reusability, making the collection more useful for others, as seen in step 5 before saving and sharing in step 6.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, at which step are requests first added to the collection?
AStep 1
BStep 2
CStep 3
DStep 4
💡 Hint
Check the 'Action' column for when 'Add Requests' happens.
According to variable_tracker, when are folders first created in the collection?
AAfter Step 2
BAfter Step 5
CAfter Step 3
DAfter Step 6
💡 Hint
Look at the 'Folders' row and see when folder names appear.
If you skip adding variables, which step in execution_table would be missing?
AStep 5
BStep 4
CStep 3
DStep 6
💡 Hint
Step 5 mentions adding descriptions and variables.
Concept Snapshot
Postman Collection Organization:
- Create a collection to group API requests
- Add requests inside the collection
- Use folders to organize similar requests
- Add descriptions and variables for clarity
- Save and share the organized collection
Full Transcript
This visual execution shows how to organize API requests in Postman. First, create a collection named 'User API'. Then add GET and POST requests. Next, group GET requests into a 'Read' folder and POST requests into a 'Write' folder. Add descriptions and variables like base URL to improve clarity and reuse. Finally, save and share the collection. Variables and folders help keep requests organized and easy to manage. This step-by-step process ensures your API testing is neat and efficient.
Practice
(1/5)
1. What is the main purpose of organizing requests into folders within a Postman collection?
easy
A. To encrypt the API requests for security
B. To increase the speed of API responses
C. To automatically generate API documentation
D. To group related API requests for easier access and management
Solution
Step 1: Understand the role of folders in Postman collections
Folders help group related API requests logically, making them easier to find and manage.
Step 2: Identify the benefit of grouping requests
Grouping reduces clutter and helps testers quickly locate and run related requests.
Final Answer:
To group related API requests for easier access and management -> Option D
Quick Check:
Folders organize requests = A [OK]
Hint: Folders group related requests for easy management [OK]
Common Mistakes:
Thinking folders speed up API responses
Confusing folders with encryption
Assuming folders auto-generate docs
2. Which of the following is the correct way to add a new folder inside a Postman collection?
easy
A. Click the 'New Request' button directly
B. Right-click the collection and select 'Add Folder'
C. Edit the collection JSON manually to add a folder
D. Drag and drop requests into the collection
Solution
Step 1: Recall Postman UI actions for folder creation
In Postman, you add folders by right-clicking the collection and choosing 'Add Folder'.
Step 2: Eliminate incorrect options
'New Request' adds a request, not a folder; editing JSON is advanced and not typical; drag and drop moves requests but doesn't create folders.
Final Answer:
Right-click the collection and select 'Add Folder' -> Option B
Quick Check:
Add folder via right-click = A [OK]
Hint: Right-click collection to add folder quickly [OK]
Common Mistakes:
Clicking 'New Request' to add a folder
Trying to drag requests to create folders
Editing JSON instead of using UI
3. Given a Postman collection with folders named 'Users', 'Orders', and 'Products', which folder will a request named 'Create Order' most logically belong to?
medium
A. Orders
B. Users
C. Products
D. None of the above
Solution
Step 1: Analyze the request name and folder names
The request 'Create Order' relates to creating an order, so it fits best under the 'Orders' folder.
Step 2: Match request purpose to folder
'Users' relates to user data, 'Products' to product info, so 'Orders' is the logical folder.
Final Answer:
Orders -> Option A
Quick Check:
Request about orders goes to Orders folder = B [OK]
Hint: Match request name topic to folder name [OK]
Common Mistakes:
Putting 'Create Order' in 'Users' folder
Choosing 'Products' folder incorrectly
Selecting 'None of the above' without reason
4. You notice that some requests in your Postman collection are missing descriptions, making it hard for teammates to understand their purpose. What is the best way to fix this?
medium
A. Delete the requests without descriptions
B. Rename the collection to a more descriptive name
C. Add clear descriptions to each request explaining its use
D. Export the collection and edit descriptions in a text editor
Add clear descriptions to each request explaining its use -> Option C
Quick Check:
Descriptions clarify requests = C [OK]
Hint: Add descriptions to requests for clarity [OK]
Common Mistakes:
Renaming collection instead of adding descriptions
Deleting requests unnecessarily
Editing JSON outside Postman risking errors
5. You want to organize a large Postman collection with hundreds of API requests for a complex project. Which strategy will best improve maintainability and teamwork?
hard
A. Use nested folders to group requests by feature and add detailed descriptions
B. Keep all requests in one flat list to avoid confusion
C. Create separate collections for each request to isolate them
D. Only use folders without descriptions to save time
Solution
Step 1: Consider organization for large collections
Nested folders help group requests by features or modules, making navigation easier.
Step 2: Importance of descriptions for teamwork
Detailed descriptions explain request purpose, aiding team understanding and future maintenance.
Step 3: Evaluate other options
Flat lists become cluttered; separate collections for each request are inefficient; skipping descriptions reduces clarity.
Final Answer:
Use nested folders to group requests by feature and add detailed descriptions -> Option A