You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <ph...@gmail.com> on 2013/08/03 00:41:16 UTC

Re: svn commit: r1509898 - in /jmeter/trunk/bin/templates: build-ftp-test-plan.jmx build-ldap-ext-test-plan.jmx build-ldap-test-plan.jmx build-web-test-plan.jmx templates.xml

GREAT !
Thanks

On Saturday, August 3, 2013, wrote:

> Author: milamber
> Date: Fri Aug  2 22:37:41 2013
> New Revision: 1509898
>
> URL: http://svn.apache.org/r1509898
> Log:
> Add some templates from user's manual
>
> Added:
>     jmeter/trunk/bin/templates/build-ftp-test-plan.jmx   (with props)
>     jmeter/trunk/bin/templates/build-ldap-ext-test-plan.jmx   (with props)
>     jmeter/trunk/bin/templates/build-ldap-test-plan.jmx   (with props)
>     jmeter/trunk/bin/templates/build-web-test-plan.jmx   (with props)
> Modified:
>     jmeter/trunk/bin/templates/templates.xml
>
> Added: jmeter/trunk/bin/templates/build-ftp-test-plan.jmx
> URL:
> http://svn.apache.org/viewvc/jmeter/trunk/bin/templates/build-ftp-test-plan.jmx?rev=1509898&view=auto
>
> ==============================================================================
> --- jmeter/trunk/bin/templates/build-ftp-test-plan.jmx (added)
> +++ jmeter/trunk/bin/templates/build-ftp-test-plan.jmx Fri Aug  2 22:37:41
> 2013
> @@ -0,0 +1,103 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<jmeterTestPlan version="1.2" properties="2.5" jmeter="2.10-SNAPSHOT
> r1509858">
> +  <hashTree>
> +    <TestPlan guiclass="TestPlanGui" testclass="TestPlan"
> testname="build-ftp-test-plan" enabled="true">
> +      <stringProp name="TestPlan.comments"></stringProp>
> +      <boolProp name="TestPlan.functional_mode">false</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="FTP Users" 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">2</stringProp>
> +        </elementProp>
> +        <stringProp name="ThreadGroup.num_threads">4</stringProp>
> +        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
> +        <longProp name="ThreadGroup.start_time">1373791853000</longProp>
> +        <longProp name="ThreadGroup.end_time">1373791853000</longProp>
> +        <boolProp name="ThreadGroup.scheduler">false</boolProp>
> +        <stringProp name="ThreadGroup.duration"></stringProp>
> +        <stringProp name="ThreadGroup.delay"></stringProp>
> +      </ThreadGroup>
> +      <hashTree>
> +        <ConfigTestElement guiclass="FtpConfigGui"
> testclass="ConfigTestElement" testname="FTP Request Defaults"
> enabled="true">
> +          <stringProp name="FTPSampler.server">ftp.domain.com
> </stringProp>
> +          <stringProp name="FTPSampler.port"></stringProp>
> +          <stringProp name="FTPSampler.filename"></stringProp>
> +          <stringProp name="FTPSampler.localfilename"></stringProp>
> +          <stringProp name="FTPSampler.inputdata"></stringProp>
> +          <boolProp name="FTPSampler.binarymode">false</boolProp>
> +          <boolProp name="FTPSampler.saveresponse">false</boolProp>
> +          <boolProp name="FTPSampler.upload">false</boolProp>
> +        </ConfigTestElement>
> +        <hashTree/>
> +        <FTPSampler guiclass="FtpTestSamplerGui" testclass="FTPSampler"
> testname="File1" enabled="true">
> +          <stringProp name="FTPSampler.server"></stringProp>
> +          <stringProp name="FTPSampler.port"></stringProp>
> +          <stringProp
> name="FTPSampler.filename">/directory/file1.txt</stringProp>
> +          <stringProp name="FTPSampler.localfilename"></stringProp>
> +          <stringProp name="FTPSampler.inputdata"></stringProp>
> +          <boolProp name="FTPSampler.binarymode">false</boolProp>
> +          <boolProp name="FTPSampler.saveresponse">false</boolProp>
> +          <boolProp name="FTPSampler.upload">false</boolProp>
> +          <stringProp
> name="ConfigTestElement.username">anonymous</stringProp>
> +          <stringProp name="ConfigTestElement.password">
> anonymous@test.com</stringProp>
> +        </FTPSampler>
> +        <hashTree/>
> +        <FTPSampler guiclass="FtpTestSamplerGui" testclass="FTPSampler"
> testname="File2" enabled="true">
> +          <stringProp name="FTPSampler.server"></stringProp>
> +          <stringProp name="FTPSampler.port"></stringProp>
> +          <stringProp
> name="FTPSampler.filename">/directory/file2.txt</stringProp>
> +          <stringProp name="FTPSampler.localfilename"></stringProp>
> +          <stringProp name="FTPSampler.inputdata"></stringProp>
> +          <boolProp name="FTPSampler.binarymode">false</boolProp>
> +          <boolProp name="FTPSampler.saveresponse">false</boolProp>
> +          <boolProp name="FTPSampler.upload">false</boolProp>
> +          <stringProp
> name="ConfigTestElement.username">anonymous</stringProp>
> +          <stringProp name="ConfigTestElement.password">
> anonymous@test.com</stringProp>
> +        </FTPSampler>
> +        <hashTree/>
> +        <ResultCollector guiclass="TableVisualizer"
> testclass="ResultCollector" testname="View Results in Table" 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>false</xml>
> +              <fieldNames>false</fieldNames>
> +              <responseHeaders>false</responseHeaders>
> +              <requestHeaders>false</requestHeaders>
> +              <responseDataOnError>false</responseDataOnError>
> +
>  <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
> +              <assertionsResultsToSave>0</assertionsResultsToSave>
> +              <bytes>true</bytes>
> +              <hostname>true</hostname>
> +              <threadCounts>true</threadCounts>
> +            </value>
> +          </objProp>
> +          <stringProp name="filename"></stringProp>
> +        </ResultCollector>
> +        <hashTree/>
> +      </hashTree>
> +    </hashTree>
> +  </hashTree>
> +</jmeterTestPlan>
>
> Propchange: jmeter/trunk/bin/templates/build-ftp-test-plan.jmx
>
> ------------------------------------------------------------------------------
>     svn:eol-style = LF
>
> Added: jmeter/trunk/bin/templates/build-ldap-ext-test-plan.jmx
> URL:
> http://svn.apache.org/viewvc/jmeter/trunk/bin/templates/build-ldap-ext-test-plan.jmx?rev=1509898&view=auto
>
> ==============================================================================
> --- jmeter/trunk/bin/templates/build-ldap-ext-test-plan.jmx (added)
> +++ jmeter/trunk/bin/templates/build-ldap-ext-test-plan.jmx Fri Aug  2
> 22:37:41 2013
> @@ -0,0 +1,373 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<jmeterTestPlan version="1.2" properties="2.5" jmeter="2.10-SNAPSHOT">
> +  <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.serialize_threadgroups">false</boolProp>
> +      <elementProp name="TestPlan.user_defined_variables"
> elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments"
> testname="Variables pré-définies" enabled="true">
> +        <collectionProp name="Arguments.arguments"/>
> +      </elementProp>
> +      <stringProp name="TestPlan.user_define_classpath"></stringProp>
> +    </TestPlan>
> +    <hashTree>
> +      <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup"
> testname="LDAP Ext Users" 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>
> +        <longProp name="ThreadGroup.start_time">1375035819000</longProp>
> +        <longProp name="ThreadGroup.end_time">1375035819000</longProp>
> +        <boolProp name="ThreadGroup.scheduler">false</boolProp>
> +        <stringProp name="ThreadGroup.duration"></stringProp>
> +        <stringProp name="ThreadGroup.delay"></stringProp>
> +      </ThreadGroup>
> +      <hashTree>
> +        <ConfigTestElement guiclass="LdapExtConfigGui"
> testclass="ConfigTestElement" testname="LDAP Extended Request Defaults"
> enabled="true">
> +          <stringProp name="servername"></stringProp>
> +          <stringProp name="port"></stringProp>
> +          <stringProp name="rootdn"></stringProp>
> +          <stringProp name="scope">2</stringProp>
> +          <stringProp name="countlimit"></stringProp>
> +          <stringProp name="timelimit"></stringProp>
> +          <stringProp name="attributes"></stringProp>
> +          <stringProp name="return_object">false</stringProp>
> +          <stringProp name="deref_aliases">false</stringProp>
> +          <stringProp name="connection_timeout"></stringProp>
> +          <stringProp name="parseflag">false</stringProp>
> +          <stringProp name="secure">false</stringProp>
> +          <stringProp name="user_dn"></stringProp>
> +          <stringProp name="user_pw"></stringProp>
> +          <stringProp name="comparedn"></stringProp>
> +          <stringProp name="comparefilt"></stringProp>
> +          <stringProp name="modddn"></stringProp>
> +          <stringProp name="newdn"></stringProp>
> +          <stringProp name="test">unbind</stringProp>
> +        </ConfigTestElement>
> +        <hashTree/>
> +        <LoopController guiclass="LoopControlPanel"
> testclass="LoopController" testname="Loop Controller" enabled="true">
> +          <boolProp name="LoopController.continue_forever">true</boolProp>
> +          <stringProp name="LoopController.loops">1</stringProp>
> +        </LoopController>
> +        <hashTree>
> +          <LDAPExtSampler guiclass="LdapExtTestSamplerGui"
> testclass="LDAPExtSampler" testname="1. Thread bind" enabled="true">
> +            <stringProp name="servername">ldap.test.com</stringProp>
> +



-- 
Cordialement.
Philippe Mouawad.