Hi Steve,
did you try the webtest property:
headless=true
somethink like that (see inside the $WEBTEST_HOME/webtest.xml file for
the right name).
Michael
btw: do you use the webtest-report-plugin? I tried with no success so far.
Steve Chikwaya schrieb:
Hi everyone,
Is there anyway to run webtest on a Linux server that does not have
xserver->X11 installed? I am currently using Hudson to manage nightly
tests and would like to run webtest independent of installing a GUI.
The webtest throws an error, though does not fail on initialization as
it is expecting to launch the initialization window. The webtest then
fails at the end when trying to launch the test results. Below is the
initial error i receive:
wt.defineMacros: [property] Exception in thread "AWT-EventQueue-0"
org.codehaus.groovy.runtime.InvokerInvocationException:
java.lang.RuntimeException: Failed to create component for 'frame'
reason: java.awt.HeadlessException: [property] No X11 DISPLAY variable
was set, but this program performed an operation which requires it.
[property] at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:92)
[property] at
groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) [property] at
[...]
Thanks!
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest