https://bz.apache.org/bugzilla/show_bug.cgi?id=59962
Bug ID: 59962
Summary: Cache Manager does not update expires date when
response code is 304.
Product: JMeter
Version: 3.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Created attachment 34118
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34118&action=edit
jmx for reproduction
Cache Manager does not update expires date when response code is 304.
If server sends new Expires header with 304, JMeter should not send this
request until expired when "Use Cache-Control/Expires header" option is
checked.
This is because cacheable response code is limited to 2xx range in isCacheable
method(CacheManager.java).
To reproduce with Apache HTTP Server 2.4:
Add settings below to httpd.conf and run attached jmx.
----
LoadModule expires_module modules/mod_expires.so
<IfModule expires_module>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
</IfModule>
----
Expected result:
3rd request of attached jmx should not be sent.
--
You are receiving this mail because:
You are the assignee for the bug.