[ http://webtest-community.canoo.com/jira/browse/WT-479?page=all ]
Marc Guillemot closed WT-479:
-----------------------------
Fix Version: Future versions
Resolution: Fixed
Assign To: Marc Guillemot
I couldn't imagine a simple unit test but I think that the problem is fixed in
build 1736. Please reopen if it is not the case.
> 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
> Assignee: Marc Guillemot
> Fix For: Future versions
> 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
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest