From 1da7319d11c1c604e865e381801edb992d6c679a Mon Sep 17 00:00:00 2001 From: waynedunican Date: Wed, 6 Nov 2024 15:26:51 +0000 Subject: Fix S3P weekly tests - Added stability test Issue-ID: POLICY-5154 Change-Id: I8996b7ca83943f026553d880fafd8c4d00252bcc Signed-off-by: waynedunican --- .../src/main/resources/testplans/stability.jmx | 404 +++++++-------------- 1 file changed, 139 insertions(+), 265 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 5e4a64df6..dc0d5c05e 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,5 +1,5 @@ - + Policy Clamp ACM Stability Tests @@ -32,7 +32,7 @@ - + http://${RUNTIME_HOST}:${RUNTIME_PORT}/onap/policy/clamp/acm @@ -67,20 +67,26 @@ + 1 + 1 + 260000 + true stoptest - + 1 false - 1 - 1 - false - 260000 - - true + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions + true + POST + true true @@ -1568,21 +1574,6 @@ - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1611,25 +1602,18 @@ - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/participants - PUT true - false + PUT true - false - false - false - false - 6 - false - 0 + false + + + @@ -1645,6 +1629,14 @@ + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId} + true + PUT + true true @@ -1657,21 +1649,6 @@ - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId} - PUT - true - false - true - false - false - false - false - 6 - false - 0 @@ -1691,25 +1668,18 @@ - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId} - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -1733,6 +1703,14 @@ + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances + true + POST + true true @@ -1767,21 +1745,6 @@ - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances - POST - true - false - true - false - false - false - false - 6 - false - 0 @@ -1810,19 +1773,17 @@ - + + 1 + 1 + 7200 + true + true continue - + -1 false - 1 - 1 - true - 260000 - - true - false @@ -1839,6 +1800,14 @@ vars.put("deployState", deployState); + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} + true + PUT + true true @@ -1852,21 +1821,6 @@ vars.put("deployState", deployState); - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - PUT - true - false - true - false - false - false - false - 6 - false - 0 @@ -1889,25 +1843,18 @@ vars.put("deployState", deployState); - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -1930,6 +1877,14 @@ vars.put("deployState", deployState); + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} + true + PUT + true true @@ -1943,21 +1898,6 @@ vars.put("deployState", deployState); - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - PUT - true - false - true - false - false - false - false - 6 - false - 0 @@ -1980,25 +1920,18 @@ vars.put("deployState", deployState); - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -2020,26 +1953,19 @@ vars.put("deployState", deployState); - - false - - - + + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/prometheus - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -2070,7 +1996,7 @@ if (prev.getResponseCode() == '200') { assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"POST\",outcome=\"SUCCESS\",status=\"201\",uri=\"/v2/compositions\",}") assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"PUT\",outcome=\"SUCCESS\",status=\"202\",uri=\"/v2/compositions/{compositionId}\",}") - assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"/v2/compositions/{compositionId}\",}") + assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"/v2/compositions/{compositionId}\",}") assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"POST\",outcome=\"SUCCESS\",status=\"201\",uri=\"/v2/compositions/{compositionId}/instances\",}") assert res.contains("http_server_requests_seconds_count{error=\"none\",exception=\"none\",method=\"PUT\",outcome=\"SUCCESS\",status=\"202\",uri=\"/v2/compositions/{compositionId}/instances/{instanceId}\",}") @@ -2097,26 +2023,19 @@ if (prev.getResponseCode() == '200') { - - false - - - + + 6 ${POLICY_PARTICIPANT_HOST} ${POLICY_PARTICIPANT_HOST_PORT} http /onap/policyparticipant/prometheus - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -2166,17 +2085,14 @@ if (prev.getResponseCode() == '200') { + 1 + 1 + true stoptest - + 1 false - 1 - 1 - false - - - true @@ -2196,25 +2112,18 @@ vars.put("deployState", deployState); - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - GET true - false + GET true - false - false - false - false - 6 - false - 0 + false + + + @@ -2242,6 +2151,14 @@ vars.put("deployState", deployState); + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} + true + PUT + true true @@ -2255,21 +2172,6 @@ vars.put("deployState", deployState); - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - PUT - true - false - true - false - false - false - false - 6 - false - 0 @@ -2290,25 +2192,18 @@ vars.put("deployState", deployState); - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId}/instances/${instanceId} - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + @@ -2327,6 +2222,14 @@ vars.put("deployState", deployState); + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId} + true + PUT + true true @@ -2339,21 +2242,6 @@ vars.put("deployState", deployState); - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId} - PUT - true - false - true - false - false - false - false - 6 - false - 0 @@ -2376,6 +2264,14 @@ vars.put("deployState", deployState); + 6 + ${RUNTIME_HOST} + ${RUNTIME_PORT} + http + /onap/policy/clamp/acm/v2/compositions/${compositionId} + true + GET + true true @@ -2388,21 +2284,6 @@ vars.put("deployState", deployState); - ${RUNTIME_HOST} - ${RUNTIME_PORT} - http - /onap/policy/clamp/acm/v2/compositions/${compositionId} - GET - true - false - true - false - false - false - false - 6 - false - 0 @@ -2426,25 +2307,18 @@ vars.put("deployState", deployState); - false - - - + 6 ${RUNTIME_HOST} ${RUNTIME_PORT} http /onap/policy/clamp/acm/v2/compositions/${compositionId} - DELETE true - false + DELETE true - false - false - false - false - 6 - false - 0 + false + + + -- cgit