Problem running parallel tests and dynamic properties -----------------------------------------------------
Key: WT-479 URL: http://webtest-community.canoo.com/jira/browse/WT-479 Project: WebTest Type: Bug Reporter: Vicente Attachments: stacktrace.txt, test.tar.gz Hi I'm having troubles running tests in parallel. I made a webtest project that tests a simple webapp using dynamic properties. The test project contains a groovy web test with 100 testcases that run ok serially, but when running these testcases in parallel sometimes the dynamic properties doesn't get expanded or a NullPointerException is thrown. Sometimes WebTest stop running and creates a directory called "${wt.config.resultpath}" I'm attaching a webapp called "webtest", and a WebTest project called "tests" You can run the webapp using maven: mvn jetty:run-war I removed webtesst.home property from build.xml in the tests project so you can execute it this way: webtest.sh -Dwebtest.home=$WEBTEST_HOME -Dwt.parallel.nbWorkers=2 When tests fail the result report show this message for some test cases: Step[verifyText (3/3)]: Text not found in page. Expected <#{NAME}> I'm attaching too, a file containing the stacktrace that is shown in the report for the test cases that throw NullPointerException Cheers Vicente -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://webtest-community.canoo.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest