Hi Marc,
Yea that should work fine for our needs.
Cheers,
Christian
Marc Guillemot wrote:
Hi Christian,
it is possible to use a script step to configure htmlunit with the
WaitingRefreshHandler. Nevertheless if your target is just to wait for
your service, you can just use <invoke> and <sleep> in a <retry>.
Marc.
smith1511 wrote:
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
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest