One day the workbench will be saved with the reat, meanwhile a work-round is to export the workbench separately, and manually merge it with the rest of the JMX file using a text editor. [You might be able to automate this with Perl.]
== If you haven't already, have a look at the JMeter FAQ for some details on how to parameterise test plans so that you don't need to keep changing them. Might be appropriate - or might not, depends on what needs to change. S. -----Original Message----- From: Sonam Chauhan [mailto:[EMAIL PROTECTED] Sent: 06 January 2004 06:56 To: 'JMeter Users List' Subject: How can I reuse test plan fragments? I want to reuse components of a test plan within a JMX. My aim is to reduce cutting and pasting of test plan fragments -- these go out of sync as the test plan is updated. The module controller seems built for this very purpose. However, it does not work in command line mode because workbench components are not stored in the JMX file. To get around this, I tried getting the module controller to point to modules stored in an inactive thread group. (I was essentially trying to use the thread group D below as a sort of storage area.) ---------------------------------------------- Test Plan Active Thread Group A Module Controller --> ModuleXXX Active Thread Group B Module Controller --> ModuleYYY Active Thread Group C Module Controller --> ModuleXXX ... Inactive Thread Group D (Storage area) ModuleXXX ModuleYYY ... Workbench (useless because not stored in .JMX file) ---------------------------------------------- However, this does not work either - the test plans simply does not run those threads. Is there any other way to reuse test fragments in a non-GUI JMX? With regards, Sonam Chauhan -- Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

