In versions prior to JMeter 2.1, embedded samples were always stored as subsamples of a separate container sample. The first entry in the container would be the main sample, followed by any embedded resources. Similarly if a redirect occured, the original request was added as the first entry of a new container sample. Redirects still behave as before, however when embedded resources are retrieved, no parent sample is generated. This means the original response for the main page is lost, as the sample is updated with the timings for the embedded resources. As this is now a very old bug, it's possible that this broken behaviour is now being relied upon. So the fix should be reversible (via a JMeter property).
URL: http://svn.apache.org/viewvc?rev=1178752&view=rev Log: Bug 51939 - Should generate new parent sample if necessary when retrieving embedded resources Modified: jakarta/jmeter/trunk/bin/jmeter.properties jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jakarta/jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2576