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