From 5e39fe1f1291f5b3b6beffca4f91638b6d1bb1c6 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Fri, 8 Oct 2021 09:06:25 +0100 Subject: PAP S3P jmx file changes Issue-ID: POLICY-3653 Change-Id: I4a7b033d6ba0356c46c571640e85c40253ec6ad5 Signed-off-by: Wayne Dunican --- .../src/main/resources/testplans/stability.jmx | 161 ++++++++++++++++----- 1 file changed, 126 insertions(+), 35 deletions(-) (limited to 'testsuites/stability/src') diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 3bd690ad..2291883d 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -10,9 +10,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,7 +18,7 @@ limitations under the License. ============LICENSE_END========================================================= --> - + Policy PAP Stability Tests @@ -31,22 +29,22 @@ PAP_HOST - 10.2.0.149 + 172.16.1.230 = PAP_PORT - 31427 + 31937 = API_HOST - 10.2.0.149 + 172.16.1.230 = API_PORT - 30443 + 31339 = @@ -57,14 +55,14 @@ - https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 healthcheck zb!XztG34 - https://${API_HOST}:${API_PORT}/policy/api/v1 + http://${API_HOST}:${API_PORT}/policy/api/v1 healthcheck zb!XztG34 @@ -7554,7 +7552,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies POST @@ -15030,7 +15028,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies POST @@ -15075,7 +15073,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/healthcheck GET @@ -15127,7 +15125,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/statistics GET @@ -15181,7 +15179,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE PUT @@ -15215,7 +15213,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -15278,7 +15276,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/policies POST @@ -15312,7 +15310,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0 GET @@ -15337,6 +15335,68 @@ if (prev.getResponseCode() == '200') { + + + + + ${PAP_HOST} + ${PAP_PORT} + http + + /policy/pap/v1/policies/audit/defaultGroup + GET + true + false + true + false + + + + Check PdpGroup Audit + + + + + 200 + + + Assertion.response_code + false + 1 + + + + + + + + ${PAP_HOST} + ${PAP_PORT} + http + + /policy/pap/v1/policies/audit/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0 + GET + true + false + true + false + + + + Check PdpGroup Audit + + + + + 200 + + + Assertion.response_code + false + 1 + + + true @@ -15372,7 +15432,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/batch POST @@ -15403,7 +15463,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -15500,7 +15560,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/deployments/batch POST @@ -15530,7 +15590,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status/sampleGroup GET @@ -15561,7 +15621,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status GET @@ -15592,7 +15652,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -15652,13 +15712,44 @@ if (prev.getResponseCode() == '200') { + + + + + ${PAP_HOST} + ${PAP_PORT} + http + + /policy/pap/v1/policies/audit + GET + true + false + true + false + + + + Check Audit + + + + + 200 + + + Assertion.response_code + false + 1 + + + ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/components/healthcheck GET @@ -15708,7 +15799,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/deployed GET @@ -15781,7 +15872,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/deployments/batch POST @@ -15811,7 +15902,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/policies/operational.apex.stabilityTestDefaultDomain DELETE @@ -15841,7 +15932,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/sampleGroup?state=PASSIVE PUT @@ -15871,7 +15962,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/sampleGroup DELETE @@ -15902,7 +15993,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE PUT @@ -15936,7 +16027,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -16002,7 +16093,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE PUT @@ -16032,7 +16123,7 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies/operational.apex.stabilityTestDefaultDomain/versions/1.0.0 DELETE @@ -16062,7 +16153,7 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies/operational.apex.stabilityTestSampleDomain/versions/1.0.0 DELETE @@ -16121,7 +16212,7 @@ if (prev.getResponseCode() == '200') { true - C:\pap_s3p_res\stability_results\testresult3003.jtl + /home/wayne/dev/pap_results_1010.jtl -- cgit 1.2.3-korg