def __generate(self):
    '\n        Generate the test plan\n        '
    thread_group = JMX.get_thread_group(testname=self.executor.label)
    thread_group_ht = etree.Element('hashTree', type='tg')
    self.request_compiler = RequestCompiler(self)
    for element in self.compile_scenario(self.scenario):
        thread_group_ht.append(element)
    results_tree = self._get_results_tree()
    results_tree_ht = etree.Element('hashTree')
    self.append(self.TEST_PLAN_SEL, thread_group)
    self.append(self.TEST_PLAN_SEL, thread_group_ht)
    self.append(self.TEST_PLAN_SEL, results_tree)
    self.append(self.TEST_PLAN_SEL, results_tree_ht)
Generate the test plan
def __generate(self):
    '\n        \n        '
    thread_group = JMX.get_thread_group(testname=self.executor.label)
    thread_group_ht = etree.Element('hashTree', type='tg')
    self.request_compiler = RequestCompiler(self)
    for element in self.compile_scenario(self.scenario):
        thread_group_ht.append(element)
    results_tree = self._get_results_tree()
    results_tree_ht = etree.Element('hashTree')
    self.append(self.TEST_PLAN_SEL, thread_group)
    self.append(self.TEST_PLAN_SEL, thread_group_ht)
    self.append(self.TEST_PLAN_SEL, results_tree)
    self.append(self.TEST_PLAN_SEL, results_tree_ht)