echosleep and failsleep (Action 2010-01-27.3)

In completion of Action 2010-01-27.3 
<http://lists.w3.org/Archives/Public/public-forms/2010Jan/att-0038/2010-01-27.html#ACTION3>

The scripts echosleep.sh and failsleep.sh are now available.

See http://xformstest.org/2010/01/echosleep/ for demos.

Both expect a "time" query string value, which is capped at 10 seconds.
Both strip non-digit characters from the time.  (So 1.5 turns into 15 as 
does x1x5).
If time is not specified, neither sleeps.

echosleep pauses specified number of seconds and then outputs (mostly) 
what echo does, but with slightly different HTML output.
failsleep pauses and then delivers a 500 error.

Please let me know if you need changes to output or behavior to automate 
testing.

Leigh.

Received on Wednesday, 27 January 2010 17:42:06 UTC