apache / apache/jmeter

HTTP Cache Manager - 304 not modified on the main page does not retrieve the embedded resources

Open
#2,861 7 comments 0 reactions 0 assignees View on GitHub
os: All P1
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Alex** ([Bug 53540](https://bz.apache.org/bugzilla//show_bug.cgi?id=53540&redirect=false)):
If the resource being accessed in the main http request (with HTTP Cache Manager enabled of course) gets "304 not modified" as an answer, the resources embedded will no longer be retrieved.

If we had any javascript objects, or specific dynamic files embedded, these will therefore not be downloaded.

Example:

Thread Manager with two repetitions;
Simple HTTP Request (GET) containing some 104 embedded resources

First request: response code 200 for all resources
Second request: response code 304 not modified only for the main request, additional embedded resources are not downloaded

This is very inconvenient, as retrieving each resource separately is not an option, because it cannot be done using concurrent pools, therefore no "cached content" tests can be performed....

or is there a solution out there?

Thanks
Alex

Created attachment [cachemanager.jpg](https://apache.github.io/jmeter-bugzilla-attachments/40/53540/29052/cachemanager.jpg): Cache Manager Problem

Cache Manager Problem

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.