[Webtest] Groovy error when executing test in parallel mode
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Mon, 07 Apr 2008 14:24:27 +0200
Sergio,
I've opened an issue
http://webtest-community.canoo.com/jira/browse/WT-414
This is due to a conflict between a method in WebTestTask and a method
added by Groovy (perhaps worth filing a bug for Groovy, I haven't
investigate). I think that I have fixed it and it should be available in
build 1694 (but you can check it out from SVN to get it right now).
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
Sergio Bossa wrote:
> Hi,
>
> I'm getting the following error when trying to execute a test in parallel mode:
>
>
> wt.parallel.init:
> [echo] CAUTION: WebTest parallel execution is experimental
>
> BUILD FAILED
> /.../webtests/build.xml:46: The following error occurred while
> executing this line:
> /opt/webtest-2.6/webtest.xml:61: Script Failed:
> org.codehaus.groovy.control.MultipleCompilationErrorsException:
> startup failed, /opt/webtest-2.6/tools/WebTestParallelInit.groovy: -1:
> the return type is incompatible with java.lang.String
> getProperty(java.lang.String) in com.canoo.webtest.ant.WebtestTask.
> Node: org.codehaus.groovy.ast.MethodNode. At [-1:-1] @ line -1, column -1.
>
>
> I'm using WebTest 2.6.
> Any idea?
>
> Thanks,
> Cheers,
>
> Sergio B.
>