From 54beb22fd5a59c5385d49398d749d5229628dbab Mon Sep 17 00:00:00 2001 From: jhh Date: Fri, 23 Oct 2020 11:53:43 -0500 Subject: tweaks on jmeter stability script for guilin Issue-ID: POLICY-2833 Signed-off-by: jhh Change-Id: Ic3d3f026c3af25a12193f18218ba3cde3ca665aa Signed-off-by: jhh --- .../src/main/resources/testplans/stability.jmx | 138 +++++++++------------ 1 file changed, 56 insertions(+), 82 deletions(-) diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index ed03b1f4..10575601 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,5 +1,5 @@ - + Policy XACML PDP Stability Tests @@ -35,7 +35,7 @@ API_PORT - ${__P(api_port, 6969)} + 31949 = @@ -94,7 +94,7 @@ "policies": [ { "onap.restart.tca": { - "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", + "type": "onap.policies.monitoring.tcagen2", "type_version": "1.0.0", "version": "1.0.0", "metadata": { @@ -145,18 +145,17 @@ ${API_HOST} ${API_PORT} - - https - policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies + policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies POST true false true false - false + + @@ -742,8 +741,6 @@ ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies @@ -752,8 +749,9 @@ false true false - false + + @@ -818,8 +816,6 @@ ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies @@ -828,8 +824,9 @@ false true false - false + + @@ -894,8 +891,6 @@ ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies @@ -904,8 +899,9 @@ false true false - false + + @@ -946,8 +942,6 @@ ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies @@ -956,8 +950,9 @@ false true false - false + + @@ -998,8 +993,6 @@ ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies @@ -1008,8 +1001,9 @@ false true false - false + + @@ -1050,8 +1044,6 @@ ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies @@ -1060,8 +1052,9 @@ false true false - false + + @@ -1102,8 +1095,6 @@ ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies @@ -1112,8 +1103,9 @@ false true false - false + + @@ -1175,7 +1167,7 @@ true - /tmp/pdpx_stability_setup.log + @@ -1201,8 +1193,6 @@ ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/healthcheck @@ -1211,8 +1201,9 @@ false true false - false + + Basic Health Check @@ -1305,7 +1296,7 @@ if (prev.getResponseCode() == '200') { false -1 - ${USERS} + 1 10 true ${DURATION} @@ -1321,8 +1312,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/statistics @@ -1331,8 +1320,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Basic Health Check @@ -1456,8 +1446,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1466,8 +1454,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Configuration Data for Monitoring Policy @@ -1525,8 +1514,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision?abbrev=true @@ -1535,8 +1522,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Configuration Data for Monitoring Policy @@ -1597,8 +1585,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1607,8 +1593,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Configuration Data for Naming Policy @@ -1671,8 +1658,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1681,8 +1666,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Configuration Data for Optimization Policy @@ -1746,8 +1732,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1756,8 +1740,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Default Guard Decisions @@ -1813,8 +1798,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1823,8 +1806,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Frequency Limiter Guard Decisions @@ -1877,8 +1861,6 @@ if (prev.getResponseCode() == '200') { ${XACML_HOST} ${XACML_PORT} - - https policy/pdpx/v1/decision @@ -1887,8 +1869,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + Get Min/Max Guard Decisions @@ -1987,8 +1970,6 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies/onap.restart.tca @@ -1997,8 +1978,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2022,8 +2004,6 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default @@ -2032,8 +2012,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2057,8 +2038,6 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies/guard.minmax.scaleout @@ -2067,8 +2046,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2092,8 +2072,6 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - - https policy/pap/v1/pdps/policies/guard.frequency.scaleout @@ -2102,8 +2080,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2127,8 +2106,6 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 @@ -2137,8 +2114,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2162,8 +2140,6 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 @@ -2172,8 +2148,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2197,8 +2174,6 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 @@ -2207,8 +2182,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2232,8 +2208,6 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - - https policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 @@ -2242,8 +2216,9 @@ if (prev.getResponseCode() == '200') { false true false - false + + @@ -2326,7 +2301,6 @@ if (prev.getResponseCode() == '200') { true 0 true - true true true true -- cgit 1.2.3-korg