X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=testsuites%2Fstability%2Fsrc%2Fmain%2Fresources%2Ftestplans%2Fstability.jmx;fp=testsuites%2Fstability%2Fsrc%2Fmain%2Fresources%2Ftestplans%2Fstability.jmx;h=a7c17b016597a558b9fa7611df296011e52931d4;hb=26ee96b2df884a818b2d00a957615fe6ddcd5201;hp=e55853107a20903bda0aebf1f9071073c88e67ca;hpb=febfad23ba4f0be0ca11107708a3eee0254f5f30;p=policy%2Fpap.git diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index e5585310..a7c17b01 100644 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -4,7 +4,7 @@ ONAP Policy PAP ================================================================================ Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2020-2021 Nordix Foundation. + Modifications Copyright (C) 2020-2021,2023 Nordix Foundation. Modifications Copyright (C) 2020,2022 Bell Canada. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +18,7 @@ limitations under the License. ============LICENSE_END========================================================= --> - + Policy PAP Stability Tests @@ -55,21 +55,21 @@ - https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 + http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 policyadmin zb!XztG34 - https://${API_HOST}:${API_PORT}/policy/api/v1 + http://${API_HOST}:${API_PORT}/policy/api/v1 policyadmin zb!XztG34 - https://${PAP_HOST}:${PAP_PORT}/metrics + http://${PAP_HOST}:${PAP_PORT}/metrics policyadmin zb!XztG34 @@ -7555,7 +7555,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies POST @@ -9856,7 +9856,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/nodetemplates POST @@ -10056,7 +10056,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0/policies POST @@ -10086,7 +10086,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE PUT @@ -10145,7 +10145,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/batch POST @@ -10176,7 +10176,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -10245,7 +10245,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/healthcheck GET @@ -10297,9 +10297,9 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http - /metrics + /policy/pap/v1/metrics GET true false @@ -10385,7 +10385,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -10449,7 +10449,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/policies POST @@ -10498,7 +10498,7 @@ vars.put("dg_status_check_counter", "0"); ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0 GET @@ -10550,7 +10550,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/audit/defaultGroup GET @@ -10581,7 +10581,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/audit/defaultGroup/operational.apex.stabilityTestDefaultDomain/1.0.0 GET @@ -10612,7 +10612,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -10707,7 +10707,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/deployments/batch POST @@ -10756,7 +10756,7 @@ vars.put("sg_status_check_counter", "0"); ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status/sampleGroup/operational.apex.stabilityTestSampleDomain/1.0.0 GET @@ -10807,7 +10807,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status GET @@ -10838,7 +10838,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -10906,7 +10906,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/audit/sampleGroup/operational.apex.stabilityTestSampleDomain/1.0.0 GET @@ -10937,7 +10937,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/components/healthcheck GET @@ -10973,8 +10973,8 @@ if (prev.getResponseCode() == '200') { def jsonSlurper = new JsonSlurper(); res = jsonSlurper.parseText(prev.getResponseDataAsString()); assert res instanceof Map; - assert res.pdps.xacml!=null; - assert res.pdps.drools!=null; + //assert res.pdps.xacml!=null; + //assert res.pdps.drools!=null; assert res.pdps.apex!=null; } @@ -10987,7 +10987,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/deployed GET @@ -11060,7 +11060,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/deployments/batch POST @@ -11090,7 +11090,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/policies/operational.apex.stabilityTestDefaultDomain DELETE @@ -11141,7 +11141,7 @@ vars.put("status_check_counter", "0"); ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status GET @@ -11182,7 +11182,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -11248,9 +11248,9 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http - /metrics + /policy/pap/v1/metrics GET true false @@ -11280,7 +11280,6 @@ if (prev.getResponseCode() == '200') { if (prev.getResponseCode() == '200') { def res = prev.getResponseDataAsString(); - assert res.contains('http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/healthcheck",}'); def newDeploySuccessCount = '0'; if (res.contains('pap_policy_deployments_total{operation="deploy",status="SUCCESS",} ')) { @@ -11353,7 +11352,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/sampleGroup?state=PASSIVE PUT @@ -11383,7 +11382,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/sampleGroup DELETE @@ -11414,7 +11413,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE PUT @@ -11444,7 +11443,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 @@ -11474,7 +11473,7 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/operational.apex.stabilityTestSampleDomain/versions/1.0.0 DELETE @@ -11504,7 +11503,7 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - https + http /policy/api/v1/nodetemplates/apex.metadata.pnf/versions/1.0.0 DELETE @@ -11601,7 +11600,7 @@ if (prev.getResponseCode() == '200') { true - /home/asreekumar/s3p/resultTree.jtl + /home/ramesh/s3pTestResults.jtl