Bug 62317

Summary: HTTP(S) Test Script Recorder: allow to add ResultSaver to created sampler
Product: JMeter Reporter: kostas
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 4.0   
Target Milestone: JMETER_5.0   
Hardware: All   
OS: All   

Description kostas 2018-04-20 07:24:37 UTC
ProxyControl in addableInterfaces limits the classes that can be added as samplers. We have a plugin that adds a ResultSaver under each sampler recorded (returned from AbstractSamplerCreator.createChildren()). Current Jmeter 4.0 does not allow us to add this. 

Please add TestElement.class to the addableInterfaces list or any other interface that would allow the ResultSaver addition.
Comment 1 Philippe Mouawad 2018-04-20 15:30:38 UTC
Author: pmouawad
Date: Fri Apr 20 15:30:03 2018
New Revision: 1829666

URL: http://svn.apache.org/viewvc?rev=1829666&view=rev
Log:
Bug 62317 - ProxyControl: allow to add ResultSaver as sampler
Bugzilla Id: 62317

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
Comment 2 Philippe Mouawad 2018-04-20 15:31:04 UTC
Hello,
Can you check next nightly build and give us feedback ?
Thanks
Comment 3 kostas 2018-04-21 05:20:22 UTC
(In reply to Philippe Mouawad from comment #2)
> Hello,
> Can you check next nightly build and give us feedback ?
> Thanks

Tested with apache-jmeter-r1829667. Works fine now,

Thanks
Comment 4 Philippe Mouawad 2018-04-21 06:30:55 UTC
Thanks for feedback.