Hi, I think it would be very convenient to add the ability to convert test elements from one type to another, esp. for controllers, listeners and HTTP samplers. e.g. I've got a simple controller I want to change it to an If controller. At the moment I need to either add the if controller as a child or parent, move the child elements of the simple controller to the if controller and then remove the simpler controller. It would be much more convenient to add e.g. a "Convert to.." context menu option, sampler to the "Add Parent" context menu option. Regards, Noel
It's easy enough to add a new sampler and delete the old one. However, replacing a Controller with many children is not as easy. Implemented in SVN: URL: http://svn.apache.org/viewvc?rev=1204302&view=rev Log: Bug 46921 - Add Ability to Change Controller elements Added: jmeter/trunk/src/core/org/apache/jmeter/gui/action/ChangeParent.java (with props) Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionNames.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.java jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2214