HTTP Test Tool

Feature Spezification


A feature of a web application could be defined with a httest script, which must return OK if feature are available.

Simple Feature Spezification

CLIENT
_REQ host.foo.bar 8080
__GET /foo/bar?lang=de&val=hallo+welt&translate=en HTTP/1.1
__Host: host.foo.bar:8080
__
_EXPECT . "hello world"
_WAIT
END

This simple do specify: If we send parameters lang = "de", val = "hallo welt" and translate = "en" to the web application, we expect the english translation "hello world".