Bug 51939 - Should generate new parent sample if necessary when retrieving embedded resources
Should generate new parent sample if necessary when retrieving embedded resou...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.1
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
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