Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I'm using selenium webdriver, Junit 4.9, maven for testing. Now I need to parallel tests. I added the plugin below, then tried to run it from IntelliJ IDEA 11, but it was still running sequentially. Is there anything wrong I did? Thank you very much for your time!

share|improve this question

2 Answers 2

Try this http://groboutils.sourceforge.net/

The GroboUtils class MultiThreadedTestRunner was based on the article "JUnit Best Practices" by Andy Schneider (andrew.schneider@javaworld.com), published online at http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit_p.html. Since GroboUtils first started using that implementation, many changes have occured in the code to make a more robust and stable testing environment.

share|improve this answer

Alternative way to run in parallel is creating separate processes for each run instead of threads. It can be helpful when you are experiencing some synchronization issues or crashes. In this case create batch file and run all suites like:

start mvn integration-test -Dsuite="SomeSuite1"
start mvn integration-test -Dsuite="SomeSuite2"
start mvn integration-test -Dsuite="SomeSuite3"

Also you may need to have results stored in separate folders, edit pom.xml file:


If you wish to run the tests on CI and wait for all suites to finish, see solution here: Wait for multiple applications run asynchronously from batch file to finish

This approaches is not very "clear" and "from the box" but it saved me 40-50% of regression execution time.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.