1<testcase> 2<info> 3<keywords> 4HTTP 5verbose logs 6flaky 7</keywords> 8</info> 9 10# Server-side 11<reply> 12<data1> 13HTTP/1.1 200 OK 14Date: Tue, 09 Nov 2010 14:49:00 GMT 15Server: test-server/fake 16Content-Length: 47 17 18file contents should appear once for each file 19</data1> 20<data2> 21HTTP/1.1 200 OK 22Date: Tue, 09 Nov 2010 14:49:00 GMT 23Server: test-server/fake 24Content-Length: 47 25 26file contents should appear once for each file 27</data2> 28<data3> 29HTTP/1.1 200 OK 30Date: Tue, 09 Nov 2010 14:49:00 GMT 31Server: test-server/fake 32Content-Length: 47 33 34file contents should appear once for each file 35</data3> 36<data4> 37HTTP/1.1 200 OK 38Date: Tue, 09 Nov 2010 14:49:00 GMT 39Server: test-server/fake 40Content-Length: 47 41 42file contents should appear once for each file 43</data4> 44</reply> 45 46# Client-side 47<client> 48<server> 49http 50</server> 51<tool> 52lib%TESTNUMBER 53</tool> 54<name> 55HTTP GET connection cache limit (CURLOPT_MAXCONNECTS) 56</name> 57<command> 58http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT 59</command> 60</client> 61 62# Verify data after the test has been "shot" 63<verify> 64<protocol> 65GET /path/%TESTNUMBER0001 HTTP/1.1 66Host: %HOSTIP:%HTTPPORT 67Accept: */* 68 69GET /path/%TESTNUMBER0002 HTTP/1.1 70Host: %HOSTIP:%HTTPPORT 71Accept: */* 72 73GET /path/%TESTNUMBER0003 HTTP/1.1 74Host: %HOSTIP:%HTTPPORT 75Accept: */* 76 77GET /path/%TESTNUMBER0004 HTTP/1.1 78Host: %HOSTIP:%HTTPPORT 79Accept: */* 80 81</protocol> 82<strip> 83^Host:.* 84</strip> 85<file name="%LOGDIR/stderr%TESTNUMBER" mode="text"> 86* Connection #0 to host server1.example.com left intact 87* Connection #1 to host server2.example.com left intact 88* Connection #2 to host server3.example.com left intact 89* Closing connection 0 90* Connection #3 to host server4.example.com left intact 91</file> 92<stripfile> 93$_ = '' if (($_ !~ /left intact/) && ($_ !~ /Closing connection/)) 94</stripfile> 95</verify> 96</testcase> 97