My question :
I have a collection with folder and sub folder, I wish to run a given (sub)folder easily from the desktop Postman application.
For eg, I have folders
“clean & setup” which clean postman var and create all the resources necessary to execute the other folders.
“login” which create required token necessary to execute the other folders.
Details (like screenshots) :
I have postman v9.13
How I found the problem :
Unlike collection, folder 3 dots menu don’t have a “run collection” entry.
“Run collection”, “run order” screen does not have a way to select/deselect a given folder
“Run collection”, “run order” does not display the folder name without moving the mouse over the request.
“Run collection”, “run order” does not have keyboard shortcut which could allow me to quickly select a range of request.
How can we run a folder quickly ?
I wish to have :
A way to run quickly one or more folder.
suggestion :
In the folder menu, a menu entry “run all request from this folder now” which just run the request in order without any prompt.
in the runner “run order” screen, a way to select the requests by folder.
I’ve already tried :
I know about postman command line run folder feature, but I’m looking for an “in app” / UI solution.
Hi @christophe.guilmart
Not sure if I have misunderstood your question but if I choose “Run Collection” I can select folder and subfolders;
I’m using Postman version 9.13.2
Hope that helps…
Thanks for your answer.
Is that the collection panel ?
When I click on a folder in the collection panel, the “folder” tab open and the “runner” tab go behind. It does not change the runner request selection.
I also have Version 9.13.2, maybe I missed an option or something…
That’s the “Collection Runner”.
Click … on the collection name > select “run collection” > tick or untick the calls you want to include.
To clarify, you don’t click on the folder you want to run, you click the parent collection.
Hi again,
thanks a lot for the screen recording, it really help understand each other.
I see that I did not managed to express my problem clearly enough.
if you have 10 request in a given (sub)folder, you need to click 10x to select them. I wish to click only once and select all the requests from the folder.
Ahhh yeh, I just tried it, see what you mean. I’m not aware of a way of selecting a folder in that way.
The only thing I could suggest as a workaround is to create a new collection and drag the folder into it, so that the collection runner only picks up that folder. For example;
I think folder selection within the collection runner would be a prime candidate for a feature request.
You could submit it here
1 Like
@w4dd325 Thanks for your guidance !
I opened a feature request here:
opened 12:24PM - 17 Feb 22 UTC
feature
### Is there an existing request for this feature?
- [X] I have searched the ex… isting issues for this feature request
### Is your feature request related to a problem?
I wish to run one (or more) given (sub)folder easily and quickly from the desktop Postman application.
Today, you need to select each request of the folder one by one in the runner.
Use Case:
For eg, I have folders like
- “clean & setup” which clean postman var and create all the resources necessary to execute any other folders.
- “login” which create required token necessary to execute the other folders.
- "create XYZ" which create the assets for a given base condition
### Describe the solution you'd like
**Proposal 1: Improve "runner / run order" screen**
- add a way to select / deselect a whole folder
- add keyboard control like "arrow down" to move selection and "space" to toggle the request selection
**Proposal 2: add "run collection" in the folder menu**
- this would open the runner, but preselect the requests from the folder
**Proposal 3: add "run folder now" in the folder menu**
- this would immediately run the request of the folder (one after the other) in new runner tab, no question asked, no prompt.
### Describe alternatives you've considered
- running a folder from command line is not an option as it is as complicated as selecting by hand the request.
- have a dedicated collection per folder don't scale.
- adding a break point with `postman.setNextRequest(null)` only work if the folder(s) you want to run is the first. And I still need to comment / uncomment it every time.
### Additional context
I find two similar feature requests, which root problem / pain point could be addressed with a common solution
#9530
#4187
alternative if the folder(s) you want to run are at the beginning of the collection:
add this in the test of the last request you want to run
postman.setNextRequest(null); // stop collection runner
1 Like
For reference, @dannydainton has added two excellent examples for this in the feature request comments .