use the correct variables, not fixed values
[platform/upstream/curl.git] / tests / data / test519
1 #
2 # Server-side
3 <reply>
4 <data>
5 HTTP/1.1 200 OK swsbounce
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
8 Content-Length: 8
9
10 content
11 </data>
12 <data1>
13 HTTP/1.1 200 OK swsclose
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake
16 Content-Length: 9
17
18 content2
19 </data1>
20 <datacheck>
21 HTTP/1.1 200 OK swsbounce
22 Date: Thu, 09 Nov 2010 14:49:00 GMT
23 Server: test-server/fake
24 Content-Length: 8
25
26 content
27 HTTP/1.1 200 OK swsclose
28 Date: Thu, 09 Nov 2010 14:49:00 GMT
29 Server: test-server/fake
30 Content-Length: 9
31
32 content2
33 </datacheck>
34 </reply>
35
36 # Client-side
37 <client>
38 <server>
39 http
40 </server>
41 # tool is what to use instead of 'curl'
42 <tool>
43 lib519
44 </tool>
45
46  <name>
47 GET same URL twice with different users
48  </name>
49  <command>
50 http://%HOSTIP:%HTTPPORT/519
51 </command>
52 </client>
53
54 #
55 # Verify data after the test has been "shot"
56 <verify>
57 <protocol>
58 GET /519 HTTP/1.1\r
59 Authorization: Basic bW9uc3Rlcjp1bmRlcmJlZA==\r
60 Host: %HOSTIP:%HTTPPORT\r
61 Pragma: no-cache\r
62 Accept: */*\r
63 \r
64 GET /519 HTTP/1.1\r
65 Authorization: Basic YW5vdGhlcm1vbnN0ZXI6aW53YXJkcm9iZQ==\r
66 Host: %HOSTIP:%HTTPPORT\r
67 Pragma: no-cache\r
68 Accept: */*\r
69 \r
70 </protocol>
71 </verify>