Is there a way to run DevTest ant/junit test suites in parallel mode?
search cancel

Is there a way to run DevTest ant/junit test suites in parallel mode?

book

Article ID: 135904

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

Have a suite of 37 Test Cases to be executed and are taking an average of 5 minutes to be entirely processed. At the staging doc already set the think time as 0, but still its not closer to the performance expected by us. 

Suites are being executed in a sequential mode, it will have a better performance if executed in parallel for sure, but how to change this config at the junit execution?

 

Environment

All supported DevTest releases.

Cause

Parallel mode in N/A for Junit tests.  

Resolution

For Junit / Ant test , the test cases run in Test Runner,  and it runs in Serial mode. There is not option to run it in parallel. In the Suite  the Run Mode  option particularly says  " Parallel mode N/A for Junit tests" 

 

Workaround: 

 You could do this in the Portal. Change the Suite setting " Run Mode" to Parallel and deploy the mars.