From: Ali Hockla Date: Fri, 1 Nov 2019 13:38:21 +0000 (-0500) Subject: Added abbreviated decision API call to stability and performance JMeter tests X-Git-Tag: 2.2.0~45^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9e31e906bcce34988d75ddb83f741babbbcba99a;p=policy%2Fxacml-pdp.git Added abbreviated decision API call to stability and performance JMeter tests Issue-ID: POLICY-2168 Change-Id: I3bd0ef114374f5d01e2d93501ed6cf0748097987 Signed-off-by: Ali Hockla --- diff --git a/testsuites/performance/src/main/resources/testplans/perf.jmx b/testsuites/performance/src/main/resources/testplans/perf.jmx index a53a9f43..fba609ae 100644 --- a/testsuites/performance/src/main/resources/testplans/perf.jmx +++ b/testsuites/performance/src/main/resources/testplans/perf.jmx @@ -709,6 +709,76 @@ if (prev.getResponseCode() == '200') { + + true + + + + false + { + "ONAPName": "DCAE", + "ONAPComponent": "PolicyHandler", + "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", + "action": "configure", + "resource": { + "policy-id": "onap.scaleout.tca" + } +} + = + + + + ${POLICY_PDPX_HOST} + ${PDP_PORT} + https + + policy/pdpx/v1/decision?abbrev=true + POST + true + false + true + false + + + + Get Configuration Data for Monitoring Policy + + + + + 200 + + + Assertion.response_code + false + 1 + + + + + type + metadata + + + Assertion.response_message + false + 2 + + + + + type_version + properties + name + version + + + Assertion.response_message + false + 6 + + + true diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index c4be29be..6f8b5b9e 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -709,6 +709,76 @@ if (prev.getResponseCode() == '200') { + + true + + + + false + { + "ONAPName": "DCAE", + "ONAPComponent": "PolicyHandler", + "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64", + "action": "configure", + "resource": { + "policy-id": "onap.scaleout.tca" + } +} + = + + + + ${POLICY_PDPX_HOST} + ${PDP_PORT} + https + + policy/pdpx/v1/decision?abbrev=true + POST + true + false + true + false + + + + Get Configuration Data for Monitoring Policy + + + + + 200 + + + Assertion.response_code + false + 1 + + + + + type + metadata + + + Assertion.response_message + false + 2 + + + + + type_version + properties + name + version + + + Assertion.response_message + false + 6 + + + true