RE: How to run parallel test suite files in Maven

2012-06-26 Thread Tim Wu T
It seems threadcount and parallel tag is not a correct choice, it only include 
method, classes and test.

Try this:
suitethreadpoolsize2/suitethreadpoolsize

Br,
Tim

-Original Message-
From: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] On 
Behalf Of Kristian Rosenvold
Sent: Tuesday, June 26, 2012 1:44 PM
To: Maven Users List
Subject: Re: How to run parallel test suite files in Maven

Probably not; if you switch to classes there should be some threading.

Is there any good reason why you choose the generally inferior
methods threading ?

Kristian


2012/6/26 sreekumar sreekumarthe...@gmail.com:
 Hi Team

 I am try to run parallel test suitesXML files from Maven as below

 plugins
                        plugin
                                groupIdorg.apache.maven.plugins/groupId
                                artifactIdmaven-surefire-plugin/artifactId
                                version2.12/version

                                configuration

                                        parallelmethods/parallel
                                        threadCount2/threadCount

                                        suiteXmlFiles
                                                
 suiteXmlFiletestng-vm1.xml/suiteXmlFile
                                                
 suiteXmlFiletestng-vm2.xml/suiteXmlFile

                                        /suiteXmlFiles
                                /configuration

                        /plugin

 When i execute with above code, the last testng xml file only (i.e
 testng-vm2.xml) is running.  But i want to run both xml files parallel .


 Please let me know is it possible to run parallel suites through Maven?

 --
 View this message in context: 
 http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to run parallel test suite files in Maven

2012-06-26 Thread sreekumar
No i tried with 'classes' also. A separate thread is not creating for each
xml file.

My Requirement:

I have 1000 automated test cases. i want to run in different machine with
different browsers using selenium webdriver.

I used TestNG.xml's to get all these test case details and plan to run in
test case wise.

I am dividing testng.xml's based on machine names. When i run parallel xml
file's all test cases run in different machine with different browser.

For this scenario i need to use the below one...

On Tue, Jun 26, 2012 at 11:14 AM, Kristian Rosenvold-4 [via Maven] 
ml-node+s40175n5712024...@n5.nabble.com wrote:

 Probably not; if you switch to classes there should be some threading.

 Is there any good reason why you choose the generally inferior
 methods threading ?

 Kristian


 2012/6/26 sreekumar [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5712024i=0:


  Hi Team
 
  I am try to run parallel test suitesXML files from Maven as below
 
  plugins
 plugin
 
  groupIdorg.apache.maven.plugins/groupId
 
  artifactIdmaven-surefire-plugin/artifactId
 version2.12/version
 
 configuration
 
 parallelmethods/parallel
 threadCount2/threadCount
 
 suiteXmlFiles
 
  suiteXmlFiletestng-vm1.xml/suiteXmlFile
 
  suiteXmlFiletestng-vm2.xml/suiteXmlFile
 
 /suiteXmlFiles
 /configuration
 
 /plugin
 
  When i execute with above code, the last testng xml file only (i.e
  testng-vm2.xml) is running.  But i want to run both xml files parallel .
 
 
  Please let me know is it possible to run parallel suites through Maven?
 
  --
  View this message in context:
 http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022.html
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=5712024i=1
  For additional commands, e-mail: [hidden 
  email]http://user/SendEmail.jtp?type=nodenode=5712024i=2
 

 -
 To unsubscribe, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5712024i=3
 For additional commands, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=5712024i=4



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022p5712024.html
  To unsubscribe from How to run parallel test suite files in Maven, click
 herehttp://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=5712022code=c3JlZWt1bWFydGhlc3VuQGdtYWlsLmNvbXw1NzEyMDIyfDEzMzYzODM2NDM=
 .
 NAMLhttp://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
Thanks and regards
Sreekumar
9492330784


--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022p5712037.html
Sent from the Maven - Users mailing list archive at Nabble.com.

How to run parallel test suite files in Maven

2012-06-25 Thread sreekumar
Hi Team

I am try to run parallel test suitesXML files from Maven as below

plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.12/version

configuration

parallelmethods/parallel
threadCount2/threadCount

suiteXmlFiles

suiteXmlFiletestng-vm1.xml/suiteXmlFile

suiteXmlFiletestng-vm2.xml/suiteXmlFile

/suiteXmlFiles
/configuration

/plugin

When i execute with above code, the last testng xml file only (i.e
testng-vm2.xml) is running.  But i want to run both xml files parallel .


Please let me know is it possible to run parallel suites through Maven?

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to run parallel test suite files in Maven

2012-06-25 Thread Kristian Rosenvold
Probably not; if you switch to classes there should be some threading.

Is there any good reason why you choose the generally inferior
methods threading ?

Kristian


2012/6/26 sreekumar sreekumarthe...@gmail.com:
 Hi Team

 I am try to run parallel test suitesXML files from Maven as below

 plugins
                        plugin
                                groupIdorg.apache.maven.plugins/groupId
                                artifactIdmaven-surefire-plugin/artifactId
                                version2.12/version

                                configuration

                                        parallelmethods/parallel
                                        threadCount2/threadCount

                                        suiteXmlFiles
                                                
 suiteXmlFiletestng-vm1.xml/suiteXmlFile
                                                
 suiteXmlFiletestng-vm2.xml/suiteXmlFile

                                        /suiteXmlFiles
                                /configuration

                        /plugin

 When i execute with above code, the last testng xml file only (i.e
 testng-vm2.xml) is running.  But i want to run both xml files parallel .


 Please let me know is it possible to run parallel suites through Maven?

 --
 View this message in context: 
 http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org