| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | HTTP | ||||
| 5 | HTTP GET | ||||
| 6 | FAILURE | ||||
| 7 | </keywords> | ||||
| 8 | </info> | ||||
| 9 | # | ||||
| 10 | # Server-side | ||||
| 11 | <reply> | ||||
| 12 | <data> | ||||
| 13 | </data> | ||||
| 14 | </reply> | ||||
| 15 | |||||
| 16 | # | ||||
| 17 | # Client-side | ||||
| 18 | <client> | ||||
| 19 | <server> | ||||
| 20 | http | ||||
| 21 | </server> | ||||
| 22 | <name> | ||||
| 23 | HTTP GET with nothing returned from server | ||||
| 24 | </name> | ||||
| 25 | <command> | ||||
| 26 | http://%HOSTIP:%HTTPPORT/37 | ||||
| 27 | </command> | ||||
| 28 | </client> | ||||
| 29 | |||||
| 30 | # | ||||
| 31 | # Verify data after the test has been "shot" | ||||
| 32 | <verify> | ||||
| 33 | <errorcode> | ||||
| 34 | 52 | ||||
| 35 | </errorcode> | ||||
| 36 | <strip> | ||||
| 37 | ^User-Agent:.* | ||||
| 38 | </strip> | ||||
| 39 | <protocol> | ||||
| 40 | GET /37 HTTP/1.1 | ||||
| 41 | Host: %HOSTIP:%HTTPPORT | ||||
| 42 | Accept: */* | ||||
| 43 | |||||
| 44 | </protocol> | ||||
| 45 | </verify> | ||||
| 46 | |||||
| 47 | </testcase> | ||||