Articles → JMeter → Create Custom Templates In Jmeter

Create Custom Templates In Jmeter






Create A Sample Test Plan




  1. Sampler (HTTP request)
  2. Listener (View Result Tree)
Picture showing the sample test plan in jmeter
Click to Enlarge



Picture showing the window to save the sample test plan as template
Click to Enlarge


Add Entry Into Templates.Xml




<template isTestPlan="true">
	<name>My First Template</name>
	<fileName>/bin/FirstTemplate.jmx</fileName>
	<description>
		<![CDATA[<h1>My First Template </h1>] ]>
	</description>
</template>




Picture showing the custom template code added in the templates.xml
Click to Enlarge


Templates Window




Picture showing the custom template in the template window
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, January 6, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250