You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2020/01/03 12:36:44 UTC
[jmeter] branch master updated: Add new template "Functional
Testing Test Plan [01]"
This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new f08edb2 Add new template "Functional Testing Test Plan [01]"
f08edb2 is described below
commit f08edb2c7cb972c185bfa177c53e46677b9e8dae
Author: sebastianboga <se...@endava.com>
AuthorDate: Fri Jan 3 12:04:26 2020 +0200
Add new template "Functional Testing Test Plan [01]"
Contributed by sebastian.boga at endava.com
Bugzilla-ID: 63458
Closes #551
---
bin/templates/functional-testing-01-test-plan.jmx | 86 +++++++++++++++++++++++
bin/templates/templates.xml | 16 +++++
xdocs/changes.xml | 2 +
3 files changed, 104 insertions(+)
diff --git a/bin/templates/functional-testing-01-test-plan.jmx b/bin/templates/functional-testing-01-test-plan.jmx
new file mode 100644
index 0000000..a61d74e
--- /dev/null
+++ b/bin/templates/functional-testing-01-test-plan.jmx
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ 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.
+ -->
+
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1">
+ <hashTree>
+ <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
+ <stringProp name="TestPlan.comments"></stringProp>
+ <boolProp name="TestPlan.functional_mode">false</boolProp>
+ <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
+ <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
+ <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="TestPlan.user_define_classpath"></stringProp>
+ </TestPlan>
+ <hashTree>
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
+ <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
+ <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
+ <boolProp name="LoopController.continue_forever">false</boolProp>
+ <stringProp name="LoopController.loops">1</stringProp>
+ </elementProp>
+ <stringProp name="ThreadGroup.num_threads">1</stringProp>
+ <stringProp name="ThreadGroup.ramp_time">1</stringProp>
+ <boolProp name="ThreadGroup.scheduler">false</boolProp>
+ <stringProp name="ThreadGroup.duration"></stringProp>
+ <stringProp name="ThreadGroup.delay"></stringProp>
+ <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
+ </ThreadGroup>
+ <hashTree>
+ <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
+ <boolProp name="ResultCollector.error_logging">false</boolProp>
+ <objProp>
+ <name>saveConfig</name>
+ <value class="SampleSaveConfiguration">
+ <time>true</time>
+ <latency>true</latency>
+ <timestamp>true</timestamp>
+ <success>true</success>
+ <label>true</label>
+ <code>true</code>
+ <message>true</message>
+ <threadName>true</threadName>
+ <dataType>true</dataType>
+ <encoding>false</encoding>
+ <assertions>true</assertions>
+ <subresults>true</subresults>
+ <responseData>false</responseData>
+ <samplerData>false</samplerData>
+ <xml>true</xml>
+ <fieldNames>true</fieldNames>
+ <responseHeaders>false</responseHeaders>
+ <requestHeaders>false</requestHeaders>
+ <responseDataOnError>false</responseDataOnError>
+ <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
+ <assertionsResultsToSave>0</assertionsResultsToSave>
+ <bytes>true</bytes>
+ <sentBytes>true</sentBytes>
+ <url>true</url>
+ <threadCounts>true</threadCounts>
+ <idleTime>true</idleTime>
+ <connectTime>true</connectTime>
+ </value>
+ </objProp>
+ <stringProp name="filename"></stringProp>
+ </ResultCollector>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ </hashTree>
+</jmeterTestPlan>
diff --git a/bin/templates/templates.xml b/bin/templates/templates.xml
index 5e4da9a..6266d8e 100644
--- a/bin/templates/templates.xml
+++ b/bin/templates/templates.xml
@@ -154,6 +154,22 @@
</ul>
]]></description>
</template>
+ <template isTestPlan="true">
+ <name>Functional Testing Test Plan [01]</name>
+ <fileName>/bin/templates/functional-testing-01-test-plan.jmx</fileName>
+ <description><![CDATA[
+ <h1>Building a Functional Testing Test Plan [01]</h1>
+ <p>You can use JMeter to automate API Testing</p>
+ <p>This template of Test Plan contains first step when starting creating JMeter script</p>
+ <h2>Useful links</h2>
+ <ul>
+ <li><a href="https://jmeter.apache.org/usermanual/test_plan.html" >https://jmeter.apache.org/usermanual/test_plan.html</a></li>
+ <li><a href="https://jmeter.apache.org/usermanual/listeners.html" >https://jmeter.apache.org/usermanual/listeners.html</a></li>
+ <li><a href="https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree" >https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree</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>
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 4929ba7..ab7bc6d 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -115,6 +115,7 @@ to view the last release notes of version 5.2.1.
<h3>General</h3>
<ul>
+ <li><bug>63458</bug><pr>551</pr>Add new template "Functional Testing Test Plan [01]". Contributed by Sebastian Boga (sebastian.boga at endava.com)</li>
</ul>
<ch_section>Non-functional changes</ch_section>
@@ -180,6 +181,7 @@ to view the last release notes of version 5.2.1.
<li>Stefan Seide (stefan at trilobyte-se.de)</li>
<li>jmetertea</li>
<li>ray7219</li>
+ <li>Sebastian Boga (sebastian.boga at endava.com)</li>
</ul>
<p>We also thank bug reporters who helped us improve JMeter.</p>
<ul>