| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| TELNET |
| UPLOAD |
| </keywords> |
| </info> |
| |
| # Server-side |
| <reply> |
| </reply> |
| |
| # Client-side |
| <client> |
| <server> |
| http |
| </server> |
| <features> |
| telnet |
| </features> |
| <name> |
| TELNET check of upload with stdout redirected |
| </name> |
| <stdin crlf="headers"> |
| GET /ignore/for/%TESTNUMBER HTTP/1.0 |
| |
| </stdin> |
| <file name="%LOGDIR/%TESTNUMBER.txt" crlf="headers"> |
| GET /we/want/%TESTNUMBER HTTP/1.0 |
| |
| </file> |
| <command option="no-output"> |
| telnet://%HOSTIP:%HTTPPORT -T %LOGDIR/%TESTNUMBER.txt |
| </command> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| <protocol crlf="headers"> |
| GET /we/want/%TESTNUMBER HTTP/1.0 |
| |
| </protocol> |
| </verify> |
| </testcase> |