xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP GET |
| 6 | globbing |
| 7 | [] range |
| 8 | FAILURE |
| 9 | </keywords> |
| 10 | </info> |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data1> |
| 15 | HTTP/1.1 200 OK
|
| 16 | Funny-head: yesyes
|
| 17 | Content-Length: 15
|
| 18 |
|
| 19 | the number one |
| 20 | </data1> |
| 21 | <data2> |
| 22 | HTTP/1.1 200 OK
|
| 23 | Funny-head: yesyes
|
| 24 | Content-Length: 16
|
| 25 |
|
| 26 | two is nice too |
| 27 | </data2> |
| 28 | |
| 29 | </reply> |
| 30 | # |
| 31 | # Client-side |
| 32 | <client> |
| 33 | <server> |
| 34 | http |
| 35 | </server> |
| 36 | <features> |
| 37 | http |
| 38 | </features> |
| 39 | <name> |
| 40 | urlglob with out of range -o #[num] usage |
| 41 | </name> |
| 42 | <command option="no-output"> |
| 43 | "http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "log/dumpit%TESTNUMBER-#2.dump" |
| 44 | </command> |
| 45 | </client> |
| 46 | |
| 47 | # |
| 48 | # Verify data after the test has been "shot". Note that the command line |
| 49 | # will write both responses into the same file name so only the second |
| 50 | # survives |
| 51 | # |
| 52 | <verify> |
| 53 | <file name="log/dumpit%TESTNUMBER-#2.dump"> |
| 54 | HTTP/1.1 200 OK
|
| 55 | Funny-head: yesyes
|
| 56 | Content-Length: 16
|
| 57 |
|
| 58 | two is nice too |
| 59 | </file> |
| 60 | </verify> |
| 61 | </testcase> |