The module controller incorrectly re-create the linked controller during the JMeter#convertSubTree step leading to erroneous scenario. For example if we have a scenario like TG1 Transaction Controller Sampler 1 Sampler 2 Sampler 3 TG 2 Module Controller (TG 1 > Transaction Controller) Note that the Transaction Controller could be repladec by any controller (IfController, etc...) After the JMeter#convertSubTree step, the resulting tree for TG2 will be : TG 2 { Module Controller { Transaction Controller {} Sampler 1{} Sampler 2{} Sampler 3{} } } Here the samplers and the transaction controller are sibling nodes The correct tree should be : TG 2 { Module Controller { Transaction Controller { Sampler 1{} Sampler 2{} Sampler 3{} } } } Where the samplers are child of the Transaction controller Patch will follow
Created attachment 24345 [details] Patch The patch provided pass the correct subtree to the ModuleController#createSubTree Benoit Wiart Ubik Ingénierie http://www.ubik-ingenierie.com
Thanks: URL: http://svn.apache.org/viewvc?rev=836291&view=rev Log: Bug 47940 - Module controller incorrectly creates the replacement Sub Tree
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2292