This file is indexed.

/usr/share/jmeter/bin/templates/templates.xml is in jmeter 2.13-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0"?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<!-- 
    See the DTD for allowable elements and attributes.
 -->
<templates>
    <template isTestPlan="true">
        <name>Recording</name>
        <fileName>/bin/templates/recording.jmx</fileName>
        <description><![CDATA[
        <h1>Template showing how to record</h1>
        <h2>JMeter Configuration</h2>
            <ul>
                <li>JMeter Server Proxy port is set to 8888, you may want to change this</li>
            </ul>
        <h2>Browser Configuration</h2>
        <p>Configure your browser so that it uses the JMeter proxy, set:
            <ul>
                <li>the host of the machine that runs JMeter</li>
                <li>the port you setup in JMeter Server Proxy</li>
            </ul>
        </p>
        <h2>Useful links</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf" >http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Proxy_Server" >http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Proxy_Server</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>JDBC Load Test</name>
        <fileName>jdbc.jmx</fileName>
        <description>
        <![CDATA[<h1>Template showing how to Load Test an SQL query on Database</h1>
        <h2>JMeter Configuration</h2>
            <ul>
                <li>Add the database driver to jmeter/lib folder</li>
                <li>Configure the host, port, username and password in JDBC Configuration</li>
                <li>Modify the SQL query to match your query</li>
            </ul>
        <h2>Useful links</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-db-test-plan.html" >http://jmeter.apache.org/usermanual/build-db-test-plan.html</a></li>
            </ul>
        ]]></description>
    </template>
    <template isTestPlan="false">
        <name>BeanShell Sampler</name>
        <fileName>BeanShellSampler.jmx</fileName>
        <description><![CDATA[
        <h1>Sample BeanShell Sampler</h1>
        <h2>Overview</h2>
        This is a sample BeanShell sampler which shows how to use some of its features.
        <br/>
        Please select a suitable location in the tree - e.g. Thread Group or WorkBench - before merging.
        <h2>Useful links</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler" >http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler</a></li>
            </ul>
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>MongoDB Load Test</name>
        <fileName>mongodb.jmx</fileName>
        <description>
        <![CDATA[<h1>Template showing how to Load Test MongoDB code using MongoDB Java Driver</h1>
        <h2>JMeter Configuration</h2>
            <ul>
                <li>Download groovy from <a href="http://groovy.codehaus.org/Download" >Groovy Download</a></li>
                <li>Add the groovy-all-XXX.jar in jmeter/lib folder, it is usually located in embeddable folder</li>
                <li>Restart JMeter</li>
                <li>Configure the <b>Server address list</b>, and tune <b>MongoDB options</b> in MongoDB Source Config</li>
                <li>Modify the JSR223 samples (<b>Insert into testCollection</b> and <b>Count from testCollection</b>) to match your needs</li>
            </ul>
        <h2>Mongo Java Driver</h2>
        <p>
            MongoDB Source Config configures the connection to MongoDB for you and stores in <b>MongoDB Source</b> the configuration.<br/>
            You can then access it in any Scripting element using:<br/>
            <i>com.mongodb.DB db = org.apache.jmeter.protocol.mongodb.config.MongoDBHolder.getDBFromSource("db", "test");<i>
        </p>
        <h2>Useful links</h2>
            <ul>
                <li><a href="http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/#getting-started-with-java-driver" >Getting Started with Java Driver (<i>Making a connection</i> part is already done by MongoDB Source Config)</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#MongoDB_Source_Config" >http://jmeter.apache.org/usermanual/component_reference.html#MongoDB_Source_Config</a></li>
            </ul>
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building a Web Test Plan</name>
        <fileName>/bin/templates/build-web-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan from Building a Web Test Plan section in user's manual</h1>
        <h2>Useful link</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-web-test-plan.html" >http://jmeter.apache.org/usermanual/build-web-test-plan.html</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building an Advanced Web Test Plan</name>
        <fileName>/bin/templates/build-adv-web-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan from Building an advanced Web Test Plan section in user's manual</h1>
        <h2>Configuration</h2>
        <p>In order to run the login sample inside plan, create a CSV file following description in <b>loginData</b> sample and put it in a folder of your choice then test running JMeter with:<br/>
            <ul>
                <li><b>jmeter -Jresources_folder=FOLDER TO CHANGE</b></li>
            </ul>
        </p>
        <h2>Useful link</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-adv-web-test-plan.html" >http://jmeter.apache.org/usermanual/build-adv-web-test-plan.html</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building a SOAP WebService Test Plan</name>
        <fileName>/bin/templates/build-webservice-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan showing how to create a SOAP Webservice Test Plan </h1>
        <h2>Useful links</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables" >User Defined Variables</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request_Defaults" >User Defined Variables</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request" >HTTP Request</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#Response_Assertion">Response Assertion</a></li>
                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Header_Manager">HTTP Header Manager</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building an FTP Test Plan </name>
        <fileName>/bin/templates/build-ftp-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan from Building an FTP Test Plan section in user's manual</h1>
        <h2>Useful link</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-ftp-test-plan.html" >http://jmeter.apache.org/usermanual/build-ftp-test-plan.html</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building an LDAP Test Plan</name>
        <fileName>/bin/templates/build-ldap-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan from Building an LDAP Test Plan section in user's manual</h1>
        <h2>Useful link</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-ldap-test-plan.html" >http://jmeter.apache.org/usermanual/build-ldap-test-plan.html</a></li>
            </ul>       
        ]]></description>
    </template>
    <template isTestPlan="true">
        <name>Building an Extended LDAP Test Plan</name>
        <fileName>/bin/templates/build-ldap-ext-test-plan.jmx</fileName>
        <description><![CDATA[
        <h1>Test plan from Building an Extended LDAP Test Plan section in user's manual</h1>
        <h2>Useful link</h2>
            <ul>
                <li><a href="http://jmeter.apache.org/usermanual/build-ldapext-test-plan.html" >http://jmeter.apache.org/usermanual/build-ldapext-test-plan.html</a></li>
            </ul>       
        ]]></description>
    </template>
</templates>