Bug 51939

Summary: Should generate new parent sample if necessary when retrieving embedded resources
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 54156    

Description Sebb 2011-10-03 14:23:35 UTC
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).
Comment 1 Sebb 2011-10-04 10:36:53 UTC
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:47 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2576