I have a collection with several folders.
Each folder represents a test case.
From newman when I run a case I use the --folder to specify which case I want to run and --htmlextra to generate the reports by case.
What I see is that if the folder does not contain any request, a report is generated but empty and the exitCode that I get is 0.
How can I know if when I execute a folder of a collection, if it contains some request?
Additionally, is there an API to integrate newman or postman from java?
Thanks and regards.