Running some user-load tests with jmeter, and noticed that for each page load after the first load, the load sizes are similar. This leads me to believe that jmeter's simulation does not use browser cache emulation (e.g. the caching of css and javascript). Anyone know of a method for emulating browser cache in jmeter?
JMeter is not a browser, it works at protocol level. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages.
Full multi-threading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups. Caching and offline analysis/replaying of test results. Highly Extensible core: Pluggable Samplers allow unlimited testing capabilities.
Try adding the Config Element HTTP Cache Manager
introduced in JMeter v2.3.2
An example is here:
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Cache_Manager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With