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 | ICY 200 OK | ||||
14 | Content-Length: 7 | ||||
15 | |||||
16 | MooMoo | ||||
17 | </data> | ||||
18 | </reply> | ||||
19 | |||||
20 | # | ||||
21 | # Client-side | ||||
22 | <client> | ||||
23 | <server> | ||||
24 | http | ||||
25 | </server> | ||||
26 | <features> | ||||
27 | !hyper | ||||
28 | </features> | ||||
29 | <name> | ||||
30 | CURLOPT_HTTP200ALIASES | ||||
31 | </name> | ||||
32 | <tool> | ||||
33 | lib%TESTNUMBER | ||||
34 | </tool> | ||||
35 | <command> | ||||
36 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER | ||||
37 | </command> | ||||
38 | </client> | ||||
39 | |||||
40 | # | ||||
41 | # Verify data after the test has been "shot" | ||||
42 | <verify> | ||||
43 | <errorcode> | ||||
44 | 0 | ||||
45 | </errorcode> | ||||
46 | </verify> | ||||
47 | </testcase> |