lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTPS | ||||
5 | HTTP GET | ||||
6 | </keywords> | ||||
7 | </info> | ||||
8 | |||||
9 | # | ||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | <data> | ||||
13 | HTTP/1.1 200 OK | ||||
14 | Date: Thu, 09 Nov 2010 14:49:00 GMT | ||||
15 | Server: test-server/fake | ||||
16 | Content-Length: 7 | ||||
17 | |||||
18 | MooMoo | ||||
19 | </data> | ||||
20 | </reply> | ||||
21 | |||||
22 | # | ||||
23 | # Client-side | ||||
24 | <client> | ||||
25 | <features> | ||||
26 | SSL | ||||
27 | </features> | ||||
28 | <server> | ||||
29 | https | ||||
30 | </server> | ||||
31 | <name> | ||||
32 | simple HTTPS GET | ||||
33 | </name> | ||||
34 | <command> | ||||
35 | -k https://%HOSTIP:%HTTPSPORT/300 | ||||
36 | </command> | ||||
37 | </client> | ||||
38 | |||||
39 | # | ||||
40 | # Verify data after the test has been "shot" | ||||
41 | <verify> | ||||
42 | <strip> | ||||
43 | ^User-Agent:.* | ||||
44 | </strip> | ||||
45 | <protocol> | ||||
46 | GET /300 HTTP/1.1 | ||||
47 | Host: %HOSTIP:%HTTPSPORT | ||||
48 | Accept: */* | ||||
49 | |||||
50 | </protocol> | ||||
51 | </verify> | ||||
52 | </testcase> |