jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1829746 - in /jmeter/trunk/bin/testfiles: TestRedirectionPolicies.csv TestRedirectionPolicies.jmx TestRedirectionPolicies.xml
Date Sat, 21 Apr 2018 20:35:54 GMT
Author: pmouawad
Date: Sat Apr 21 20:35:54 2018
New Revision: 1829746

URL: http://svn.apache.org/viewvc?rev=1829746&view=rev
Log:
Change order of elements to show bug

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

Modified: jmeter/trunk/bin/testfiles/TestRedirectionPolicies.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestRedirectionPolicies.csv?rev=1829746&r1=1829745&r2=1829746&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TestRedirectionPolicies.csv (original)
+++ jmeter/trunk/bin/testfiles/TestRedirectionPolicies.csv Sat Apr 21 20:35:54 2018
@@ -1,6 +1,6 @@
-HR_FollowRedirect,200,OK,TG1 1-1,text,true
-HR_NoAutoRedirect,302,FOUND,TG1 1-1,text,true
 HR_AutoRedirect,200,OK,TG1 1-1,text,true
+HR_NoAutoRedirect,302,FOUND,TG1 1-1,text,true
+HR_FollowRedirect,200,OK,TG1 1-1,text,true
 HR_NoAutoRedirect,302,FOUND,TG2 2-1,text,true
 HR_FollowRedirect,200,OK,TG2 2-1,text,true
 HR_AutoRedirect,200,OK,TG2 2-1,text,true

Modified: jmeter/trunk/bin/testfiles/TestRedirectionPolicies.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestRedirectionPolicies.jmx?rev=1829746&r1=1829745&r2=1829746&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TestRedirectionPolicies.jmx (original)
+++ jmeter/trunk/bin/testfiles/TestRedirectionPolicies.jmx Sat Apr 21 20:35:54 2018
@@ -39,7 +39,7 @@
         <stringProp name="ThreadGroup.delay"></stringProp>
       </ThreadGroup>
       <hashTree>
-        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR_FollowRedirect"
enabled="true">
+        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR_AutoRedirect"
enabled="true">
           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables" enabled="true">
             <collectionProp name="Arguments.arguments"/>
           </elementProp>
@@ -49,8 +49,8 @@
           <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.follow_redirects">false</boolProp>
+          <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
@@ -78,11 +78,11 @@
             <intProp name="Assertion.test_type">16</intProp>
           </ResponseAssertion>
           <hashTree/>
-          <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSA_2SR"
enabled="true">
+          <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSA_0SR"
enabled="true">
             <stringProp name="cacheKey">true</stringProp>
             <stringProp name="filename"></stringProp>
             <stringProp name="parameters"></stringProp>
-            <stringProp name="script">assert prev.getSubResults().length==2</stringProp>
+            <stringProp name="script">assert prev.getSubResults().length==0</stringProp>
             <stringProp name="scriptLanguage">groovy</stringProp>
           </JSR223Assertion>
           <hashTree/>
@@ -125,7 +125,7 @@
           </JSR223Assertion>
           <hashTree/>
         </hashTree>
-        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR_AutoRedirect"
enabled="true">
+        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR_FollowRedirect"
enabled="true">
           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables" enabled="true">
             <collectionProp name="Arguments.arguments"/>
           </elementProp>
@@ -135,8 +135,8 @@
           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
           <stringProp name="HTTPSampler.path"></stringProp>
           <stringProp name="HTTPSampler.method">GET</stringProp>
-          <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
-          <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
+          <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>
@@ -164,11 +164,11 @@
             <intProp name="Assertion.test_type">16</intProp>
           </ResponseAssertion>
           <hashTree/>
-          <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSA_0SR"
enabled="true">
+          <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSA_2SR"
enabled="true">
             <stringProp name="cacheKey">true</stringProp>
             <stringProp name="filename"></stringProp>
             <stringProp name="parameters"></stringProp>
-            <stringProp name="script">assert prev.getSubResults().length==0</stringProp>
+            <stringProp name="script">assert prev.getSubResults().length==2</stringProp>
             <stringProp name="scriptLanguage">groovy</stringProp>
           </JSR223Assertion>
           <hashTree/>

Modified: jmeter/trunk/bin/testfiles/TestRedirectionPolicies.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TestRedirectionPolicies.xml?rev=1829746&r1=1829745&r2=1829746&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TestRedirectionPolicies.xml (original)
+++ jmeter/trunk/bin/testfiles/TestRedirectionPolicies.xml Sat Apr 21 20:35:54 2018
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <testResults version="1.2">
-<httpSample s="true" lb="HR_FollowRedirect" rc="200" rm="OK" dt="text">
+<httpSample s="true" lb="HR_AutoRedirect" rc="200" rm="OK" dt="text">
   <assertionResult>
     <name>RA_Redirected</name>
     <failure>false</failure>
@@ -12,12 +12,10 @@
     <error>false</error>
   </assertionResult>
   <assertionResult>
-    <name>JSA_2SR</name>
+    <name>JSA_0SR</name>
     <failure>false</failure>
     <error>false</error>
   </assertionResult>
-  <httpSample s="true" lb="http://httpbin.org/redirect/1" rc="302" rm="FOUND" dt="text"/>
-  <httpSample s="true" lb="http://httpbin.org/get" rc="200" rm="OK" dt="text"/>
 </httpSample>
 <httpSample s="true" lb="HR_NoAutoRedirect" rc="302" rm="FOUND" dt="text">
   <assertionResult>
@@ -31,7 +29,7 @@
     <error>false</error>
   </assertionResult>
 </httpSample>
-<httpSample s="true" lb="HR_AutoRedirect" rc="200" rm="OK" dt="text">
+<httpSample s="true" lb="HR_FollowRedirect" rc="200" rm="OK" dt="text">
   <assertionResult>
     <name>RA_Redirected</name>
     <failure>false</failure>
@@ -43,10 +41,12 @@
     <error>false</error>
   </assertionResult>
   <assertionResult>
-    <name>JSA_0SR</name>
+    <name>JSA_2SR</name>
     <failure>false</failure>
     <error>false</error>
   </assertionResult>
+  <httpSample s="true" lb="http://httpbin.org/redirect/1" rc="302" rm="FOUND" dt="text"/>
+  <httpSample s="true" lb="http://httpbin.org/get" rc="200" rm="OK" dt="text"/>
 </httpSample>
 <httpSample s="true" lb="HR_NoAutoRedirect" rc="302" rm="FOUND" dt="text">
   <assertionResult>



Mime
View raw message