HTTP Test Tool

XPath Support

Httest 2.2.1 do integrate the power of gnoms libxml2 XPath support.

Simple Example

CLIENT
_REQ www.google.com 80
__GET / HTTP/1.1
__Host: www.google.com
__
_WAIT BUF
_HTML:PARSE VAR(BUF)
_HTML:XPATH /html/body/a[1] result
_DEBUG $result
END