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 2017/02/27 12:18:41 UTC

svn commit: r1784543 - in /jmeter/trunk/bin/testfiles: SlowCharsFeature.csv SlowCharsFeature.jmx SlowCharsFeature.xml SlowCharsFeature_HttpClient4.csv SlowCharsFeature_HttpClient4.xml SlowCharsFeature_Java.csv SlowCharsFeature_Java.xml

Author: pmouawad
Date: Mon Feb 27 12:18:41 2017
New Revision: 1784543

URL: http://svn.apache.org/viewvc?rev=1784543&view=rev
Log:
Move results file to _HttpClient4 suffix
Create results file for Java implementation
Update test plan

Added:
    jmeter/trunk/bin/testfiles/SlowCharsFeature_HttpClient4.csv
      - copied unchanged from r1784461, jmeter/trunk/bin/testfiles/SlowCharsFeature.csv
    jmeter/trunk/bin/testfiles/SlowCharsFeature_HttpClient4.xml
      - copied unchanged from r1784461, jmeter/trunk/bin/testfiles/SlowCharsFeature.xml
    jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.csv
    jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml   (with props)
Removed:
    jmeter/trunk/bin/testfiles/SlowCharsFeature.csv
    jmeter/trunk/bin/testfiles/SlowCharsFeature.xml
Modified:
    jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx

Modified: jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx?rev=1784543&r1=1784542&r2=1784543&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx (original)
+++ jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx Mon Feb 27 12:18:41 2017
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2-SNAPSHOT.20170126">
+<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2-SNAPSHOT.20170227">
   <hashTree>
     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
       <stringProp name="TestPlan.comments"></stringProp>
@@ -77,25 +77,32 @@ SampleResult.setBytes(0);</stringProp>
         <stringProp name="ThreadGroup.delay"></stringProp>
       </ThreadGroup>
       <hashTree>
-        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ApacheJMeter-HP-NonSecure" 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.protocol"></stringProp>
-          <stringProp name="HTTPSampler.contentEncoding"></stringProp>
-          <stringProp name="HTTPSampler.path">/</stringProp>
-          <stringProp name="HTTPSampler.method">GET</stringProp>
-          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
-          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
-          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
-          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
-          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
-          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
-          <stringProp name="HTTPSampler.response_timeout"></stringProp>
-        </HTTPSamplerProxy>
-        <hashTree/>
+        <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If_not_java_impl" enabled="true">
+          <stringProp name="IfController.condition">${__jexl3(&quot;${__P(jmeter.httpsampler,)}&quot; != &quot;Java&quot;,)}</stringProp>
+          <boolProp name="IfController.evaluateAll">false</boolProp>
+          <boolProp name="IfController.useExpression">true</boolProp>
+        </IfController>
+        <hashTree>
+          <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ApacheJMeter-HP-NonSecure" 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.protocol"></stringProp>
+            <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+            <stringProp name="HTTPSampler.path">/</stringProp>
+            <stringProp name="HTTPSampler.method">GET</stringProp>
+            <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
+            <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+            <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+            <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+            <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+            <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+            <stringProp name="HTTPSampler.response_timeout"></stringProp>
+          </HTTPSamplerProxy>
+          <hashTree/>
+        </hashTree>
         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ApacheJMeter-HP-Secure" enabled="true">
           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
             <collectionProp name="Arguments.arguments"/>
@@ -183,7 +190,7 @@ SampleResult.setBytes(0);</stringProp>
             <assertionsResultsToSave>0</assertionsResultsToSave>
           </value>
         </objProp>
-        <stringProp name="filename">SlowCharsFeature.csv</stringProp>
+        <stringProp name="filename">SlowCharsFeature_${__property(jmeter.httpsampler,,HttpClient4)}.csv</stringProp>
       </ResultCollector>
       <hashTree/>
       <ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Simple Data Writer" enabled="true">
@@ -215,7 +222,7 @@ SampleResult.setBytes(0);</stringProp>
             <bytes>true</bytes>
           </value>
         </objProp>
-        <stringProp name="filename">SlowCharsFeature.xml</stringProp>
+        <stringProp name="filename">SlowCharsFeature_${__property(jmeter.httpsampler,,HttpClient4)}.xml</stringProp>
       </ResultCollector>
       <hashTree/>
     </hashTree>

Added: jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.csv?rev=1784543&view=auto
==============================================================================
--- jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.csv (added)
+++ jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.csv Mon Feb 27 12:18:41 2017
@@ -0,0 +1,3 @@
+label,responseCode,responseMessage,threadName,dataType,success
+JSR223 Sampler,200,OK,setUp Thread Group 1-1,text,true
+ApacheJMeter-HP-Secure,206,Partial Content,Thread Group 1-1,text,true

Added: jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml?rev=1784543&view=auto
==============================================================================
--- jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml (added)
+++ jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml Mon Feb 27 12:18:41 2017
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testResults version="1.2">
+<sample s="true" lb="JSR223 Sampler" rc="200" rm="OK" tn="setUp Thread Group 1-1" dt="text" by="0"/>
+<httpSample s="true" lb="ApacheJMeter-HP-Secure" rc="206" rm="Partial Content" tn="Thread Group 1-1" dt="text" by="7359">
+  <assertionResult>
+    <name>RA_206</name>
+    <failure>false</failure>
+    <error>false</error>
+  </assertionResult>
+  <assertionResult>
+    <name>RA</name>
+    <failure>false</failure>
+    <error>false</error>
+  </assertionResult>
+  <assertionResult>
+    <name>RA_PartialContent</name>
+    <failure>false</failure>
+    <error>false</error>
+  </assertionResult>
+  <assertionResult>
+    <name>JSA-CheckResponseTimeHigherThan5s</name>
+    <failure>false</failure>
+    <error>false</error>
+  </assertionResult>
+</httpSample>
+
+</testResults>

Propchange: jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jmeter/trunk/bin/testfiles/SlowCharsFeature_Java.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain