HTTP Test Tool

Httest Script Debugging

This is self contain example and should run out of the box.

With _DBG:BP you can set a breakpoint. On break point you can
* type "cont" or "c" to continue script
* type "list" or "l" to show script around breakpoint
* type "get " or "g " to inspect the value of a variable
* type "set =" or "s = to overwrite or set new variable with a value.
* type "quit" or "q" to abord test


CLIENT
_REQ localhost 8080
__GET /foo HTTP/1.1
__Host: localhost:8080
__
_WAIT

_DBG:BP

_REQ localhost 8080
__GET /foo HTTP/1.1
__Host: localhost:8080
__
_WAIT
END

SERVER 8080
_RES
_WAIT
__HTTP/1.1 200 OK
__Content-Length: AUTO
__
__foo

_RES
_WAIT
__HTTP/1.1 200 OK
__Content-Length: AUTO
__
__foo
END