Summary: | Module Controller does not work properly in included script | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Alexei <pics> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | NEW --- | ||
Severity: | normal | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.11 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Main test plan
Included script with Test Fragment Included script without Test Fragment |
Description
Alexei
2014-06-16 13:37:52 UTC
As per new documentation of trunk: jmeter/docs/usermanual/component_reference.html#Test_Fragment "When using Test Fragment with Module Controller , ensure you disable the Test Fragment to avoid the execution of Test Fragment itself. " So this is by feature and result is fine. *** This bug has been marked as a duplicate of bug 55740 *** The issue is not in "Test Fragment". As per jmeter/docs/usermanual/component_reference.html#Include_Controller i have to use it: The include controller is designed to use an external jmx file. To use it, create a Test Fragment underneath the Test Plan and add any desired samplers, controllers etc. below it. Then save the Test Plan. The file is now ready to be included as part of other Test Plans. You may also want to modify "Second script" to avoid using "Test Fragment": Second script TestPlan |--Simple Controller1 |--Simple Controller2 | |--Debug Sampler3 |--Module Controller <TestPlan > Test Fragment > Simple Controller2> But actual result is the same. The issue makes using Module Controller in script included with Include Controller impossible. Can you attach the 2 sample test plans using Debug Sampler ? Thank you Created attachment 31795 [details]
Main test plan
Created attachment 31796 [details]
Included script with Test Fragment
Created attachment 31797 [details]
Included script without Test Fragment
Hi Philippe, Have you had a chance to look into test plans? BR, Alexei Yes, I reproduced issue. Still looking at fix. Issue is located in IncludeController#loadIncludedElements. JMeter does not find reference as it has a root the includer not the included. Hi Philippe, The issue has not been updated for a long time. Is there any possibility to fix the it? BR, Alexei This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3386 |