From 2a1a87646d4d797a67f4fe2881cd4e67dfb781c1 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Wed, 6 Nov 2024 10:13:23 +0000 Subject: Fix S3P weekly tests - Fix stability and performance tests - Add stability test action Issue-ID: POLICY-5153 Change-Id: Ia789335d21b96dada010f75eedbfcfcd14e71dfa Signed-off-by: waynedunican --- .../src/main/resources/testplans/stability.jmx | 624 ++++++++------------- 1 file changed, 219 insertions(+), 405 deletions(-) (limited to 'testsuites/stability') diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 2cf36cfc..d21acb40 100755 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,16 +1,14 @@ - + - + Policy XACML PDP Stability Tests - false true - false - + DURATION - ${__P(duration, 86400)} + ${__P(duration, 1800)} = @@ -87,7 +85,7 @@ - + Content-Type @@ -100,23 +98,26 @@ - + + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587409928000 - 1587409928000 - true + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies + true + POST + true true @@ -177,21 +178,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -210,7 +196,7 @@ - 200 + 201 Assertion.response_code @@ -220,6 +206,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies + true + POST + true true @@ -775,21 +769,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -808,7 +787,7 @@ - 200 + 201 Assertion.response_code @@ -818,6 +797,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies + true + POST + true true @@ -852,21 +839,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -885,7 +857,7 @@ - 200 + 201 Assertion.response_code @@ -895,6 +867,14 @@ + 6 + ${API_HOST} + ${API_PORT} + ${HTTP} + policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies + true + POST + true true @@ -929,21 +909,6 @@ - ${API_HOST} - ${API_PORT} - ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -962,7 +927,7 @@ - 200 + 201 Assertion.response_code @@ -972,6 +937,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -982,21 +955,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1025,6 +983,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1035,21 +1001,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1078,6 +1029,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1088,21 +1047,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1131,6 +1075,14 @@ + 6 + ${PAP_HOST} + ${PAP_PORT} + ${HTTP} + policy/pap/v1/pdps/policies + true + POST + true true @@ -1141,21 +1093,6 @@ - ${PAP_HOST} - ${PAP_PORT} - ${HTTP} - policy/pap/v1/pdps/policies - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1221,44 +1158,34 @@ - + + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587409928000 - 1587409928000 - true - false - false - - - + Basic Health Check + 6 ${XACML_HOST} ${XACML_PORT} ${HTTP} policy/pdpx/v1/healthcheck - GET true - false + GET true - false - false - false - false - 6 - false - 0 - Basic Health Check + false + + + @@ -1291,7 +1218,7 @@ if (prev.getResponseCode() == '200') { - + ${HTTP}://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1 @@ -1344,24 +1271,30 @@ if (prev.getResponseCode() == '200') { - + + ${USERS} + 10 + ${DURATION} + 1 + true + true continue - + -1 false - ${USERS} - 10 - true - ${DURATION} - 1 - 1587409929000 - 1587409929000 - true - false - + + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1381,22 +1314,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1432,6 +1349,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Monitoring Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision?abbrev=true + true + POST + true true @@ -1451,22 +1377,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision?abbrev=true - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Monitoring Policy @@ -1502,6 +1412,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Naming Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1524,22 +1443,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Naming Policy @@ -1575,6 +1478,15 @@ if (prev.getResponseCode() == '200') { + Get Configuration Data for Optimization Policy + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1599,22 +1511,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Configuration Data for Optimization Policy @@ -1650,6 +1546,15 @@ if (prev.getResponseCode() == '200') { + Get Default Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1675,22 +1580,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Default Guard Decisions @@ -1715,6 +1604,15 @@ if (prev.getResponseCode() == '200') { + Get Frequency Limiter Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1743,22 +1641,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Frequency Limiter Guard Decisions @@ -1783,6 +1665,15 @@ if (prev.getResponseCode() == '200') { + Get Min/Max Guard Decisions + 6 + ${XACML_HOST} + ${XACML_PORT} + ${HTTP} + policy/pdpx/v1/decision + true + POST + true true @@ -1808,22 +1699,6 @@ if (prev.getResponseCode() == '200') { - ${XACML_HOST} - ${XACML_PORT} - ${HTTP} - policy/pdpx/v1/decision - POST - true - false - true - false - false - false - false - 6 - false - 0 - Get Min/Max Guard Decisions @@ -1899,42 +1774,30 @@ if (prev.getResponseCode() == '200') { - + + 1 + 1 + true continue - + 1 false - 1 - 1 - false - - - 1587409929000 - 1587409929000 - true - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/onap.restart.tca - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1953,25 +1816,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -1990,25 +1846,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.minmax.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2027,25 +1876,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${PAP_HOST} ${PAP_PORT} ${HTTP} policy/pap/v1/pdps/policies/guard.frequency.scaleout - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2064,25 +1906,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2101,25 +1936,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2138,25 +1966,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2175,25 +1996,18 @@ if (prev.getResponseCode() == '200') { - false - - - + 6 ${API_HOST} ${API_PORT} ${HTTP} policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0 - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + -- cgit