Parallel Execution with Load Sharing
Posted: Wed Mar 29, 2017 7:31 am
We have a test suite of over 100 test scripts and we have 30 vm runners that we can run this suite on. We have enough licences to run these on all the machines simultaneously.
What we are looking for is the best way to run our suite on all machines simultaneously so that the script distribution is also managed. for eg: When the suite is started all 30 machines start executing first 30 of 100 test scripts. Any machines that finishes it's execution will continue to pick from the remaining 70 and so on as other machines finish they will pick too.
So on average any machine will end up running 3-4 test scripts and our 100 test scripts would be executed in a very quick manner.
What we are looking for is the best way to run our suite on all machines simultaneously so that the script distribution is also managed. for eg: When the suite is started all 30 machines start executing first 30 of 100 test scripts. Any machines that finishes it's execution will continue to pick from the remaining 70 and so on as other machines finish they will pick too.
So on average any machine will end up running 3-4 test scripts and our 100 test scripts would be executed in a very quick manner.