#
# 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
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 file
http://%HOSTIP:%HTTPPORT/198 --retry 1000
#
# Verify data after the test has been "shot"
^User-Agent:.*
GET /198 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /198 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*