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] < [email protected]> 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=node&node=5712024&i=0>>: > > > > Hi Team > > > > I am try to run parallel test suitesXML files from Maven as below > > > > <plugins> > > <plugin> > > > <groupId>org.apache.maven.plugins</groupId> > > > <artifactId>maven-surefire-plugin</artifactId> > > <version>2.12</version> > > > > <configuration> > > > > <parallel>methods</parallel> > > <threadCount>2</threadCount> > > > > <suiteXmlFiles> > > > <suiteXmlFile>testng-vm1.xml</suiteXmlFile> > > > <suiteXmlFile>testng-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=node&node=5712024&i=1> > > For additional commands, e-mail: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=5712024&i=2> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5712024&i=3> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5712024&i=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 > here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5712022&code=c3JlZWt1bWFydGhlc3VuQGdtYWlsLmNvbXw1NzEyMDIyfDEzMzYzODM2NDM=> > . > NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=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.
