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/01/28 19:58:06 UTC

svn commit: r1780739 - in /jmeter/trunk/bin/testfiles: Http4ImplPreemptiveBasicAuth.csv Http4ImplPreemptiveBasicAuth.jmx Http4ImplPreemptiveBasicAuth.xml

Author: pmouawad
Date: Sat Jan 28 19:58:05 2017
New Revision: 1780739

URL: http://svn.apache.org/viewvc?rev=1780739&view=rev
Log:
Bug 57242 - HTTP Authorization is not pre-emptively set with HttpClient4
Fix test failuredue to mistakingly using 2 threads 
Bugzilla Id: 57242

Modified:
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
    jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml

Modified: jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv?rev=1780739&r1=1780738&r2=1780739&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv (original)
+++ jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.csv Sat Jan 28 19:58:05 2017
@@ -4,12 +4,8 @@ HTTP-Request-WithNoMatchingAuth,200,OK,T
 HTTPS-Request-WithNoMatchingAuth,200,OK,Thread Group 2-1,text,true
 HTTPS-Request-WithNoMatchingAuth,200,OK,Thread Group 2-1,text,true
 HTTP-Request-NoAuthManager,200,OK,Thread Group 3-1,text,true
-HTTP-Request-NoAuthManager,200,OK,Thread Group 3-2,text,true
 HTTP-Request-NoAuthManager,200,OK,Thread Group 3-1,text,true
-HTTP-Request-NoAuthManager,200,OK,Thread Group 3-2,text,true
 HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-1,text,true
-HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-2,text,true
-HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-2,text,true
 HTTPS-Request-NoAuthManager,200,OK,Thread Group 4-1,text,true
 HTTP-Request-WithMatchingBasicAuth,200,OK,Thread Group 5-1,text,true
 HTTP-Request-WithMatchingBasicAuth,200,OK,Thread Group 5-1,text,true

Modified: jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx?rev=1780739&r1=1780738&r2=1780739&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx (original)
+++ jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx Sat Jan 28 19:58:05 2017
@@ -159,7 +159,7 @@
           <boolProp name="LoopController.continue_forever">false</boolProp>
           <stringProp name="LoopController.loops">2</stringProp>
         </elementProp>
-        <stringProp name="ThreadGroup.num_threads">2</stringProp>
+        <stringProp name="ThreadGroup.num_threads">1</stringProp>
         <stringProp name="ThreadGroup.ramp_time">0</stringProp>
         <longProp name="ThreadGroup.start_time">1485612143000</longProp>
         <longProp name="ThreadGroup.end_time">1485612143000</longProp>
@@ -194,7 +194,7 @@
           <boolProp name="LoopController.continue_forever">false</boolProp>
           <stringProp name="LoopController.loops">2</stringProp>
         </elementProp>
-        <stringProp name="ThreadGroup.num_threads">2</stringProp>
+        <stringProp name="ThreadGroup.num_threads">1</stringProp>
         <stringProp name="ThreadGroup.ramp_time">0</stringProp>
         <longProp name="ThreadGroup.start_time">1485612143000</longProp>
         <longProp name="ThreadGroup.end_time">1485612143000</longProp>

Modified: jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml?rev=1780739&r1=1780738&r2=1780739&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml (original)
+++ jmeter/trunk/bin/testfiles/Http4ImplPreemptiveBasicAuth.xml Sat Jan 28 19:58:05 2017
@@ -35,13 +35,6 @@
     <error>false</error>
   </assertionResult>
 </httpSample>
-<httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-2" dt="text" by="12014">
-  <assertionResult>
-    <name>JSA_CheckAuthorization</name>
-    <failure>false</failure>
-    <error>false</error>
-  </assertionResult>
-</httpSample>
 <httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-1" dt="text" by="12013">
   <assertionResult>
     <name>JSA_CheckAuthorization</name>
@@ -49,31 +42,10 @@
     <error>false</error>
   </assertionResult>
 </httpSample>
-<httpSample s="true" lb="HTTP-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 3-2" dt="text" by="12013">
-  <assertionResult>
-    <name>JSA_CheckAuthorization</name>
-    <failure>false</failure>
-    <error>false</error>
-  </assertionResult>
-</httpSample>
 <httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-1" dt="text" by="12014">
   <assertionResult>
     <name>JSA_CheckAuthorization</name>
     <failure>false</failure>
-    <error>false</error>
-  </assertionResult>
-</httpSample>
-<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-2" dt="text" by="12014">
-  <assertionResult>
-    <name>JSA_CheckAuthorization</name>
-    <failure>false</failure>
-    <error>false</error>
-  </assertionResult>
-</httpSample>
-<httpSample s="true" lb="HTTPS-Request-NoAuthManager" rc="200" rm="OK" tn="Thread Group 4-2" dt="text" by="12013">
-  <assertionResult>
-    <name>JSA_CheckAuthorization</name>
-    <failure>false</failure>
     <error>false</error>
   </assertionResult>
 </httpSample>