From 79b08ac2ed6fdd31ac94bbf549f805487b93941b Mon Sep 17 00:00:00 2001 From: Michael Mokry Date: Wed, 17 Oct 2018 09:51:06 -0500 Subject: XACML PDP Performance Test Added TestSuite module and performance test plan and stability test plan that I received from Michael Morris Added License headers to files per Jim's comment Change-Id: I9d7a2740218a946ea031fdeae57dcb58d4ddd886 Issue-ID: POLICY-887 Signed-off-by: Michael Mokry --- .../testplans/PerformancePDPXdecisionsTestPlan.jmx | 1619 ++++++++++++++++++++ 1 file changed, 1619 insertions(+) create mode 100644 TestSuite/Performance/src/main/resources/testplans/PerformancePDPXdecisionsTestPlan.jmx (limited to 'TestSuite/Performance/src/main/resources/testplans') diff --git a/TestSuite/Performance/src/main/resources/testplans/PerformancePDPXdecisionsTestPlan.jmx b/TestSuite/Performance/src/main/resources/testplans/PerformancePDPXdecisionsTestPlan.jmx new file mode 100644 index 000000000..e82a1abba --- /dev/null +++ b/TestSuite/Performance/src/main/resources/testplans/PerformancePDPXdecisionsTestPlan.jmx @@ -0,0 +1,1619 @@ + + + + + + + false + true + false + + + + + + + + + + ClientAuth + cHl0aG9uOnRlc3Q= + + + Authorization + Basic dGVzdHBkcDphbHBoYTEyMw== + + + Environment + TEST + + + Content-Type + application/json + + + + + + + + + 10.12.6.225 + 8081 + https + + + 6 + + + + + + continue + + false + 1 + + 10 + 10 + false + + + + + + true + 10 + + + + false + false + + + + 1 + + 1 + request_number + 000 + false + + + + true + + + + false + { + "policyClass": "Decision", + "policyName": "com.TestingGUARD${request_number}", + "policyDescription": "Testing new YAML Guard Policy", + "onapName": "PDPD", + "ruleProvider": "GUARD_YAML", + "attributes": { + "MATCHING": { + "actor": "testActor${request_number}", + "recipe": "restart", + "targets" : "test", + "clname" : "test", + "limit": "5", + "timeWindow": "15", + "timeUnits" : "minute", + "guardActiveStart": "05:00:00-05:00", + "guardActiveEnd": "23:59:59-05:00" + } + } +} + = + + + + + + + + pdp/api/createPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + createGuardPolicy.jtl + + + + + true + + + + false + { + "policyClass": "Decision", + "policyName": "com.TestingGuardMinMax${request_number}", + "policyDescription": "Testing Min Max Guard Policy", + "onapName": "PDPD", + "ruleProvider": "GUARD_MIN_MAX", + "attributes": { + "MATCHING": { + "actor": "testActorMinMax${request_number}", + "recipe": "scaleOut", + "targets": "test", + "clname": "ControlLoop-Test", + "min": "1", + "max": "5", + "guardActiveStart": "00:00:01-05:00", + "guardActiveEnd": "00:00:00-05:00" + } + } +} + = + + + + + + + + pdp/api/createPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + createGuardMinMaxPolicy.jtl + + + + + true + + + + false + { + "attributes": { + "MATCHING": { + "key": "value" + } + }, + "configBody": "test body", + "configBodyType": "OTHER", + "configName": "testConfig", + "onapName": "PDPD", + "policyConfigType": "Base", + "policyDescription": "Testing Config Base Policy", + "policyName": "com.TestingConfig${request_number}" +} + = + + + + + + + + pdp/api/createPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + createBasePolicy.jtl + + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingGUARD${request_number}", + "policyType": "Decision" +} + = + + + + + + + + pdp/api/pushPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + pushGuardPolicy.jtl + + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingGUARDMinMax${request_number}", + "policyType": "Decision" +} + = + + + + + + + + pdp/api/pushPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + pushGuardMinMaxPolicy.jtl + + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingConfig${request_number}", + "policyType": "Base" +} + = + + + + + + + + pdp/api/pushPolicy + PUT + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + pushBasePolicy.jtl + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + CreateAndPushSummar.jtl + + + + + continue + + false + 1 + + 10 + 10 + false + + + + + + true + 1000 + + + + false + false + + + + 1 + + 1 + request_number + 000 + false + + + + true + + + + false + { + "decisionAttributes": { + "actor": "testActor${request_number}", + "recipe": "restart", + "target": "test", + "clname" : "test" + }, + "onapName": "PDPD" +} + = + + + + + + + + pdp/api/getDecision + POST + true + false + true + false + + + + + + + + "decision":"PERMIT" + + + Assertion.response_data + false + 2 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + guardPermit.jtl + + + + + true + + + + false + { + "decisionAttributes": { + "actor": "testActorMinMax${request_number}", + "recipe": "scaleOut", + "target": "test", + "clname" : "ControlLoop-Test", + "vfCount" : "4" + }, + "onapName": "PDPD" + } + = + + + + + + + + pdp/api/getDecision + POST + true + false + true + false + + + + + + + + "decision":"PERMIT" + + + Assertion.response_data + false + 2 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + guardMinMaxPermit.jtl + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + permitSummary.jtl + + + + + continue + + false + 1 + + 10 + 10 + false + + + + + + true + 1000 + + + + false + false + + + + 1 + + 1 + request_number + 000 + false + + + + true + + + + false + { + "decisionAttributes": { + "actor": "testActor${request_number}", + "recipe": "restart", + "target": "test", + "clname" : "test" + }, + "onapName": "test" +} + = + + + + + + + + pdp/api/getDecision + POST + true + false + true + false + + + + + + + + "decision":"DENY" + + + Assertion.response_data + false + 2 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + guardDeny.jtl + + + + + true + + + + false + { + "decisionAttributes": { + "actor": "testActorMinMax${request_number}", + "recipe": "scaleOut", + "target": "test", + "clname" : "ControlLoop-Test", + "vfCount" : "9" + }, + "onapName": "test" + } + = + + + + + + + + pdp/api/getDecision + POST + true + false + true + false + + + + + + + + "decision":"DENY" + + + Assertion.response_data + false + 2 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + guardMinMaxDeny.jtl + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + denySummary.jtl + + + + + continue + + false + -1 + + 1 + 1 + false + + + + + + true + 10 + + + + false + false + + + + 1 + + 1 + request_number + 000 + false + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingGUARD${request_number}", + "policyType": "Decision", + "policyComponent": "PDP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + false + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + deleteGuardPDP.jtl + + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingGuardMinMax${request_number}", + "policyType": "Decision", + "policyComponent": "PDP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + deleteGuardMinMaxPDP.jtl + + + + + true + + + + false + { + "pdpGroup": "default", + "policyName": "com.TestingConfig${request_number}", + "policyType": "Base", + "policyComponent": "PDP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + deleteBasePDP.jtl + + + + + true + + + + false + { + "policyName": "com.TestingGUARD${request_number}", + "policyType": "Decision", + "policyComponent": "PAP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + false + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + deleteGuardPAP.jtl + + + + + true + + + + false + { + "policyName": "com.TestingGuardMinMax${request_number}", + "policyType": "Decision", + "policyComponent": "PAP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + deleteGuardMinMaxPAP.jtl + + + + + true + + + + false + { + "policyName": "com.TestingConfig${request_number}", + "policyType": "Base", + "policyComponent": "PAP", + "deleteCondition": "All Versions" +} + = + + + + + + + + pdp/api/deletePolicy + DELETE + true + false + true + false + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + deleteBasePAP.jtl + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + true + + + deleteSummary.jtl + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + fullSummary.jtl + true + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + aggregate.jtl + + + + + -- cgit 1.2.3-korg