• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9<reply>
10<data nocheck="yes">
11HTTP/1.1 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 OK
12Date: Thu, 09 Nov 2010 14:49:00 GMT
13Server: test-server/fake
14Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15ETag: "21025-dc7-39462498"
16Accept-Ranges: bytes
17Content-Length: 6
18Connection: close
19Content-Type: text/html
20Funny-head: yesyes
21
22-foo-
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<server>
30http
31</server>
32
33<name>
34HTTP GET with 100-digit reponse code and survive
35 </name>
36 <command>
37http://%HOSTIP:%HTTPPORT/1432
38</command>
39</client>
40
41#
42# Verify data after the test has been "shot"
43<verify>
44<strip>
45^User-Agent:.*
46</strip>
47<protocol>
48GET /1432 HTTP/1.1
49Host: %HOSTIP:%HTTPPORT
50Accept: */*
51
52</protocol>
53</verify>
54</testcase>
55