Hi Developer,

I tested the new build.zip from yesterday.

Beside some problems (see other post) the TestMonitor has still the same 
strange behavior.

When I start a single Test with (wt.parallel.nbWorkers=1):

Ant 
-Dwt.testInWork=tests\artikel\steuerungstabellen\model_einsatz\model_einsatz_uebernahme.xml

There are two Entries in the Monitor - in the result-page is only on Webtest as 
executed.

----------------------stacktrace -------------------------------------
[groovyScript]
[groovyScript]  INFO (com.canoo.webtest.engine.WebClientContext) - Responses 
restored
[groovyScript]  INFO (com.canoo.webtest.ant.WebtestTask) - Finished executing 
webtest "Check OFBIZ: artikel/steuerungstabellen/model einsatz > model einsatz 
(uebernahme) - CHANGES DATA!" 
(C:\MocPortalProjects\AgsPortalTest\webtests\tests\artikel\steuerungstabellen\model_einsatz\model_einsatz_uebernahme.xml:10:
 )
[groovyScript]  INFO (com.canoo.webtest.reporting.XmlReporter) - Writing report 
to 
C:\MocPortalProjects\AgsPortalTest\webtests\results\001_CheckOFBIZArtike\WebTestReport.xml
[groovyScript]  INFO (com.canoo.webtest.ant.WebtestTask) - Test report 
successfully created.
[groovyScript] [T: Thread-4]-- executed
[groovyScript] Exception in thread "AWT-EventQueue-0" 
java.lang.NullPointerException
[groovyScript]  at 
org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.acceptGetProperty(GetEffectivePojoPropertySite.java:51)
[groovyScript]  at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
[groovyScript]  at 
WebTestMonitorImpl$_notifyWebTestFinished_closure4.doCall(WebTestMonitor.groovy:132)
[groovyScript]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[groovyScript]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[groovyScript]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[groovyScript]  at java.lang.reflect.Method.invoke(Method.java:597)
[groovyScript]  at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
[groovyScript]  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
[groovyScript]  at 
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
[groovyScript]  at 
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
     [echo] Formatting 
C:\MocPortalProjects\AgsPortalTest\webtests\results\001_CheckOFBIZArtike\WebTestReport.xml
 to HTML in folder 
C:\MocPortalProjects\AgsPortalTest\webtests\results\001_CheckOFBIZArtike
[groovyScript]  at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
[groovyScript]  at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
[groovyScript]  at 
WebTestMonitorImpl$_notifyWebTestFinished_closure4.doCall(WebTestMonitor.groovy)
[groovyScript]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[groovyScript]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[groovyScript]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[groovyScript]  at java.lang.reflect.Method.invoke(Method.java:597)
[groovyScript]  at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
[groovyScript]  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
[groovyScript]  at 
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
[groovyScript]  at 
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
[groovyScript]  at groovy.lang.Closure.call(Closure.java:276)
[groovyScript]  at groovy.lang.Closure.call(Closure.java:271)
[groovyScript]  at groovy.lang.Closure.run(Closure.java:354)
[groovyScript]  at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[groovyScript]  at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[groovyScript]  at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
[groovyScript]  at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
[groovyScript]  at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
[groovyScript]  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
[groovyScript]  at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
[groovyScript]  at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
[groovyScript] [T: Thread-4]-- Finished Check OFBIZ: 
artikel/steuerungstabellen/model einsatz > model einsatz (uebernahme) - CHANGES 
DATA! - C:\MocPortalProjects\AgsPortalTest\webtests\results
[groovyScript] [T: Thread-4]-- 0 workers after removing myself
[groovyScript] [T: Thread-4]-- no job for me anymore. Exiting

wt.htmlReports:
     [xslt] Processing 
C:\MocPortalProjects\AgsPortalTest\webtests\results\001_CheckOFBIZArtike\WebTestReport.xml
 to 
C:\MocPortalProjects\AgsPortalTest\webtests\results\001_CheckOFBIZArtike\WebTestReport.html
     [xslt] Loading stylesheet 
C:\MocPortalProjects\AgsPortalTest\lib\webtest\resources\WebTestReport.xsl

Somehow it looks like the Monitor identifies two Webtests and fails to execute 
the second Test which is not there.

Thanks

Michael Habbert


Michael Habbert
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | 
www.key-work.de<http://www.key-work.de>
Fon: +49-721-78203-269 | E-Mail: 
[email protected]<mailto:[email protected]> | Fax: 
+49-721-78203-10

Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Gesch?ftsf?hrer: Andreas Stappert, Tobin Wotring

Reply via email to