Updated endpoints in xacml-pdp jmx files 70/125270/1
authorktimoney <kevin.timoney@est.tech>
Fri, 22 Oct 2021 09:14:35 +0000 (10:14 +0100)
committerktimoney <kevin.timoney@est.tech>
Fri, 22 Oct 2021 09:23:08 +0000 (10:23 +0100)
Issue-ID: POLICY-3780
Change-Id: I296f9e6e2e8e127e73e3ad118ddc0f7520434fac
Signed-off-by: ktimoney <kevin.timoney@est.tech>
testsuites/performance/src/main/resources/testplans/perf.jmx
testsuites/stability/src/main/resources/testplans/stability.jmx

index 9c3a294..b02dc14 100644 (file)
@@ -94,7 +94,7 @@
         &quot;policies&quot;: [&#xd;
             {&#xd;
                 &quot;onap.restart.tca&quot;: {&#xd;
-                    &quot;type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;,&#xd;
+                    &quot;type&quot;: &quot;onap.policies.monitoring.tcagen2&quot;,&#xd;
                     &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
                     &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
                     &quot;metadata&quot;: {&#xd;
           <stringProp name="HTTPSampler.response_timeout"></stringProp>
           <stringProp name="HTTPSampler.protocol">https</stringProp>
           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
-          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
+          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp>
           <stringProp name="HTTPSampler.method">POST</stringProp>
           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
           <hashTree/>
           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
             <collectionProp name="Asserion.test_strings">
-              <stringProp name="49586">200</stringProp>
+              <stringProp name="49586">202</stringProp>
             </collectionProp>
             <stringProp name="Assertion.custom_message"></stringProp>
             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
           <hashTree/>
           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
             <collectionProp name="Asserion.test_strings">
-              <stringProp name="49586">200</stringProp>
+              <stringProp name="49586">202</stringProp>
             </collectionProp>
             <stringProp name="Assertion.custom_message"></stringProp>
             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
           <hashTree/>
           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
             <collectionProp name="Asserion.test_strings">
-              <stringProp name="49586">200</stringProp>
+              <stringProp name="49586">202</stringProp>
             </collectionProp>
             <stringProp name="Assertion.custom_message"></stringProp>
             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
           <hashTree/>
           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
             <collectionProp name="Asserion.test_strings">
-              <stringProp name="49586">200</stringProp>
+              <stringProp name="49586">202</stringProp>
             </collectionProp>
             <stringProp name="Assertion.custom_message"></stringProp>
             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
@@ -1447,7 +1447,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
   &quot;action&quot;: &quot;configure&quot;,&#xd;
   &quot;resource&quot;: {&#xd;
       &quot;policy-id&quot;: &quot;onap.restart.tca&quot;,&#xd;
-      &quot;policy-type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;&#xd;
+      &quot;policy-type&quot;: &quot;onap.policies.monitoring.tcagen2&quot;&#xd;
   }&#xd;
 }</stringProp>
                 <stringProp name="Argument.metadata">=</stringProp>
@@ -1516,7 +1516,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
   &quot;action&quot;: &quot;configure&quot;,&#xd;
   &quot;resource&quot;: {&#xd;
       &quot;policy-id&quot;: &quot;onap.restart.tca&quot;,&#xd;
-      &quot;policy-type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;&#xd;
+      &quot;policy-type&quot;: &quot;onap.policies.monitoring.tcagen2&quot;&#xd;
   }&#xd;
 }</stringProp>
                 <stringProp name="Argument.metadata">=</stringProp>
@@ -2131,7 +2131,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
           <stringProp name="HTTPSampler.response_timeout"></stringProp>
           <stringProp name="HTTPSampler.protocol">https</stringProp>
           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
-          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp>
+          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp>
           <stringProp name="HTTPSampler.method">DELETE</stringProp>
           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
index d59ebaf..069f3ec 100644 (file)
@@ -35,7 +35,7 @@
           </elementProp>
           <elementProp name="API_PORT" elementType="Argument">
             <stringProp name="Argument.name">API_PORT</stringProp>
-            <stringProp name="Argument.value">31949</stringProp>
+            <stringProp name="Argument.value">${__P(api_port, 6969)}</stringProp>
             <stringProp name="Argument.metadata">=</stringProp>
           </elementProp>
           <elementProp name="PAP_PORT" elementType="Argument">
@@ -1437,7 +1437,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
   &quot;action&quot;: &quot;configure&quot;,&#xd;
   &quot;resource&quot;: {&#xd;
       &quot;policy-id&quot;: &quot;onap.restart.tca&quot;,&#xd;
-      &quot;policy-type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;&#xd;
+      &quot;policy-type&quot;: &quot;onap.policies.monitoring.tcagen2&quot;&#xd;
   }&#xd;
 }</stringProp>
                 <stringProp name="Argument.metadata">=</stringProp>
@@ -1505,7 +1505,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
   &quot;action&quot;: &quot;configure&quot;,&#xd;
   &quot;resource&quot;: {&#xd;
       &quot;policy-id&quot;: &quot;onap.restart.tca&quot;,&#xd;
-      &quot;policy-type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;&#xd;
+      &quot;policy-type&quot;: &quot;onap.policies.monitoring.tcagen2&quot;&#xd;
   }&#xd;
 }</stringProp>
                 <stringProp name="Argument.metadata">=</stringProp>
@@ -2108,7 +2108,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
           <stringProp name="HTTPSampler.protocol">https</stringProp>
           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
-          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp>
+          <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp>
           <stringProp name="HTTPSampler.method">DELETE</stringProp>
           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>