xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | TELNET |
| 5 | UPLOAD |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | </reply> |
| 13 | |
| 14 | # |
| 15 | # Client-side |
| 16 | <client> |
| 17 | <server> |
| 18 | http |
| 19 | </server> |
| 20 | <features> |
| 21 | telnet |
| 22 | </features> |
| 23 | <name> |
| 24 | TELNET check of upload with stdout redirected |
| 25 | </name> |
| 26 | <stdin> |
| 27 | GET /ignore/for/%TESTNUMBER HTTP/1.0
|
| 28 |
|
| 29 | </stdin> |
| 30 | <file name="log/%TESTNUMBER.txt"> |
| 31 | GET /we/want/%TESTNUMBER HTTP/1.0
|
| 32 |
|
| 33 | </file> |
| 34 | <command option="no-output"> |
| 35 | telnet://%HOSTIP:%HTTPPORT -T log/%TESTNUMBER.txt |
| 36 | </command> |
| 37 | </client> |
| 38 | |
| 39 | # |
| 40 | # Verify data after the test has been "shot" |
| 41 | <verify> |
| 42 | <protocol> |
| 43 | GET /we/want/%TESTNUMBER HTTP/1.0
|
| 44 |
|
| 45 | </protocol> |
| 46 | </verify> |
| 47 | </testcase> |