Giter VIP home page Giter VIP logo

Comments (12)

rangav avatar rangav commented on June 27, 2024 1

Hi @iAmcDiddy the commands should be run from root of the project folder

  1. type cd .. and run the tc --fol command again.

from thunder-client-support.

iAmcDiddy avatar iAmcDiddy commented on June 27, 2024

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.

rangav avatar rangav commented on June 27, 2024

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.

iAmcDiddy avatar iAmcDiddy commented on June 27, 2024

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.

rangav avatar rangav commented on June 27, 2024

Multiple folders not supported

Docs
https://docs.thunderclient.com/cli/run-collection

from thunder-client-support.

iAmcDiddy avatar iAmcDiddy commented on June 27, 2024

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.

rangav avatar rangav commented on June 27, 2024

@iAmcDiddy

can you please verify your subscription by using below form
https://www.thunderclient.com/contact

from thunder-client-support.

rangav avatar rangav commented on June 27, 2024

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.

iAmcDiddy avatar iAmcDiddy commented on June 27, 2024

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.

rangav avatar rangav commented on June 27, 2024

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.

cw1934 avatar cw1934 commented on June 27, 2024

@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.

rangav avatar rangav commented on June 27, 2024

We will add this feature to roadmap and implement asap

from thunder-client-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.