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 948e176  Convert test cases that use jmeter.apache.org to https
948e176 is described below

commit 948e1768b3fc2338500f530e973715d1136c72d9
Author: Felix Schumacher <felix.schumac...@internetallee.de>
AuthorDate: Sat Feb 22 15:06:10 2020 +0100

    Convert test cases that use jmeter.apache.org to https
    
    The website for JMeter now redirects to https, which happens to
    break some test cases, that are using http and jmeter.apache.org.
    
    We really should look into using wiremock for those cases instead of
    relying on external resources that can break our builds.
---
 bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx | 6 +++---
 bin/testfiles/SlowCharsFeature.jmx             | 2 +-
 bin/testfiles/TestKeepAlive.jmx                | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx 
b/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
index 695e76a..970baf5 100644
--- a/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
+++ b/bin/testfiles/Http4ImplPreemptiveBasicAuth.jmx
@@ -23,7 +23,7 @@
         </elementProp>
         <stringProp name="HTTPSampler.domain">jmeter.apache.org</stringProp>
         <stringProp name="HTTPSampler.port"></stringProp>
-        <stringProp name="HTTPSampler.protocol"></stringProp>
+        <stringProp name="HTTPSampler.protocol">https</stringProp>
         <stringProp name="HTTPSampler.contentEncoding"></stringProp>
         <stringProp name="HTTPSampler.path">/</stringProp>
         <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
@@ -174,7 +174,7 @@
           </elementProp>
           <stringProp name="HTTPSampler.domain"></stringProp>
           <stringProp name="HTTPSampler.port"></stringProp>
-          <stringProp name="HTTPSampler.protocol">http</stringProp>
+          <stringProp name="HTTPSampler.protocol">https</stringProp>
           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
           <stringProp name="HTTPSampler.path">/</stringProp>
           <stringProp name="HTTPSampler.method">GET</stringProp>
@@ -253,7 +253,7 @@
         <AuthManager guiclass="AuthPanel" testclass="AuthManager" 
testname="HTTP Authorization Manager" enabled="true">
           <collectionProp name="AuthManager.auth_list">
             <elementProp name="" elementType="Authorization">
-              <stringProp 
name="Authorization.url">http://jmeter.apache.org/</stringProp>
+              <stringProp 
name="Authorization.url">https://jmeter.apache.org/</stringProp>
               <stringProp name="Authorization.username">${login}</stringProp>
               <stringProp 
name="Authorization.password">${password}</stringProp>
               <stringProp name="Authorization.domain"></stringProp>
diff --git a/bin/testfiles/SlowCharsFeature.jmx 
b/bin/testfiles/SlowCharsFeature.jmx
index 537c0cb..17a8e2e 100644
--- a/bin/testfiles/SlowCharsFeature.jmx
+++ b/bin/testfiles/SlowCharsFeature.jmx
@@ -109,7 +109,7 @@ SampleResult.setBytes(0);</stringProp>
             </elementProp>
             <stringProp 
name="HTTPSampler.domain">jmeter.apache.org</stringProp>
             <stringProp name="HTTPSampler.port"></stringProp>
-            <stringProp name="HTTPSampler.protocol"></stringProp>
+            <stringProp name="HTTPSampler.protocol">https</stringProp>
             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
             <stringProp name="HTTPSampler.path"></stringProp>
             <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
diff --git a/bin/testfiles/TestKeepAlive.jmx b/bin/testfiles/TestKeepAlive.jmx
index 46ef5d3..a6c580f 100644
--- a/bin/testfiles/TestKeepAlive.jmx
+++ b/bin/testfiles/TestKeepAlive.jmx
@@ -28,7 +28,7 @@
         </elementProp>
         <stringProp name="HTTPSampler.domain">jmeter.apache.org</stringProp>
         <stringProp name="HTTPSampler.port"></stringProp>
-        <stringProp name="HTTPSampler.protocol"></stringProp>
+        <stringProp name="HTTPSampler.protocol">https</stringProp>
         <stringProp name="HTTPSampler.contentEncoding"></stringProp>
         <stringProp name="HTTPSampler.path"></stringProp>
         <stringProp name="TestPlan.comments">jmeter.apache.org</stringProp>

Reply via email to