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