You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Srikanth K <sr...@gmail.com> on 2016/02/16 09:08:25 UTC

Unable to execute tests in parallel using maven- plz help

Need your help as i have been struggling with parallel execution using
maven. i am trying to run Testng tests in parallel using maven V3.3.9,
maven-surefire-plugin V2.18.1, with the below configuration
<suiteXmlFiles>
  <suiteXmlFile>testng.xml</suiteXmlFile>
</suiteXmlFiles>
<parallel>classes</parallel>
<suitethreadpoolsize>10</suitethreadpoolsize>
or <threadCount>10</threadCount>

But, tests aren't running in parallel. I have been trying to find a
solution since two days and need to urgently deliver this solution.

Thanks in advance.

Re: Unable to execute tests in parallel using maven- plz help

Posted by KIRAN <rk...@gmail.com>.
You need to provide the parallel config values in testngxml

On Tuesday, February 16, 2016, Srikanth K <sr...@gmail.com> wrote:

> Need your help as i have been struggling with parallel execution using
> maven. i am trying to run Testng tests in parallel using maven V3.3.9,
> maven-surefire-plugin V2.18.1, with the below configuration
> <suiteXmlFiles>
>   <suiteXmlFile>testng.xml</suiteXmlFile>
> </suiteXmlFiles>
> <parallel>classes</parallel>
> <suitethreadpoolsize>10</suitethreadpoolsize>
> or <threadCount>10</threadCount>
>
> But, tests aren't running in parallel. I have been trying to find a
> solution since two days and need to urgently deliver this solution.
>
> Thanks in advance.
>


-- 
Regards,
Kiran