[Webtest] Re: New step: "sleep"

Christopher Painter-Wakefield webtest@lists.canoo.com
Mon, 5 May 2003 10:18:32 -0400





This is a function I need, too.  We have an indexing routine that only
fires once a minute, so I can't test it without something like this sleep
function.  I was thinking of just using the core sleep routine, but having
something integrated as a step would be very helpful.  Another useful
extension would be some kind of "wait" step, which would keep trying a set
of tests until either all succeed or until a timer runs out.  E.g.,
something like
      <wait waitTime="60" sleepTime="5">
            <invoke ...>
            <verifyxpath ...>
      </wait>

-Christopher