From 6a2e9828e5d25604738ce9bfa5da98f75f740e3d Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 30 Mar 2021 11:06:03 +0100 Subject: Distribution S3P test Updating scripts and files related to S3P tests. Issue-ID: POLICY-3113 Change-Id: I6c6d50a2f0e6b47deac5e505fb841eebbbbea437 Signed-off-by: adheli.tavares (cherry picked from commit d6c3b88b98960353daa7fbd61fc4e44656ffff63) --- .../testplans/sample_csar_with_apex_policy.csar | Bin 93613 -> 95323 bytes .../src/main/resources/testplans/stability.jmx | 122 +++++++++++---------- 2 files changed, 66 insertions(+), 56 deletions(-) (limited to 'testsuites/stability/src/main/resources/testplans') diff --git a/testsuites/stability/src/main/resources/testplans/sample_csar_with_apex_policy.csar b/testsuites/stability/src/main/resources/testplans/sample_csar_with_apex_policy.csar index 435eaa0f..f1c5fe8a 100644 Binary files a/testsuites/stability/src/main/resources/testplans/sample_csar_with_apex_policy.csar and b/testsuites/stability/src/main/resources/testplans/sample_csar_with_apex_policy.csar differ diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 4ad3c405..d29ffda8 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -8,11 +8,6 @@ false - - PAP_HOST - ${__P(host,10.2.0.27)} - = - SCRIPT_DIR ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)} @@ -40,7 +35,17 @@ API_HOST - ${__P(host,10.2.0.27)} + ${__P(host,10.2.0.110)} + = + + + API_PORT + 6969 + = + + + PAP_HOST + ${__P(host,10.2.0.110)} = @@ -48,9 +53,14 @@ 7000 = - - API_PORT - 6969 + + DISTRIBUTION_HOST + ${__P(distributionhost,127.0.0.1)} + = + + + DISTRIBUTION_PORT + 7002 = @@ -93,25 +103,25 @@ - + - https://${PAP_HOST}:7000/policy/pap/v1 + https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 - https://${API_HOST}:6969/policy/api/v1 + https://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 - http://127.0.0.1:6969/ + http://${DISTRIBUTION_HOST}:${DISTRIBUTION_PORT}/ healthcheck zb!XztG34 @@ -120,29 +130,29 @@ true - - + + false 0 - ${SCRIPT_DIR}removecsar.sh + ${SCRIPT_DIR}/removecsar.sh - + - + - + - + false 0 - ${SCRIPT_DIR}addcsar.sh + ${SCRIPT_DIR}/addcsar.sh @@ -153,7 +163,7 @@ - + @@ -194,7 +204,7 @@ - + CSAR Copied Successfully @@ -204,21 +214,21 @@ false 2 - + 300 - - + + - + - 127.0.0.1 - 6969 + ${DISTRIBUTION_HOST} + ${DISTRIBUTION_PORT} http healthcheck @@ -241,14 +251,14 @@ false 8 - + - + - 127.0.0.1 - 6969 + ${DISTRIBUTION_HOST} + ${DISTRIBUTION_PORT} http statistics @@ -271,14 +281,14 @@ false 8 - + - + - + ${PAP_HOST} ${PAP_PORT} @@ -303,7 +313,7 @@ false false - + false @@ -340,11 +350,11 @@ - + - + ${PAP_HOST} ${PAP_PORT} @@ -363,13 +373,13 @@ $[:2].policy-type - onap.policies.controlloop.operational.Apex + onap.policies.controlloop.operational.common.Apex true false false false - + $[:2].policy-id operational.apex.sampledomain @@ -378,7 +388,7 @@ false false - + false @@ -416,17 +426,17 @@ - + 10000 - + - + - + ${PAP_HOST} ${PAP_PORT} @@ -445,18 +455,18 @@ - 200 + 202 Assertion.response_code false 8 - + - + ${API_HOST} ${API_PORT} @@ -482,14 +492,14 @@ false 8 - + - + - + ${PAP_HOST} ${PAP_PORT} @@ -514,7 +524,7 @@ false false - + @@ -553,7 +563,7 @@ - + false @@ -588,9 +598,9 @@ true - Distribution_Stability_Log + distribution_stability.jtl - + -- cgit 1.2.3-korg