Comments (12)
Hi @iAmcDiddy the commands should be run from root of the project folder
- type
cd ..
and run thetc --fol
command again.
from thunder-client-support.
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
from thunder-client-support.
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.
from thunder-client-support.
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?
from thunder-client-support.
Multiple folders not supported
Docs
https://docs.thunderclient.com/cli/run-collection
from thunder-client-support.
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.
from thunder-client-support.
can you please verify your subscription by using below form
https://www.thunderclient.com/contact
from thunder-client-support.
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.
from thunder-client-support.
I have this setup:
Collection 1
Folder 1
...
Folder 12
Collection 2
Folder 1
...
Folder 12
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?
from thunder-client-support.
Multiple data files not supported, only single main data file is supported
alternatively you can skip folders and run selected folders
from thunder-client-support.
@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.
from thunder-client-support.
We will add this feature to roadmap and implement asap
from thunder-client-support.
Related Issues (20)
- Logout from all of my devices HOT 3
- Right click menu broken when the bottom bar's align panel is set to justify HOT 1
- Error "Update to latest version" shown although already updated to latest version (v2.23.1) HOT 5
- CSV file uploaded is not reading in my query . HOT 16
- Dynamic variable syntax in JSON body HOT 2
- tc.loadFromPath missing HOT 1
- Failed to Import: 1 files - thunder-collection-xyxyxyxyxy.json HOT 2
- set-cookie from server supports or not? HOT 5
- setVar inside tests from requests that is run from another request's (parent request) pre-run results in the parent request's getVar getting outdated value HOT 1
- Incorrect execution order of main request pre-run script when pre-request request(s) are specified HOT 5
- V S Code editor thunder client not showing anything on the side bar HOT 1
- Get Request ID HOT 2
- content-type error,application/x-www-form-urlencoded HOT 1
- keeps activating HOT 1
- Import curl doesn't work well
- Add a simple way to get the complete request that will be send HOT 2
- tc.getVar(...) returns a different value than the value previously set with tc.setVar(...) HOT 1
- Cursor jumps to the start of text fields when the tab regain focus.
- ThundeClient Panel Not Moving To Right Side in Vs Code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thunder-client-support.