jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: svn commit: r1739988 - /jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx
Date Wed, 20 Apr 2016 17:23:49 GMT


Am 19. April 2016 21:51:12 MESZ, schrieb pmouawad@apache.org:
>Author: pmouawad
>Date: Tue Apr 19 19:51:12 2016
>New Revision: 1739988
>
>URL: http://svn.apache.org/viewvc?rev=1739988&view=rev
>Log:
>Use correct Cookie policy
>Remove disabled component
>Remove jmeter website urls
>Add Http Request Defaults
>
>Modified:
>    jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx
>
>Modified: jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx
>URL:
>http://svn.apache.org/viewvc/jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx?rev=1739988&r1=1739987&r2=1739988&view=diff
>==============================================================================
>--- jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx (original)
>+++ jmeter/trunk/bin/templates/build-adv-web-test-plan.jmx Tue Apr 19
>19:51:12 2016
>@@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="UTF-8"?>
>-<jmeterTestPlan version="1.2" properties="2.5" jmeter="2.10-SNAPSHOT
>r1502920">
>+<jmeterTestPlan version="1.2" properties="2.9"
>jmeter="3.0-SNAPSHOT.20160419">
>   <hashTree>
><TestPlan guiclass="TestPlanGui" testclass="TestPlan"
>testname="build-adv-web-test-plan" enabled="true">
>       <stringProp name="TestPlan.comments"></stringProp>
>@@ -11,6 +11,20 @@
>       <stringProp name="TestPlan.user_define_classpath"></stringProp>
>     </TestPlan>
>     <hashTree>
>+      <ConfigTestElement guiclass="HttpDefaultsGui"
>testclass="ConfigTestElement" testname="HTTP Request Defaults"
>enabled="true">
>+        <elementProp name="HTTPsampler.Arguments"
>elementType="Arguments" guiclass="HTTPArgumentsPanel"
>testclass="Arguments" testname="User Defined Variables" enabled="true">
>+          <collectionProp name="Arguments.arguments"/>
>+        </elementProp>
>+        <stringProp name="HTTPSampler.domain"></stringProp>
>+        <stringProp name="HTTPSampler.port"></stringProp>
>+        <stringProp name="HTTPSampler.connect_timeout"></stringProp>
>+        <stringProp name="HTTPSampler.response_timeout"></stringProp>
>+        <stringProp name="HTTPSampler.protocol"></stringProp>
>+        <stringProp name="HTTPSampler.contentEncoding"></stringProp>
>+        <stringProp name="HTTPSampler.path"></stringProp>
>+        <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
>+      </ConfigTestElement>
>+      <hashTree/>
><Arguments guiclass="ArgumentsPanel" testclass="Arguments"
>testname="User Defined Variables" enabled="true">
>         <collectionProp name="Arguments.arguments">
>           <elementProp name="resources_folder" elementType="Argument">
>@@ -21,12 +35,12 @@
>           </elementProp>
>           <elementProp name="host" elementType="Argument">
>             <stringProp name="Argument.name">host</stringProp>
>-            <stringProp
>name="Argument.value">jmeter.apache.org</stringProp>
>+            <stringProp name="Argument.value">foo.org</stringProp>

foo.org is a valid dns name and therefore should probably not used here. The namespaces example.org
and example.com are reserved for documentation and could be used here (in my opinion).

Regards, 
Felix 

>             <stringProp name="Argument.metadata">=</stringProp>
>           </elementProp>
>           <elementProp name="bugzilla_host" elementType="Argument">
>            <stringProp name="Argument.name">bugzilla_host</stringProp>
>-            <stringProp
>name="Argument.value">bz.apache.org</stringProp>
>+            <stringProp name="Argument.value">bz.foo.org</stringProp>
>             <stringProp name="Argument.metadata">=</stringProp>
>           </elementProp>
>         </collectionProp>
>@@ -35,6 +49,7 @@
><CookieManager guiclass="CookiePanel" testclass="CookieManager"
>testname="HTTP Cookie Manager" enabled="true">
>         <collectionProp name="CookieManager.cookies"/>
>      <boolProp name="CookieManager.clearEachIteration">true</boolProp>
>+        <stringProp name="CookieManager.policy">standard</stringProp>
><stringProp
>name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC4CookieHandler</stringProp>
>       </CookieManager>
>       <hashTree/>
>@@ -70,7 +85,7 @@
> <stringProp name="filename">${resources_folder}/login.csv</stringProp>
>         <boolProp name="quotedData">false</boolProp>
>         <boolProp name="recycle">true</boolProp>
>-        <stringProp name="shareMode">All threads</stringProp>
>+        <stringProp name="shareMode">shareMode.all</stringProp>
>         <boolProp name="stopThread">false</boolProp>
>         <stringProp name="variableNames">login,password</stringProp>
>       </CSVDataSet>
>@@ -329,41 +344,6 @@
>             <assertionsResultsToSave>0</assertionsResultsToSave>
>             <bytes>true</bytes>
>             <hostname>true</hostname>
>-            <threadCounts>true</threadCounts>
>-            <sampleCount>true</sampleCount>
>-          </value>
>-        </objProp>
>-        <stringProp name="filename"></stringProp>
>-      </ResultCollector>
>-      <hashTree/>
>-      <ResultCollector guiclass="GraphVisualizer"
>testclass="ResultCollector" testname="Graph Results" enabled="false">
>-        <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>
>             <sampleCount>true</sampleCount>
>           </value>


Mime
View raw message