# # Server-side HTTP/1.1 503 OK swsbounce Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 21 server not available HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 3 Connection: close ok # # Client-side http HTTP GET --retry on 503 error with output to stdout http://%HOSTIP:%HTTPPORT/197 --retry 1000 # # Verify data after the test has been "shot" ^User-Agent:.* GET /197 HTTP/1.1 Host: 127.0.0.1:%HTTPPORT Accept: */* GET /197 HTTP/1.1 Host: 127.0.0.1:%HTTPPORT Accept: */* HTTP/1.1 503 OK swsbounce Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 21 server not available HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 3 Connection: close ok