You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2004/06/17 00:04:23 UTC

DO NOT REPLY [Bug 29624] New: - Need to simulate browser cache per virtual user

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29624>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29624

Need to simulate browser cache per virtual user

           Summary: Need to simulate browser cache per virtual user
           Product: JMeter
           Version: 2.0.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: remedyqa@yahoo.com


Currently, JMeter either retrieves embedded resources or not.  If retrieving, 
it will keep on retrieving if the request is issued again.  This does not 
simulate a real-life scenario.  What JMeter needs is a browser cache behavior. 
Each request should be set to retrieve all embedded resources and Jmeter should 
keep track for each thread if a request for a resource has been made or not. If 
so, do not request again. That is if the headers do not indicate no cache.

For example, the test plan below.  On the first loop, the second HTTP Request B 
resources should not be requested again.  And of course on the 2 to 5th loops, 
all requests' resources should not be retrieved again.

Test Plan
      Thread Group
           HTTP Cookie Manager
           Loop Controller - 5 times
                Simple Controller 1
                    HTTP Request A (Retrieve all embedded resources)
                    HTTP Request B (Retrieve all embedded resources)
                    
                Simple Controller 2
                    HTTP Request C (Retrieve all embedded resources)
                    HTTP Request D (Retrieve all embedded resources)
                    HTTP Request B (Retrieve all embedded resources)

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org