If Thread Count is mentioned in both suite and test, which one actually taken into consideration?
<suite name="Suite1" thread-count="5" verbose="1">
@Test(invocationCount = 5,threadPoolSize =3)
If Thread Count is mentioned in both suite and test, which one actually taken into consideration?
<suite name="Suite1" thread-count="5" verbose="1">
@Test(invocationCount = 5,threadPoolSize =3)
suite.xml: Thread count is mentioned as 5
ValidateInvocationcount.java : threadPoolSize=3
Below is the execution result
running 0 20 running 0 18 running 0 19 running 3 20 running 4 18
Explanation
Happy Testing!