apache / apache/jmeter

Nested sampler approach needs review

Open
#2,584 0 comments 0 reactions 0 assignees View on GitHub
enhancement os: Windows P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Sebb** ([Bug 51983](https://bz.apache.org/bugzilla//show_bug.cgi?id=51983&redirect=false)):
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.

OS: Windows XP

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.