HTTP
HTTP GET
--fail
# Server-side
HTTP/1.0 404 BAD BOY
Content-Type: text/html
This silly page doesn't reaaaaaly exist so you should not get it.
# Client-side
http
HTTP GET fail silently on HTTP error return
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail --silent --show-error
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
22
curl: (22) The requested URL returned error: 404