Bug 51983 - Nested sampler approach needs review
Summary: Nested sampler approach needs review
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.5.1
Hardware: All Windows XP
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2011-10-06 22:37 UTC by Sebb
Modified: 2011-11-25 12:55 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2011-10-06 22:37:48 UTC
Some samplers support generation of multiple samples where there is a parent sample and various sub-samples. For example, HTTP redirects and HTTP embedded resource downloads.

In these cases, the parent sample should have some fields such as the the name and start-time taken from the initial sample, but other fields such as encoding, content-type etc. don't really make sense for the parent. However, at present the parent is created by cloning the initial saample.

Need to review which fields should be initialised, and which should not, and then add a new static factory method which performs the required init and use that instead of the current copy constructor.