Open iAmcDiddy opened 1 month ago
Hi @iAmcDiddy the commands should be run from root of the project folder
cd ..
and run the tc --fol
command again.I can't believe that's the fix, I thought I tried everything. So running an individual folder works for me now. I have data files for each folder and using this command picks up the .csv that is associated with that folder (I don't need to use --data-file):
tc --fol "DataDriven-PositiveSpend"
BUT when I try to run the parent collection, it only runs the Request in each Folder once. I would force the 'iterations' in the collection to a number, but each data file has a different number of data points in it (some have 1, some have 4).
Any suggestions on how to get ALL the data to be utilized while running the whole collection?
Many thanks!
This question is related to a closed issue: 1529
You can only use one data file using the collection/folder run view or using cli argument.
the iterations count is picked up from the rows in data file.
Each folder has their own data file and 'iterations' set correctly.
I can run these commands:
tc --fol "DataDriven-PositiveAssessment" --report html
tc --fol "DataDriven-NegativeAssessment" --report html
but this doesn't work:
tc --fol "DataDriven-PositiveAssessment,DataDriven-NegativeAssessment" --report html
Shouldn't I be able to run multiple folders?
Multiple folders not supported
What am I missing? I can't run my (data driven) collection as a collection and I can't run it as folders either. Can you provide a suggestion? Do I need to resort to running 20 folder-level sets each time? That will use up my 500 collections/month for just this project.
@iAmcDiddy
can you please verify your subscription by using below form https://www.thunderclient.com/contact
Did not understand your question? Please provide more details
The documentation has all the details https://docs.thunderclient.com/cli/run-collection
What am I missing? I can't run my (data driven) collection as a collection and I can't run it as folders either. Can you provide a suggestion? Do I need to resort to running 20 folder-level sets each time? That will use up my 500 collections/month for just this project.
I have this setup:
...
...
Each folder has a Request and a data file with multiple (~4) sets of data. Running a Collection won't work even if I pad each data file with the same number of rows and set that number as the iteration on the Collection. Running each Folder will work, but since there are so many - I will only be able to run the full set maybe once per week because of the limitation on number of collections executed per month. Is there a better solution than running these at the folder level? Can we get an extension on the number of collections/month until support for running at the collection level as we would like, is supported?
Multiple data files not supported, only single main data file is supported
alternatively you can skip folders and run selected folders
@rangav I feel like I'm missing something as to what's preventing this from working. Running Multiple Collections via CLI is supported, and running Multiple Requests is also supported. If multiples of layers both above and below Folders are supported, what is preventing the capability from being added to run Multiple Folders via CLI? It seems like a gap given other supported functionality, and seems like a valid use case given the described folder-specific aspects that come into play with this use case.
We will add this feature to roadmap and implement asap
The feature is implemented in CLI v1.16.0, Please update to latest version.
tc --fol 'folNameOrId1,folNameOrId2'
The folders are being executed when using the above syntax, it even puts all the results into 1 report. However, each of our folders have data files defined and running them this way does NOT utilize the data from those files. So I would not consider this issue closed/completed.
Thanks for the feedback,
So, you want them to run independently utilising their own data files and generate separate reports right?
Please confirm above?
Yes, we would like them to utilize the data file associated at the folder level. Ideally they would generate just 1 report (like it does now). Many thanks for looking into this!
I have published the new version v1.16.1 to run multiple folders. Currently, it will only generate only individual separate reports.
Please test and let me know your feedback.
Discussed in https://github.com/thunderclient/thunder-client-support/discussions/1559