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