1INCLUDE $TOP/test/config.htb 2 3CLIENT 4_REQ $YOUR_HOST $YOUR_PORT 5__GET /your/path/to/your/resource?your=params HTTP/1.1 6__Host: $YOUR_HOST 7__User-Agent: mozilla 8__ 9_EXPECT . "HTTP/1.1 200 OK" 10_EXPECT . "AS1" 11_WAIT 12END 13 14SERVER $YOUR_PORT 15_RES 16_WAIT 17__HTTP/1.1 200 OK 18__Content-Length: AUTO 19__Content-Type: text/plain 20__ 21_SENDFILE foo.txt 22END 23 24FILE foo.txt 25_==AS1 OK== 26END 27