D 2016-08-02T23:11:59.364
L webtest
P a2dd015b738b5c6d90970a2ac1eb36442200084e
U densch
W 1256
The webtest script checks websites for good and bad content, it can be used to check the HTTP status code, the HTTP response headers and the content of the page itself. Check the XML configuration files for examples (in the comments) showing the syntax used.
The script is concurrent so that requests and checks can be done in parallel. If a command line switch --realtime is present the results would be displayed as they're received, otherwise the script would wait until all results are back before displaying them in same order as in the XML.
A default HTTP timeout of 5 seconds is used, but this can be overwritten by --timeout e.g. --timeout 1
The
curl -I -H "Host: www.google.com" 60.234.81.166 curl -I -H "Host: www.google.com" 60.234.81.170If