Skip to content
CodeKruPro

Running DataProvider rows in parallel

QuizMedium-HardJava onlyAsked in: Accenture, Capgemini, Infosys, SaaS Labs, Swiggy, TCS

A @DataProvider(parallel = true) method returns 30 rows. By default, how many rows run at the same time?

  • 10, the default data-provider-thread-count, changeable in testng.xml
  • 5, the same as thread-count
  • All 30 at once
  • 1: parallel = true is ignored without testng.xml

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in