1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP HEAD 6-G 7</keywords> 8</info> 9# 10# Server-side 11<reply> 12<servercmd> 13connection-monitor 14</servercmd> 15<data> 16HTTP/1.1 200 OK 17Date: Tue, 09 Nov 2010 14:49:00 GMT 18Content-Length: 10 19 20contents1 21</data> 22<data1> 23HTTP/1.1 200 OK 24Date: Tue, 09 Nov 2010 14:49:00 GMT 25Content-Length: 10 26 27contents2 28</data1> 29</reply> 30 31# 32# Client-side 33<client> 34<server> 35http 36</server> 37<name> 38HTTP connection reuse with different credentials 39</name> 40<command> 41http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u user1:password1 --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -u 2user:password2 42</command> 43</client> 44 45# 46# Verify data after the test has been "shot" 47<verify> 48<protocol> 49GET /%TESTNUMBER HTTP/1.1 50Host: %HOSTIP:%HTTPPORT 51Authorization: Basic dXNlcjE6cGFzc3dvcmQx 52User-Agent: curl/%VERSION 53Accept: */* 54 55GET /%TESTNUMBER0001 HTTP/1.1 56Host: %HOSTIP:%HTTPPORT 57Authorization: Basic MnVzZXI6cGFzc3dvcmQy 58User-Agent: curl/%VERSION 59Accept: */* 60 61[DISCONNECT] 62</protocol> 63</verify> 64</testcase> 65