Testbox 2.0 Integration testing

Hi,

I am getting some issues when running integration tests via Testbox 2.0 in the browser

It seems when I try and run too many of these tests then the response from the server gets cut off. Unfortunately I don’t have a working example for you but I have attached an integration test and the response.

In the attached ehTreeTest.cfc I can run about 12 of these tests together before it sends back an incomplete response.

If you notice all the tests passed according to the content of the title text in the response

We are running Coldbox 3.8.1 with Testbox 2.0 ( railo 4.1.2.005 on tomcat ).

Cheers

Ryan

ehTreeTest.cfc (15.9 KB)

response.txt (8 KB)

What about increasing response times?

Luis Majano CEO Ortus Solutions, Corp www.ortussolutions.com P/F: 1-888-557-8057 Direct: (909) 248-3408 ColdBox Platform: http://www.coldbox.org ContentBox Platform: http://www.gocontentbox.org Linked In: http://www.linkedin.com/pub/3/731/483 Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

We have increased the response timeout and also increased the memory allocation on Tomcat… still getting the same issue

Any exceptions or indicators?

Luis Majano
CEO
Ortus Solutions, Corp

P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Hi Luis,

The exceptions that we are seeing is as follows;

java.lang.Throwable.getStackTraceElement(Throwable.java:???)[Native Method]
java.lang.Throwable.getOurStackTrace(Throwable.java:827)
 - locked <0x2fae4cb> (a java.lang.Exception)
java.lang.Throwable.getStackTrace(Throwable.java:816)
railo.commons.io.SystemUtil._getCurrentContext(SystemUtil.java:853)
railo.commons.io.SystemUtil.getCurrentContext(SystemUtil.java:846)
railo.runtime.debug.DebuggerImpl.addImplicitAccess(DebuggerImpl.java:705)
railo.runtime.type.scope.UndefinedImpl.debugCascadedAccess(UndefinedImpl.java:222)
railo.runtime.type.scope.ClosureScope.get(ClosureScope.java:119)
railo.runtime.type.scope.ClosureScope.get(ClosureScope.java:117)
railo.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:181)
railo.runtime.PageContextImpl.thisTouch(PageContextImpl.java:1160)
system.testing.basespec_cfc$cf.udfCall2(/var/www/html/coldbox/coldbox_3.8.1/system/testing/BaseSpec.cfc:275)
system.testing.basespec_cfc$cf.udfCall(/var/www/html/coldbox/coldbox_3.8.1/system/testing/BaseSpec.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.call(UDFImpl.java:212)
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704)
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:713)
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1471)
_unittest._testbox.testspec.model.financials.dataviewsertest_cfc$cf.udfCall2(/var/www/html/ryan/cms_working/_unittest/_testbox/testspec/model/financials/DataViewSerTest.cfc:159)
_unittest._testbox.testspec.model.financials.dataviewsertest_cfc$cf.udfCall(/var/www/html/ryan/cms_working/_unittest/_testbox/testspec/model/financials/DataViewSerTest.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.call(UDFImpl.java:212)
railo.runtime.type.Closure.call(Closure.java:86)
railo.runtime.type.util.StructSupport.call(StructSupport.java:239)
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:713)
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1471)
system.testing.basespec_cfc$cf.udfCall2(/var/www/html/coldbox/coldbox_3.8.1/system/testing/BaseSpec.cfc:415)
system.testing.basespec_cfc$cf.udfCall(/var/www/html/coldbox/coldbox_3.8.1/system/testing/BaseSpec.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:199)
railo.runtime.ComponentImpl._call(ComponentImpl.java:589)
railo.runtime.ComponentImpl._call(ComponentImpl.java:506)
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1749)
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:739)
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1481)
system.runners.bddrunner_cfc$cf.udfCall(/var/www/html/testbox/system/runners/BDDRunner.cfc:160)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:199)
railo.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:713)
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:739)
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1481)
system.runners.bddrunner_cfc$cf.udfCall(/var/www/html/testbox/system/runners/BDDRunner.cfc:180)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:199)
railo.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:713)
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:739)
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1481)
system.runners.bddrunner_cfc$cf.udfCall(/var/www/html/testbox/system/runners/BDDRunner.cfc:62)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.call(UDFImpl.java:212)
railo.runtime.ComponentImpl._call(ComponentImpl.java:588)
railo.runtime.ComponentImpl._call(ComponentImpl.java:506)
railo.runtime.ComponentImpl.call(ComponentImpl.java:1732)
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:713)
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1471)
system.testbox_cfc$cf.udfCall1(/var/www/html/testbox/system/TestBox.cfc:352)
system.testbox_cfc$cf.udfCall(/var/www/html/testbox/system/TestBox.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.call(UDFImpl.java:212)
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704)
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:713)
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1471)
system.testbox_cfc$cf.udfCall1(/var/www/html/testbox/system/TestBox.cfc:165)
system.testbox_cfc$cf.udfCall(/var/www/html/testbox/system/TestBox.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:199)
railo.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:713)
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:739)
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1481)
system.testbox_cfc$cf.udfCall1(/var/www/html/testbox/system/TestBox.cfc:96)
system.testbox_cfc$cf.udfCall(/var/www/html/testbox/system/TestBox.cfc:???)
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:95)
railo.runtime.type.UDFImpl._call(UDFImpl.java:308)
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:199)
railo.runtime.ComponentImpl._call(ComponentImpl.java:589)
railo.runtime.ComponentImpl._call(ComponentImpl.java:506)
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1749)
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:739)
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1481)
system.runners.htmlrunner_cfm$cf.call(/var/www/html/testbox/system/runners/HTMLRunner.cfm:28)
railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:809)
railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:785)
_unittest._testbox.runner_cfm$cf.call(/var/www/html/ryan/cms_working/_unittest/_testbox/runner.cfm:30)
railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:809)
railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:790)
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:205)
railo.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:83)
railo.runtime.PageContextImpl.execute(PageContextImpl.java:2135)
railo.runtime.PageContextImpl.execute(PageContextImpl.java:2102)
railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332)
railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
sun.reflect.GeneratedMethodAccessor70.invoke(null:???)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:97)
com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:472)
com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:312)
com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:192)
com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:507)
com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36)
sun.reflect.GeneratedMethodAccessor69.invoke(null:???)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:79)
sun.reflect.GeneratedMethodAccessor68.invoke(null:???)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:53)
com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:41)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:???)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
 - locked <0x181dba8a> (a org.apache.tomcat.util.net.SocketWrapper)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:744)

Locked ownable synchronizers: 
    - java.util.concurrent.ThreadPoolExecutor$Worker@6201a7e9

Any assistance in helping us resolve this issue would be greatly appreciated.

Thanks

Ray