You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/08/20 13:46:19 UTC

svn commit: r1756994 - in /jmeter/trunk/bin/templates: ThinkTime.jmx templates.xml

Author: pmouawad
Date: Sat Aug 20 13:46:19 2016
New Revision: 1756994

URL: http://svn.apache.org/viewvc?rev=1756994&view=rev
Log:
Add a Think Time template

Added:
    jmeter/trunk/bin/templates/ThinkTime.jmx
Modified:
    jmeter/trunk/bin/templates/templates.xml

Added: jmeter/trunk/bin/templates/ThinkTime.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/templates/ThinkTime.jmx?rev=1756994&view=auto
==============================================================================
--- jmeter/trunk/bin/templates/ThinkTime.jmx (added)
+++ jmeter/trunk/bin/templates/ThinkTime.jmx Sat Aug 20 13:46:19 2016
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jmeterTestPlan version="1.2" properties="2.9" jmeter="3.1-SNAPSHOT.20160819">
+  <hashTree>
+    <TestAction guiclass="TestActionGui" testclass="TestAction" testname="ThinkTime" enabled="true">
+      <intProp name="ActionProcessor.action">1</intProp>
+      <intProp name="ActionProcessor.target">0</intProp>
+      <stringProp name="ActionProcessor.duration">0</stringProp>
+    </TestAction>
+    <hashTree>
+      <UniformRandomTimer guiclass="UniformRandomTimerGui" testclass="UniformRandomTimer" testname="URT" enabled="true">
+        <stringProp name="ConstantTimer.delay">1000</stringProp>
+        <stringProp name="RandomTimer.range">100.0</stringProp>
+      </UniformRandomTimer>
+      <hashTree/>
+    </hashTree>
+  </hashTree>
+</jmeterTestPlan>

Modified: jmeter/trunk/bin/templates/templates.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/templates/templates.xml?rev=1756994&r1=1756993&r2=1756994&view=diff
==============================================================================
--- jmeter/trunk/bin/templates/templates.xml (original)
+++ jmeter/trunk/bin/templates/templates.xml Sat Aug 20 13:46:19 2016
@@ -197,4 +197,20 @@
             </ul>       
         ]]></description>
     </template>
+    <template isTestPlan="false">
+        <name>Think Time at a point</name>
+        <fileName>ThinkTime.jmx</fileName>
+        <description><![CDATA[
+        <h1>Sample BeanShell Sampler</h1>
+        <h2>Overview</h2>
+        This shows how to introduce a Think Time of 1s+/- 100 ms between 2 samplers 
+        <br/>
+        Please select a suitable location in the tree - e.g. Thread Group or Controller - before merging.
+        <h2>Useful links</h2>
+            <ul>
+                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#Test_Action" >Test Action</a></li>
+                <li><a href="http://jmeter.apache.org/usermanual/component_reference.html#Uniform_Random_Timer" >Uniform Random Timer</a></li>
+            </ul>
+        ]]></description>
+    </template>
 </templates>