Bug 29624 - Need to simulate browser cache per virtual user
Summary: Need to simulate browser cache per virtual user
Status: RESOLVED DUPLICATE of bug 28502
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.0.1
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 22:04 UTC by Mabel Chow
Modified: 2005-02-17 19:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mabel Chow 2004-06-16 22:04:22 UTC
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)
Comment 1 Sebb 2005-02-18 04:18:26 UTC

*** This bug has been marked as a duplicate of 28502 ***
Comment 2 The ASF infrastructure team 2022-09-24 20:37:33 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1391