From 26ee96b2df884a818b2d00a957615fe6ddcd5201 Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Thu, 2 Nov 2023 12:24:58 +0000 Subject: Fix jmx files for PAP S3P tests Issue-ID: POLICY-4846 Signed-off-by: rameshiyer27 Change-Id: Iac86f708c852bc8fbd26f2923a4e2a71be0ab248 --- .../src/main/resources/testplans/performance.jmx | 64 +++++++++++----------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'testsuites/performance/src/main/resources/testplans/performance.jmx') diff --git a/testsuites/performance/src/main/resources/testplans/performance.jmx b/testsuites/performance/src/main/resources/testplans/performance.jmx index 811438cf..c88397c7 100644 --- a/testsuites/performance/src/main/resources/testplans/performance.jmx +++ b/testsuites/performance/src/main/resources/testplans/performance.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 @@ -60,21 +60,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 @@ -182,7 +182,7 @@ ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policies POST @@ -212,7 +212,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE PUT @@ -266,7 +266,7 @@ ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/healthcheck GET @@ -318,9 +318,9 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http - /metrics + /policy/pap/v1/metrics GET true false @@ -403,7 +403,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/batch POST @@ -434,7 +434,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -498,7 +498,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/policies POST @@ -532,7 +532,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status/defaultGroup/operational.modifyconfig${threadCount}/1.0.0 GET @@ -563,7 +563,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/status GET @@ -594,7 +594,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/audit/defaultGroup GET @@ -625,7 +625,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig${threadCount}/1.0.0 GET @@ -656,7 +656,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -724,7 +724,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/components/healthcheck GET @@ -760,8 +760,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; } @@ -774,7 +774,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/policies/deployed GET @@ -847,7 +847,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/deployments/batch POST @@ -877,7 +877,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/sampleGroup${threadCount}?state=PASSIVE PUT @@ -907,7 +907,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps/groups/sampleGroup${threadCount} DELETE @@ -938,7 +938,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http /policy/pap/v1/pdps GET @@ -1003,9 +1003,9 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http - /metrics + /policy/pap/v1/metrics GET true false @@ -1084,7 +1084,7 @@ if (prev.getResponseCode() == '200') { ${PAP_HOST} ${PAP_PORT} - https + http policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE PUT @@ -1114,7 +1114,7 @@ if (prev.getResponseCode() == '200') { ${API_HOST} ${API_PORT} - https + http /policy/api/v1/policies/operational.modifyconfig${threadCount}/versions/1.0.0 DELETE @@ -1173,7 +1173,7 @@ if (prev.getResponseCode() == '200') { true - /home/asreekumar/s3p/resultSummary.jtl + /home/ramesh/s3pTestResults.jtl @@ -1210,7 +1210,7 @@ if (prev.getResponseCode() == '200') { true - /home/asreekumar/s3p/resultTree.jtl + /home/ramesh/s3pTestResults.jtl -- cgit 1.2.3-korg