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