Hey @Xuyen,
Would you be able to provide some more implementation details and more clarification about what doesn’t work, please?
One of the ways that this might not work is if there were folders with the same name, this might not pick up the correct folder for the run.
Just to show you it working in the most basic way, I’ve created an example below.
If I have a Collection with the structure like this:
Running Newman with the --folder F1
would run both sub-folders:
Running Newman with the --folder F1a
would run that folder and the R1
request:
Running Newman with the --folder F1b
would run that folder and the R2
request:
This can also work, if there was another sub-folder F1aa
, inside the F1a
sub-folder: