This idea has previously been discussed for JMeter Root CA certificate duration. The feature here consists of the following: - Add to templates (Template.java) key/value parameters. As a starter, parameters would be simple String - When such a template is selected, JMeter will automatically provide a gui for each field so that user can enter the value - When using the JMX underlying template, JMeter will replace the parameterized values by the values entered by user
PR: - https://github.com/apache/jmeter/pull/432
Author: pmouawad Date: Tue Nov 27 20:23:44 2018 New Revision: 1847594 URL: http://svn.apache.org/viewvc?rev=1847594&view=rev Log: Bug 62870 - Templates : Add ability to provide parameters Contributed by UbikLoadPack (https://ubikloadpack.com) This closes #432 Bugzilla Id: 62870 Added: jmeter/trunk/src/core/org/apache/jmeter/gui/action/template/templates.dtd (with props) jmeter/trunk/src/core/org/apache/jmeter/util/TemplateUtil.java (with props) jmeter/trunk/test/resources/org/apache/jmeter/gui/ jmeter/trunk/test/resources/org/apache/jmeter/gui/action/ jmeter/trunk/test/resources/org/apache/jmeter/gui/action/template/ jmeter/trunk/test/resources/org/apache/jmeter/gui/action/template/invalidTemplates.xml (with props) jmeter/trunk/test/resources/org/apache/jmeter/gui/action/template/validTemplates.xml (with props) jmeter/trunk/test/src/org/apache/jmeter/gui/action/template/ jmeter/trunk/test/src/org/apache/jmeter/gui/action/template/TestTemplateManager.java (with props) jmeter/trunk/xdocs/creating-templates.xml (with props) jmeter/trunk/xdocs/images/screenshots/templates/ jmeter/trunk/xdocs/images/screenshots/templates/template_folder.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/template_parameters.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/template_parameters_window.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/template_recording_custom_filename.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/template_recording_filename.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/template_recording_retrieved_value.png (with props) jmeter/trunk/xdocs/images/screenshots/templates/templates_xml_parameters.png (with props) Modified: jmeter/trunk/bin/templates/recording.jmx jmeter/trunk/bin/templates/templates.dtd jmeter/trunk/bin/templates/templates.xml jmeter/trunk/build.xml jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplatesDialog.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/template/Template.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/template/TemplateManager.java jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/xdocs/changes.xml Author: pmouawad Date: Tue Nov 27 20:27:52 2018 New Revision: 1847595 URL: http://svn.apache.org/viewvc?rev=1847595&view=rev Log: Bug 62870 - Templates : Add ability to provide parameters Add missing file and take into account Felix note Bugzilla Id: 62870 Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplatesDialog.java jmeter/trunk/xdocs/usermanual/get-started.xml
pmouawad@apache.org 2:25 PM (6 hours ago) to commits Author: pmouawad Date: Mon Dec 3 13:23:29 2018 New Revision: 1848039 URL: http://svn.apache.org/viewvc?rev=1848039&view=rev Log: Bug 62870 - Templates : Add ability to provide parameters Avoid resetting templates when not necessary Bugzilla Id: 62870 Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplatesDialog.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4907