TestNG @Test attributes – threadPoolSize, invocationCount, timeOut
InvocationCount OutPut: Thread ID: 1Thread ID: 1Thread ID: 1Thread ID: 1Thread ID: 1 Above method ran 5 times, a single thread will be assigned to run the method one by one.. ThreadPoolSize OutPut [ThreadUtil] Starting executor timeOut:0ms workers:5 threadPoolSize:3Thread ID: 11Thread ID: 12Thread ID: 13Thread ID: 12Thread ID: 11 Above method ran 5 times, but…