Bug 55237 - Template system should support relative fileName entries
Summary: Template system should support relative fileName entries
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-10 22:24 UTC by Sebb
Modified: 2013-07-10 22:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2013-07-10 22:24:30 UTC
Currently the Template system supports filenames relative to the JMeter Home directory.

It would be useful to support names relative to the templates.xml file which defines them.

The current fileName entries look like /bin/templates/Name.jmx.
So a compatible fix would be to treat entries without a leading "/" as relative.
Comment 1 Sebb 2013-07-10 22:30:38 UTC
URL: http://svn.apache.org/r1502030
Log:
Template system should support relative fileName entries
Bugzilla Id: 55237

Modified:
    jmeter/trunk/bin/templates/templates.xml
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplateDialog.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/xdocs/changes.xml
Comment 2 Milamber 2013-07-10 22:38:14 UTC
URL: http://svn.apache.org/r1502033
Log:
Templates - provide button to reload template details
Update FR translation
Bugzilla Id: 55236

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
Comment 3 The ASF infrastructure team 2022-09-24 20:37:54 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3163