HTTP
HTTP GET
#
# Server-side
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
Connection: close
monster
#
# Client-side
http
HTTP GET -w num_connects with one simple connect
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n"
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
Connection: close
monster
1