thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

concurrent execution of test cases in folders

Open azplanlos opened this issue 1 year ago • 9 comments

Please describe feature/problem details and the solution you'd like. We have test collections organizing test cases consisting of multiple requests within folders. Due to performance optimizations in our build pipeline we want to run multiple folders concurrently while the requests within each folder need to be send sequentially. Is there a way to achieve this or a possibility for you to implement this?

Describe alternatives you've considered

  • Splitting up into different collections - not an option as there are too many test cases
  • Chaining the requests - not an option as there are too many requests and will pollute the collection

Are you using the free version/paid version/trial: paid version

azplanlos avatar Nov 10 '23 09:11 azplanlos

@azplanlos Thanks for the feedback.

Will research and get back to you.

Did you try the Run Collection Parallel feature? is it useful?

rangav avatar Nov 10 '23 09:11 rangav

Our collections are too big to be split up, we would end up with hundrets of collections.

azplanlos avatar Nov 10 '23 09:11 azplanlos

You dont need to split collection. The feature allows you to run multiple requests in parallel from single collection.

rangav avatar Nov 10 '23 09:11 rangav

yes, but the actual requests within the same folder need to be run sequential.

azplanlos avatar Nov 10 '23 10:11 azplanlos

Ok got it. Will think of a solution.

Will command something like this will work?

tc --fol "Fol1,Fol2,Fol3" --concurrent

Do you want all folders to run in parallel or you want to configure the of folders e.g --concurrent 3

rangav avatar Nov 10 '23 10:11 rangav

Hi, this would work but would be even better if the list could be generated automatic at root level of a single collection.

azplanlos avatar Dec 11 '23 13:12 azplanlos

Thanks @azplanlos for the feedback

rangav avatar Dec 11 '23 14:12 rangav

Hi @rangav, is there any plan to implement this in the near future?

azplanlos avatar Jun 21 '24 08:06 azplanlos

@azplanlos currently not in the roadmap.

rangav avatar Jun 21 '24 10:06 rangav