Bug 51939 - Should generate new parent sample if necessary when retrieving embedded resources
Summary: Should generate new parent sample if necessary when retrieving embedded resou...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.1
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks: 54156
  Show dependency tree
 
Reported: 2011-10-03 14:23 UTC by Sebb
Modified: 2012-11-15 23:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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