https://issues.apache.org/bugzilla/show_bug.cgi?id=47940

           Summary: Module controller incorrectly create the replacement
                    Sub Tree
           Product: JMeter
           Version: 2.3.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: benoit.wi...@gmail.com


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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to