1

I asked in my previous question if Karate is capable of executing tests on specific data sets (For instance, based on priority p0,p1) given in a csv file.

  1. Now my second question is if Karate is capable of executing tests on specific data sets in a csv file in parallel?

Example: DataProvider supports data-provider-thread-count. Here's an example of usage.

I've read the documentation in regards to parallel execution in Karate, however I did not find anything on this type of parallel feature. Can you please let me know if this is possible in Karate. Thank you.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
mrapp2
  • 71
  • 7

1 Answers1

1

Yes if you use a Scenario Outline each row will run in parallel. And this applies to even the "Dynamic" Scenario Outline as explained here: https://github.com/intuit/karate#dynamic-scenario-outline

Karate runs each Scenario in parallel and behind the scenes, each Examples row is turned into a Scenario. A few paragraphs below it is mentioned in the docs: https://intuit.github.io/karate/#parallel-stats

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248