Bug 60264

Summary: Module Controllers Able To Select From Other External Files
Product: JMeter - Now in Github Reporter: Scott <scott.mollon>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: reusable library controlelrs
tests which use module controllers to reference libraries

Description Scott 2016-10-17 17:24:21 UTC
I am using JMeter to create many functional tests for our API (1600+). I really wish I could control file size and segregate tests across files by referencing one common library file. We can reuse modules within in a single file using module controllers, but we cannot do so across files.

I'd love to have this setup.

Libraries.jmx
- Contains a thread with simple controllers containing HTTP samplers configured for the various API calls. For instance: CreateAccount, AddUser, etc...

AccountTests.jmx
- Contains test threads containing functional tests, which use modules controllers to reference the simple controllers in Libraries.jmx.
UserTests.jmx
LoadTests.jmx
etc...

Right now they all need to be in one big file that take a long time to open and save.

Test Fragments and Include Controllers don't meet this need. Though if I could dig down into an Include Controller it could.
Comment 1 Scott 2016-10-17 17:24:52 UTC
Created attachment 34380 [details]
reusable library controlelrs
Comment 2 Scott 2016-10-17 17:25:21 UTC
Created attachment 34381 [details]
tests which use module controllers to reference libraries
Comment 3 The ASF infrastructure team 2022-09-24 20:38:06 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4145