-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TC CLI always returns "Folder not found" #1560
Comments
Hi @iAmcDiddy the commands should be run from root of the project folder
|
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): 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. 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 please verify your subscription by using below form |
Did not understand your question? Please provide more details The documentation has all the details
|
I have this setup: Collection 1Folder 1... Folder 12Collection 2Folder 1... Folder 12Each folder has a Request and a data file with multiple (~4) sets of data. |
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.
|
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. |
I've been on vacation, I will look into this ASAP. Thank you. |
This feature appears to be working. I have one command like
Thank you very much for implementing this, we will use it as is and look forward to upcoming improvements. |
Discussed in #1559
Originally posted by iAmcDiddy June 13, 2024
Update
I tried this in another project that was NOT upgraded to the new schema and it worked.
I have updated to the latest version and am trying to run all requests in a folder.
When I run the --debug command it says 'saveToWorkspace' is undefined (although it's checked in my settings) and also 'customLocation' is undefined.
My project has a 'thunder-tests' folder and all collections defined under that. There is a collection named "Execute_SQL_Query" and a folder in that collection named "Unauthorized". I used the 'tab' to complete the folder names while building the command.
Below is my command prompt, command and result. Any help is greatly appreciated.
I have also tried not specifying the thunder-tests folder but got the same error:
The text was updated successfully, but these errors were encountered: