How to run subfolders of a collection in newman? Only selected subfolders, not the whole collection

Hi Issac :raising_hand_woman:t2:!

To run a subfolder of your collection using the Newman CLI, all you would need to do is specify its’ name after the folder tag.

E.g. I have a subfolder in my Airtable API Collection called Types Table. To run only this subfolder, I’ll use the following command:

newman run Airtable\ API.postman_collection.json --folder "Types Table"

Btw, @danny-dainton answered a similar question in greater detail here!

1 Like