InterviewSolution
Saved Bookmarks
| 1. |
What Is The Use Of @test(threadpoolsize=x)? |
|
Answer» The threadPoolSize attribute TELLS to form a thread pool to run the test method through multiple threads. Note: This attribute is IGNORED if invocationCount is not specified
In this example, the method testCase1 will be invoked from three different threads. The threadPoolSize attribute tells to form a thread pool to run the test method through multiple threads. Note: This attribute is ignored if invocationCount is not specified In this example, the method testCase1 will be invoked from three different threads. |
|