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