Hi,

I have two JMeter scripts(.jmx), in which first script is included as a Test
fragment to the second script.
When I run the script from GUI mode it runs fine. But When I run the script
using TestNG, the include controller part of the script is excluded.

Please help.

Script flow:
==========
First Script :
        TestPlan
             |------TestFragment
                                 |---------Test Elements
                                 |---------Samplers etc
Second Script :
        TestPlan
             |------Initial Elements
             |------ThreadGroups
                                 |---------IncludeControler(Contains path
and file name of First Script)
             |---------ThreadGroups
                                 |---------OtherElements

TestNG Execution Code:
=================
                File JmxFile1 = new 
File(System.getenv("$ScriptPath/SecondScript.jmx");
                HashTree testPlanTree = SaveService.loadTree(JmxFile1);
                jmeter.configure(testPlanTree);
                


JMeterVersion:3.3       



--
Sent from: http://www.jmeter-archive.org/JMeter-Dev-f535367.html

Reply via email to