xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTP | ||||
5 | HTTP GET | ||||
6 | FAILURE | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | <data> | ||||
12 | </data> | ||||
13 | </reply> | ||||
14 | |||||
15 | # Client-side | ||||
16 | <client> | ||||
17 | <server> | ||||
18 | http | ||||
19 | </server> | ||||
20 | <name> | ||||
21 | HTTP with no data in server reply | ||||
22 | </name> | ||||
23 | <command> | ||||
24 | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER | ||||
25 | </command> | ||||
26 | </client> | ||||
27 | |||||
28 | # Verify data after the test has been "shot" | ||||
29 | <verify> | ||||
30 | <protocol> | ||||
31 | GET /want/%TESTNUMBER HTTP/1.1 | ||||
32 | Host: %HOSTIP:%HTTPPORT | ||||
33 | User-Agent: curl/%VERSION | ||||
34 | Accept: */* | ||||
35 | |||||
36 | </protocol> | ||||
37 | <errorcode> | ||||
38 | 52 | ||||
39 | </errorcode> | ||||
40 | </verify> | ||||
41 | </testcase> |