• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6multi
7</keywords>
8</info>
9
10<reply>
11<data>
12HTTP/1.1 404 Badness
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14ETag: "21025-dc7-39462498"
15Content-Length: 6
16Content-Type: text/html
17Funny-head: yesyes
18
19hejsan
20</data>
21<data1>
22HTTP/1.1 200 Fine
23Date: Tue, 09 Nov 2010 14:49:00 GMT
24Content-Length: 13
25Connection: close
26Content-Type: text/html
27
28fine content
29</data1>
30
31<datacheck>
32fine content
33</datacheck>
34
35</reply>
36
37# Client-side
38<client>
39<server>
40http
41</server>
42# tool is what to use instead of 'curl'
43<tool>
44lib533
45</tool>
46
47 <name>
48HTTP GET multi two files with FAILONERROR
49 </name>
50 <command>
51http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
52</command>
53</client>
54
55#
56# Verify data after the test has been "shot"
57<verify>
58<protocol>
59GET /%TESTNUMBER HTTP/1.1
60Host: %HOSTIP:%HTTPPORT
61Accept: */*
62
63GET /%TESTNUMBER0001 HTTP/1.1
64Host: %HOSTIP:%HTTPPORT
65Accept: */*
66
67</protocol>
68</verify>
69</testcase>
70