xref: /curl/tests/data/test1511 (revision 48cbd8f7)
1<testcase>
2<info>
3<keywords>
4HTTP
5CURLOPT_TIMECONDITION
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fakem
15Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
16Content-Type: text/html
17Content-Length: 12
18Connection: close
19
20Hello World
21</data>
22
23<datacheck>
24HTTP/1.1 200 OK
25Date: Tue, 09 Nov 2010 14:49:00 GMT
26Server: test-server/fakem
27Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
28Content-Type: text/html
29Content-Length: 12
30Connection: close
31
32HTTP/1.1 200 OK
33Date: Tue, 09 Nov 2010 14:49:00 GMT
34Server: test-server/fakem
35Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
36Content-Type: text/html
37Content-Length: 12
38Connection: close
39
40Hello World
41</datacheck>
42
43</reply>
44
45# Client-side
46<client>
47<server>
48http
49</server>
50<features>
51http
52</features>
53<tool>
54lib%TESTNUMBER
55</tool>
56<name>
57HTTP GET time conditions in repeated requests
58</name>
59<command>
60http://%HOSTIP:%HTTPPORT/%TESTNUMBER
61</command>
62</client>
63
64# Verify data after the test has been "shot"
65# TEST_ERR_SUCCESS is errorcode 120
66<verify>
67<errorcode>
68120
69</errorcode>
70</verify>
71</testcase>
72