1. I created and saved several modules, then opened them in the workbench so that they would be available to ModuleControllers. 2.. In my test plan, I added several ModuleControllers - each referencing a different module created in step 1. 3. Save and close test plan. 4. Reopen test plan - all ModuleControllers created in step 2 now reference only one module - the first one listed (alphabetically) in the workbench.
Created attachment 12190 [details] Comments on a possible weakness in ModuleController.traverse().
*** Bug 32684 has been marked as a duplicate of this bug. ***
This bug is around since a year and a half and is blocking the user from doing really modular testing with JMeter. This is a big issue, if you're doing SOAP tests for example and want to recycle SOAP calls by putting the into a simple controller and referencing them using the module controller. Other scenarios can be imagined as well.
Fix checked in. The module controller will refind the modules it wants at whatever point you add them (before or after loading the module controller). Also, if it can't find it, it will provide a warning about the module it is expecting to find.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1223