ASF Bugzilla – Attachment 15318 Details for
Bug 35245
cache ignores max-age cache-directive in requests to max-aged responses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test case trace
bug.html (text/html), 14.90 KB, created by
Co-Advisor
on 2005-06-06 21:32:16 UTC
(
hide
)
Description:
test case trace
Filename:
MIME Type:
Creator:
Co-Advisor
Created:
2005-06-06 21:32:16 UTC
Size:
14.90 KB
patch
obsolete
><html> ><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ><title>Test Result</title> ><style type="text/css"><!-- >body { background-color: white; color: black;}/* tags in NS do not inherit body attributes */body, td { font-family: Arial, Helvetica, sans-serif;}/* h1 -- page heading */h1 { text-transform: uppercase; margin-top: 3ex; margin-bottom: 3ex; font-size: larger; font-weight: normal; background-color: transparent; color: #194096; }/* h2 -- section heading */h2 { margin-top: 2ex; margin-bottom: 0ex; font-size: 1em; font-weight: bold; background-color: transparent; color: #671305; }h2 a { text-decoration: none; background-color: transparent; color: #671305;}p { margin-top: 1ex; margin-bottom: 1ex; }/* things after h2 or after h2 after div use asterisc to catch more in CSS2 UAs */h2 + p, h2 + ul, h2 + ol, h2 + * { margin-top: 0ex; }div.frontPage { background-color: transparent; color: #194096;}span.id { font-size: smaller; font-weight: normal; font-style: italic;} > > > /* indent FAQ answers */ > div.FaqEntry p { margin-left: 2ex; } > div.FaqEntry ul { margin-left: 2ex; } > > span.excerptQuote { > background-color: transparent; /* #EAF1F7; */ > color: #336633; > } > > /* ancors in spec rendering */ > div.spec a { > background-color: transparent; > color: #336633; > text-decoration: none; > } > div.spec a:hover, div.spec a:focus { > background-color: #EAF1F7; > color: #336633; > } > > /* graseID rendering */ > span.graseId { > font-size: smaller; > font-style: italic; > } > span.graseId a { > background-color: transparent; > color: #194096; > text-decoration: none; > } > span.graseId a:hover, span.graseId a:focus { > background-color: #EAF1F7; > color: #194096; > } > > /* grase manipulators rendering */ > span.graseManip { > font-weight: bold; > font-size: smaller; > } > span.graseManip a { > text-decoration: none; > } > span.graseManip a:hover { > background-color: #EAF1F7; > color: #194096; > } > > > /* compact user input form or display of input results */ > table.compactForm { > border 0; > margin-left: 2ex; > } > > /* spec coverage statistics */ > table.coverageStatsTbl { > border: 1px; > border-style: solid; > border-color: #194096; > background-color: #EAF1F7; > color: #000000; > margin-top: 1em; > } > > /* top-cases summary in TestLogWebViewer output */ > table.logTopSummary { > margin-left: 2ex; > background-color: #9CBBDA; > color: #000000; > border: 1px solid #723732; > } > > /* subcases summary in TestLogWebViewer output */ > table.logSubSummary { > font-size: smaller; > margin-top: 1ex; > margin-left: 0; > background-color: #9CBBDA; > color: #000000; > border: 1px solid #723732; > } > > /* test case trace */ > div.caseTrace { > margin-left: 2ex; > } > > /* raw data inside test case trace */ > div.caseTrace pre.data { > margin-left: 2ex; > color: #336633; > background-color: inherit; > } > > >--></style> ></head> > ><body> ><div class="caseTrace"><a name="p49__beg"></a><a ><em>Test Case</em></a>: <b>cache must treat cached entity as stale when the age exceeds request max-age even if response max-age says the entry is fresh</b> > <table class="logSubSummary" border="1" cellspacing="0" cellpadding="2" bgcolor="#9CBBDA"> ><tr bgcolor="#9CBBDA"> ><th>Subcase gist</th><th>State</th><th>Comment</th></tr> ><tr bgcolor="#FFFFFF"> ><td>cache something</td><td align="center"><a title="skip to this subcase below">success</a></td><td>DUT proxied the transaction and possibly cached the response</td></tr> ><tr bgcolor="#FFFFFF"> ><td>check that a given entity instance is cached and fresh</td><td align="center"><a title="skip to this subcase below">success</a></td><td>at the time of the request, entity instance appeared to be cached and fresh</td></tr> ><tr bgcolor="#FFFFFF"> ><td>check that a given entity instance is not cached or cached but stale</td><td align="center"><a title="skip to this subcase below">failure</a></td><td>at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale</td></tr> ></table> ><br>290.098| starting test case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp">test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp</a></span> ><br>290.098| Co-Advisor version: 2.1.4b ><br>290.098| <b>step 1</b>: attempting to cache entity with max-age Cache-Control directive ><br clear="all"> ><br> ><div class="caseTrace"><a name="p49p1__beg"></a><em>Subcase</em>: <b>cache something</b> > ><br>290.098| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> ><br>290.098| server accepting HTTP queries at 10.0.0.42:8081 ><br>290.098| client connecting to 10.0.0.42:8080; 3 attempt(s) ><br>290.098| client at 10.0.0.42:55596 connected to 10.0.0.42:8080 ><br>290.098| client will send 92 bytes (92 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n >Host: 10.0.0.42:8081\r\n >Connection: close\r\n >\r\n ></pre> ><br>290.099| client at 10.0.0.42:55596 expects to write to 10.0.0.42:8080 ><br>290.099| client at 10.0.0.42:55596 wrote 92 bytes to 10.0.0.42:8080 ( 92 bytes so far) ><br>290.099| client at 10.0.0.42:55596 stops writing to 10.0.0.42:8080( after 92 bytes) ><br>290.099| client at 10.0.0.42:55596 expects to read from 10.0.0.42:8080 ><br>290.099| server at 10.0.0.42:8081 accepted connection from 10.0.0.42:57711 ><br>290.099| server at 10.0.0.42:8081 expects to read from 10.0.0.42:57711 ><br>290.099| server at 10.0.0.42:8081 read 130 bytes from 10.0.0.42:57711 ( 130 bytes so far) ><br>290.100| server got request headers (130 bytes)<pre class="data">GET /kwzrdlyuhtyk HTTP/1.1\r\n >Host: 10.0.0.42:8081\r\n >Max-Forwards: 10\r\n >Connection: close\r\n >Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n >\r\n ></pre> ><br>290.102| expecting no message body ><br>290.102| expected message body format: opaque message body ><br>290.102| no more message body data to parse ><br>290.102| server expects no more request data (after 130 + 0 = 130 bytes) ><br>290.103| server at 10.0.0.42:8081 stops reading from 10.0.0.42:57711( after 130 bytes) ><br>290.103| server will send 207 bytes<pre class="data">HTTP/1.1 200 OK\r\n >Cache-Control: public\r\n >Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n >Cache-Control: max-age=100\r\n >Date: Fri, 03 Jun 2005 22:37:01 GMT\r\n >Content-Length: 15\r\n >Connection: close\r\n >\r\n ></pre><pre class="data">body-vslgivatpw</pre> ><br>290.104| server at 10.0.0.42:8081 expects to write to 10.0.0.42:57711 ><br>290.105| server at 10.0.0.42:8081 wrote 207 bytes to 10.0.0.42:57711 ( 207 bytes so far) ><br>290.105| server at 10.0.0.42:8081 stops writing to 10.0.0.42:57711( after 207 bytes) ><br>290.105| server stops servicing connection with 10.0.0.42:57711 ><br>290.105| server at 10.0.0.42:8081 closing connection to 10.0.0.42:57711 (read 130 bytes and wrote 207 bytes) ><br>290.106| client at 10.0.0.42:55596 read 259 bytes from 10.0.0.42:8080 ( 259 bytes so far) ><br>290.107| client parsed response headers (244 bytes)<pre class="data">HTTP/1.1 200 OK\r\n >Date: Fri, 03 Jun 2005 22:37:00 GMT\r\n >Cache-Control: public, max-age=100\r\n >Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n >Content-Length: 15\r\n >Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n >Connection: close\r\n >Content-Type: text/plain\r\n >\r\n ></pre> ><br>290.107| expecting 15 bytes of message body based on Content-Length header ><br>290.107| expected message body format: opaque message body ><br>290.107| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> ><br>290.107| client expects no more data (after 244 + 15 = 259 bytes) ><br>290.107| content size: 15 ><br>290.107| client at 10.0.0.42:55596 stops reading from 10.0.0.42:8080( after 259 bytes) ><br>290.107| client stops servicing connection with 10.0.0.42:8080 ><br>290.107| client at 10.0.0.42:55596 closing connection to 10.0.0.42:8080 (read 259 bytes and wrote 92 bytes) ><br>290.108| server stops accepting HTTP queries at 10.0.0.42:8081 ><br>290.108| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> ><br>290.108| result code: <font color="#006666">success</font> ><br>290.108| result reason: DUT proxied the transaction and possibly cached the response<br clear="all"> ></div> > ><br>290.108| <b>step 2</b>: verifying whether the entity was cached and is fresh ><br clear="all"> ><br> ><div class="caseTrace"><a name="p49p2__beg"></a><em>Subcase</em>: <b>check that a given entity instance is cached and fresh</b> > ><br>290.108| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> ><br>290.108| server accepting HTTP queries at 10.0.0.42:8081 ><br>290.109| client connecting to 10.0.0.42:8080; 3 attempt(s) ><br>290.109| client at 10.0.0.42:52009 connected to 10.0.0.42:8080 ><br>290.109| client will send 118 bytes (118 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n >Cache-Control: max-age=8\r\n >Host: 10.0.0.42:8081\r\n >Connection: close\r\n >\r\n ></pre> ><br>290.109| client at 10.0.0.42:52009 expects to write to 10.0.0.42:8080 ><br>290.110| client at 10.0.0.42:52009 wrote 118 bytes to 10.0.0.42:8080 ( 118 bytes so far) ><br>290.110| client at 10.0.0.42:52009 stops writing to 10.0.0.42:8080( after 118 bytes) ><br>290.110| client at 10.0.0.42:52009 expects to read from 10.0.0.42:8080 ><br>290.110| client at 10.0.0.42:52009 read 267 bytes from 10.0.0.42:8080 ( 267 bytes so far) ><br>290.110| client parsed response headers (252 bytes)<pre class="data">HTTP/1.1 200 OK\r\n >Date: Fri, 03 Jun 2005 22:37:00 GMT\r\n >Content-Type: text/plain\r\n >Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n >Cache-Control: public, max-age=100\r\n >Content-Length: 15\r\n >Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n >Age: 0\r\n >Connection: close\r\n >\r\n ></pre> ><br>290.111| expecting 15 bytes of message body based on Content-Length header ><br>290.111| expected message body format: opaque message body ><br>290.111| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> ><br>290.111| client expects no more data (after 252 + 15 = 267 bytes) ><br>290.111| content size: 15 ><br>290.111| client at 10.0.0.42:52009 stops reading from 10.0.0.42:8080( after 267 bytes) ><br>290.111| client stops servicing connection with 10.0.0.42:8080 ><br>290.111| client at 10.0.0.42:52009 closing connection to 10.0.0.42:8080 (read 267 bytes and wrote 118 bytes) ><br>290.111| server stops accepting HTTP queries at 10.0.0.42:8081 ><br>290.112| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> ><br>290.112| result code: <font color="#006666">success</font> ><br>290.112| result reason: at the time of the request, entity instance appeared to be cached and fresh<br clear="all"> ></div> > ><br>290.112| sleeping for 10 seconds to increase age of a cached entity ><br>300.120| <b>step 3</b>: verifying whether the cached entity is still cached ><br clear="all"> ><br> ><div class="caseTrace"><a name="p49p3__beg"></a><em>Subcase</em>: <b>check that a given entity instance is not cached or cached but stale</b> > ><br>300.120| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> ><br>300.121| server accepting HTTP queries at 10.0.0.42:8081 ><br>300.121| client connecting to 10.0.0.42:8080; 3 attempt(s) ><br>300.121| client at 10.0.0.42:55591 connected to 10.0.0.42:8080 ><br>300.121| client will send 118 bytes (118 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n >Cache-Control: max-age=8\r\n >Host: 10.0.0.42:8081\r\n >Connection: close\r\n >\r\n ></pre> ><br>300.122| client at 10.0.0.42:55591 expects to write to 10.0.0.42:8080 ><br>300.122| client at 10.0.0.42:55591 wrote 118 bytes to 10.0.0.42:8080 ( 118 bytes so far) ><br>300.122| client at 10.0.0.42:55591 stops writing to 10.0.0.42:8080( after 118 bytes) ><br>300.122| client at 10.0.0.42:55591 expects to read from 10.0.0.42:8080 ><br>300.122| client at 10.0.0.42:55591 read 268 bytes from 10.0.0.42:8080 ( 268 bytes so far) ><br>300.123| client parsed response headers (253 bytes)<pre class="data">HTTP/1.1 200 OK\r\n >Date: Fri, 03 Jun 2005 22:37:10 GMT\r\n >Content-Type: text/plain\r\n >Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n >Cache-Control: public, max-age=100\r\n >Content-Length: 15\r\n >Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n >Age: 10\r\n >Connection: close\r\n >\r\n ></pre> ><br>300.123| expecting 15 bytes of message body based on Content-Length header ><br>300.123| expected message body format: opaque message body ><br>300.124| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> ><br>300.124| client expects no more data (after 253 + 15 = 268 bytes) ><br>300.124| content size: 15 ><br>300.124| client at 10.0.0.42:55591 stops reading from 10.0.0.42:8080( after 268 bytes) ><br>300.124| client stops servicing connection with 10.0.0.42:8080 ><br>300.124| client at 10.0.0.42:55591 closing connection to 10.0.0.42:8080 (read 268 bytes and wrote 118 bytes) ><br>300.124| server stops accepting HTTP queries at 10.0.0.42:8081 ><br>300.124| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> ><br>300.124| result code: <font color="#0000FF">failure</font> ><br>300.124| result reason: at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale<br clear="all"> ></div> > ><br>300.124| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp">test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp</a></span> ><br>300.124| result code: <font color="#FF0000">violation</font> ><br>300.124| result reason: cache did not treat cached entity as stale when the age exceeds request max-age even if response max-age says the entry is fresh<br clear="all"> ><hr noshade align="left" width="25%"> ></body> ></html>
<html> <head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Test Result</title> <style type="text/css"><!-- body { background-color: white; color: black;}/* tags in NS do not inherit body attributes */body, td { font-family: Arial, Helvetica, sans-serif;}/* h1 -- page heading */h1 { text-transform: uppercase; margin-top: 3ex; margin-bottom: 3ex; font-size: larger; font-weight: normal; background-color: transparent; color: #194096; }/* h2 -- section heading */h2 { margin-top: 2ex; margin-bottom: 0ex; font-size: 1em; font-weight: bold; background-color: transparent; color: #671305; }h2 a { text-decoration: none; background-color: transparent; color: #671305;}p { margin-top: 1ex; margin-bottom: 1ex; }/* things after h2 or after h2 after div use asterisc to catch more in CSS2 UAs */h2 + p, h2 + ul, h2 + ol, h2 + * { margin-top: 0ex; }div.frontPage { background-color: transparent; color: #194096;}span.id { font-size: smaller; font-weight: normal; font-style: italic;} /* indent FAQ answers */ div.FaqEntry p { margin-left: 2ex; } div.FaqEntry ul { margin-left: 2ex; } span.excerptQuote { background-color: transparent; /* #EAF1F7; */ color: #336633; } /* ancors in spec rendering */ div.spec a { background-color: transparent; color: #336633; text-decoration: none; } div.spec a:hover, div.spec a:focus { background-color: #EAF1F7; color: #336633; } /* graseID rendering */ span.graseId { font-size: smaller; font-style: italic; } span.graseId a { background-color: transparent; color: #194096; text-decoration: none; } span.graseId a:hover, span.graseId a:focus { background-color: #EAF1F7; color: #194096; } /* grase manipulators rendering */ span.graseManip { font-weight: bold; font-size: smaller; } span.graseManip a { text-decoration: none; } span.graseManip a:hover { background-color: #EAF1F7; color: #194096; } /* compact user input form or display of input results */ table.compactForm { border 0; margin-left: 2ex; } /* spec coverage statistics */ table.coverageStatsTbl { border: 1px; border-style: solid; border-color: #194096; background-color: #EAF1F7; color: #000000; margin-top: 1em; } /* top-cases summary in TestLogWebViewer output */ table.logTopSummary { margin-left: 2ex; background-color: #9CBBDA; color: #000000; border: 1px solid #723732; } /* subcases summary in TestLogWebViewer output */ table.logSubSummary { font-size: smaller; margin-top: 1ex; margin-left: 0; background-color: #9CBBDA; color: #000000; border: 1px solid #723732; } /* test case trace */ div.caseTrace { margin-left: 2ex; } /* raw data inside test case trace */ div.caseTrace pre.data { margin-left: 2ex; color: #336633; background-color: inherit; } --></style> </head> <body> <div class="caseTrace"><a name="p49__beg"></a><a ><em>Test Case</em></a>: <b>cache must treat cached entity as stale when the age exceeds request max-age even if response max-age says the entry is fresh</b> <table class="logSubSummary" border="1" cellspacing="0" cellpadding="2" bgcolor="#9CBBDA"> <tr bgcolor="#9CBBDA"> <th>Subcase gist</th><th>State</th><th>Comment</th></tr> <tr bgcolor="#FFFFFF"> <td>cache something</td><td align="center"><a title="skip to this subcase below">success</a></td><td>DUT proxied the transaction and possibly cached the response</td></tr> <tr bgcolor="#FFFFFF"> <td>check that a given entity instance is cached and fresh</td><td align="center"><a title="skip to this subcase below">success</a></td><td>at the time of the request, entity instance appeared to be cached and fresh</td></tr> <tr bgcolor="#FFFFFF"> <td>check that a given entity instance is not cached or cached but stale</td><td align="center"><a title="skip to this subcase below">failure</a></td><td>at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale</td></tr> </table> <br>290.098| starting test case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp">test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp</a></span> <br>290.098| Co-Advisor version: 2.1.4b <br>290.098| <b>step 1</b>: attempting to cache entity with max-age Cache-Control directive <br clear="all"> <br> <div class="caseTrace"><a name="p49p1__beg"></a><em>Subcase</em>: <b>cache something</b> <br>290.098| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> <br>290.098| server accepting HTTP queries at 10.0.0.42:8081 <br>290.098| client connecting to 10.0.0.42:8080; 3 attempt(s) <br>290.098| client at 10.0.0.42:55596 connected to 10.0.0.42:8080 <br>290.098| client will send 92 bytes (92 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n Host: 10.0.0.42:8081\r\n Connection: close\r\n \r\n </pre> <br>290.099| client at 10.0.0.42:55596 expects to write to 10.0.0.42:8080 <br>290.099| client at 10.0.0.42:55596 wrote 92 bytes to 10.0.0.42:8080 ( 92 bytes so far) <br>290.099| client at 10.0.0.42:55596 stops writing to 10.0.0.42:8080( after 92 bytes) <br>290.099| client at 10.0.0.42:55596 expects to read from 10.0.0.42:8080 <br>290.099| server at 10.0.0.42:8081 accepted connection from 10.0.0.42:57711 <br>290.099| server at 10.0.0.42:8081 expects to read from 10.0.0.42:57711 <br>290.099| server at 10.0.0.42:8081 read 130 bytes from 10.0.0.42:57711 ( 130 bytes so far) <br>290.100| server got request headers (130 bytes)<pre class="data">GET /kwzrdlyuhtyk HTTP/1.1\r\n Host: 10.0.0.42:8081\r\n Max-Forwards: 10\r\n Connection: close\r\n Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n \r\n </pre> <br>290.102| expecting no message body <br>290.102| expected message body format: opaque message body <br>290.102| no more message body data to parse <br>290.102| server expects no more request data (after 130 + 0 = 130 bytes) <br>290.103| server at 10.0.0.42:8081 stops reading from 10.0.0.42:57711( after 130 bytes) <br>290.103| server will send 207 bytes<pre class="data">HTTP/1.1 200 OK\r\n Cache-Control: public\r\n Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n Cache-Control: max-age=100\r\n Date: Fri, 03 Jun 2005 22:37:01 GMT\r\n Content-Length: 15\r\n Connection: close\r\n \r\n </pre><pre class="data">body-vslgivatpw</pre> <br>290.104| server at 10.0.0.42:8081 expects to write to 10.0.0.42:57711 <br>290.105| server at 10.0.0.42:8081 wrote 207 bytes to 10.0.0.42:57711 ( 207 bytes so far) <br>290.105| server at 10.0.0.42:8081 stops writing to 10.0.0.42:57711( after 207 bytes) <br>290.105| server stops servicing connection with 10.0.0.42:57711 <br>290.105| server at 10.0.0.42:8081 closing connection to 10.0.0.42:57711 (read 130 bytes and wrote 207 bytes) <br>290.106| client at 10.0.0.42:55596 read 259 bytes from 10.0.0.42:8080 ( 259 bytes so far) <br>290.107| client parsed response headers (244 bytes)<pre class="data">HTTP/1.1 200 OK\r\n Date: Fri, 03 Jun 2005 22:37:00 GMT\r\n Cache-Control: public, max-age=100\r\n Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n Content-Length: 15\r\n Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n Connection: close\r\n Content-Type: text/plain\r\n \r\n </pre> <br>290.107| expecting 15 bytes of message body based on Content-Length header <br>290.107| expected message body format: opaque message body <br>290.107| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> <br>290.107| client expects no more data (after 244 + 15 = 259 bytes) <br>290.107| content size: 15 <br>290.107| client at 10.0.0.42:55596 stops reading from 10.0.0.42:8080( after 259 bytes) <br>290.107| client stops servicing connection with 10.0.0.42:8080 <br>290.107| client at 10.0.0.42:55596 closing connection to 10.0.0.42:8080 (read 259 bytes and wrote 92 bytes) <br>290.108| server stops accepting HTTP queries at 10.0.0.42:8081 <br>290.108| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> <br>290.108| result code: <font color="#006666">success</font> <br>290.108| result reason: DUT proxied the transaction and possibly cached the response<br clear="all"> </div> <br>290.108| <b>step 2</b>: verifying whether the entity was cached and is fresh <br clear="all"> <br> <div class="caseTrace"><a name="p49p2__beg"></a><em>Subcase</em>: <b>check that a given entity instance is cached and fresh</b> <br>290.108| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> <br>290.108| server accepting HTTP queries at 10.0.0.42:8081 <br>290.109| client connecting to 10.0.0.42:8080; 3 attempt(s) <br>290.109| client at 10.0.0.42:52009 connected to 10.0.0.42:8080 <br>290.109| client will send 118 bytes (118 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n Cache-Control: max-age=8\r\n Host: 10.0.0.42:8081\r\n Connection: close\r\n \r\n </pre> <br>290.109| client at 10.0.0.42:52009 expects to write to 10.0.0.42:8080 <br>290.110| client at 10.0.0.42:52009 wrote 118 bytes to 10.0.0.42:8080 ( 118 bytes so far) <br>290.110| client at 10.0.0.42:52009 stops writing to 10.0.0.42:8080( after 118 bytes) <br>290.110| client at 10.0.0.42:52009 expects to read from 10.0.0.42:8080 <br>290.110| client at 10.0.0.42:52009 read 267 bytes from 10.0.0.42:8080 ( 267 bytes so far) <br>290.110| client parsed response headers (252 bytes)<pre class="data">HTTP/1.1 200 OK\r\n Date: Fri, 03 Jun 2005 22:37:00 GMT\r\n Content-Type: text/plain\r\n Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n Cache-Control: public, max-age=100\r\n Content-Length: 15\r\n Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n Age: 0\r\n Connection: close\r\n \r\n </pre> <br>290.111| expecting 15 bytes of message body based on Content-Length header <br>290.111| expected message body format: opaque message body <br>290.111| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> <br>290.111| client expects no more data (after 252 + 15 = 267 bytes) <br>290.111| content size: 15 <br>290.111| client at 10.0.0.42:52009 stops reading from 10.0.0.42:8080( after 267 bytes) <br>290.111| client stops servicing connection with 10.0.0.42:8080 <br>290.111| client at 10.0.0.42:52009 closing connection to 10.0.0.42:8080 (read 267 bytes and wrote 118 bytes) <br>290.111| server stops accepting HTTP queries at 10.0.0.42:8081 <br>290.112| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> <br>290.112| result code: <font color="#006666">success</font> <br>290.112| result reason: at the time of the request, entity instance appeared to be cached and fresh<br clear="all"> </div> <br>290.112| sleeping for 10 seconds to increase age of a cached entity <br>300.120| <b>step 3</b>: verifying whether the cached entity is still cached <br clear="all"> <br> <div class="caseTrace"><a name="p49p3__beg"></a><em>Subcase</em>: <b>check that a given entity instance is not cached or cached but stale</b> <br>300.120| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> <br>300.121| server accepting HTTP queries at 10.0.0.42:8081 <br>300.121| client connecting to 10.0.0.42:8080; 3 attempt(s) <br>300.121| client at 10.0.0.42:55591 connected to 10.0.0.42:8080 <br>300.121| client will send 118 bytes (118 + 0)<pre class="data">GET http://10.0.0.42:8081/kwzrdlyuhtyk HTTP/1.1\r\n Cache-Control: max-age=8\r\n Host: 10.0.0.42:8081\r\n Connection: close\r\n \r\n </pre> <br>300.122| client at 10.0.0.42:55591 expects to write to 10.0.0.42:8080 <br>300.122| client at 10.0.0.42:55591 wrote 118 bytes to 10.0.0.42:8080 ( 118 bytes so far) <br>300.122| client at 10.0.0.42:55591 stops writing to 10.0.0.42:8080( after 118 bytes) <br>300.122| client at 10.0.0.42:55591 expects to read from 10.0.0.42:8080 <br>300.122| client at 10.0.0.42:55591 read 268 bytes from 10.0.0.42:8080 ( 268 bytes so far) <br>300.123| client parsed response headers (253 bytes)<pre class="data">HTTP/1.1 200 OK\r\n Date: Fri, 03 Jun 2005 22:37:10 GMT\r\n Content-Type: text/plain\r\n Last-Modified: Thu, 03 Jun 2004 22:32:10 GMT\r\n Cache-Control: public, max-age=100\r\n Content-Length: 15\r\n Via: 1.1 10.0.0.42:8081 (Apache/2.0.54)\r\n Age: 10\r\n Connection: close\r\n \r\n </pre> <br>300.123| expecting 15 bytes of message body based on Content-Length header <br>300.123| expected message body format: opaque message body <br>300.124| parsed 15 bytes of message body: <pre class="data">body-vslgivatpw</pre> <br>300.124| client expects no more data (after 253 + 15 = 268 bytes) <br>300.124| content size: 15 <br>300.124| client at 10.0.0.42:55591 stops reading from 10.0.0.42:8080( after 268 bytes) <br>300.124| client stops servicing connection with 10.0.0.42:8080 <br>300.124| client at 10.0.0.42:55591 closing connection to 10.0.0.42:8080 (read 268 bytes and wrote 118 bytes) <br>300.124| server stops accepting HTTP queries at 10.0.0.42:8081 <br>300.124| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> <br>300.124| result code: <font color="#0000FF">failure</font> <br>300.124| result reason: at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale<br clear="all"> </div> <br>300.124| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=42a468e1_1291_c0f30e14&info_id=test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp">test_case/rfc2616/ccRespDirMsg-max-age-overMaxAge-resp</a></span> <br>300.124| result code: <font color="#FF0000">violation</font> <br>300.124| result reason: cache did not treat cached entity as stale when the age exceeds request max-age even if response max-age says the entry is fresh<br clear="all"> <hr noshade align="left" width="25%"> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 35245
: 15318