Hi, The page I am trying to test has a refresh directive at the top: <meta id="_id4" http-equiv="REFRESH" content="4" />
On each refresh it checks to see if a service has restarted, if so it loads the page without the 'refresh'. the problem is, when I enable autorefresh I get the following expection: Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: java.lang.RuntimeException: Refresh Aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead., Step: ClickButton at /home/cs202741/srs_testsuite/apollo/local-tests/login_logout.xml:41: with (description="Clicking Button: f1:p1:t1:actionsTop:warmRestart", name="f1:p1:t1:actionsTop:coldRestart", taskName="clickButton")com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: java.lang.RuntimeException: Refresh Aborted by HtmlUnit: Attempted to refresh a page using an ImmediateRefreshHandler which could have caused an OutOfMemoryError Please use WaitingRefreshHandler or ThreadedRefreshHandler instead., Step: ClickButton at /home/cs202741/srs_testsuite/apollo/local-tests/login_logout.xml:41: with (description="Clicking Button: f1:p1:t1:actionsTop:warmRestart", name="f1:p1:t1:actionsTop:coldRestart", taskName="clickButton") Thanks for any help, Christian -- View this message in context: http://www.nabble.com/Error-when-trying-to-use-%27autorefresh%3D%22true%22%27-tf3309166.html#a9204833 Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

