summaryrefslogtreecommitdiffstats
path: root/testsuites/performance
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-11-02 12:24:58 +0000
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-11-06 13:47:15 +0000
commit26ee96b2df884a818b2d00a957615fe6ddcd5201 (patch)
treecaa6b3cc90444e9cdfe7f0659db4d1eaca06cf32 /testsuites/performance
parentfebfad23ba4f0be0ca11107708a3eee0254f5f30 (diff)
Fix jmx files for PAP S3P tests
Issue-ID: POLICY-4846 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Iac86f708c852bc8fbd26f2923a4e2a71be0ab248
Diffstat (limited to 'testsuites/performance')
-rw-r--r--testsuites/performance/src/main/resources/testplans/performance.jmx64
1 files changed, 32 insertions, 32 deletions
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=========================================================
-->
-<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy PAP Stability" enabled="true">
<stringProp name="TestPlan.comments">Policy PAP Stability Tests</stringProp>
@@ -60,21 +60,21 @@
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
<collectionProp name="AuthManager.auth_list">
<elementProp name="" elementType="Authorization">
- <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
+ <stringProp name="Authorization.url">http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
- <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
+ <stringProp name="Authorization.url">http://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
<stringProp name="Authorization.realm"></stringProp>
</elementProp>
<elementProp name="" elementType="Authorization">
- <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/metrics</stringProp>
+ <stringProp name="Authorization.url">http://${PAP_HOST}:${PAP_PORT}/metrics</stringProp>
<stringProp name="Authorization.username">policyadmin</stringProp>
<stringProp name="Authorization.password">zb!XztG34</stringProp>
<stringProp name="Authorization.domain"></stringProp>
@@ -182,7 +182,7 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -212,7 +212,7 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=ACTIVE</stringProp>
<stringProp name="HTTPSampler.method">PUT</stringProp>
@@ -266,7 +266,7 @@
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/healthcheck</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -318,9 +318,9 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/metrics</stringProp>
+ <stringProp name="HTTPSampler.path">/policy/pap/v1/metrics</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -403,7 +403,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/batch</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -434,7 +434,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -498,7 +498,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -532,7 +532,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status/defaultGroup/operational.modifyconfig${threadCount}/1.0.0</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -563,7 +563,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/policies/status</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -594,7 +594,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -625,7 +625,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/policies/audit/defaultGroup/operational.modifyconfig${threadCount}/1.0.0</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -656,7 +656,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -724,7 +724,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/components/healthcheck</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -760,8 +760,8 @@ if (prev.getResponseCode() == &apos;200&apos;) {
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;
}
</stringProp>
@@ -774,7 +774,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/policies/deployed</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -847,7 +847,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
@@ -877,7 +877,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/sampleGroup${threadCount}?state=PASSIVE</stringProp>
<stringProp name="HTTPSampler.method">PUT</stringProp>
@@ -907,7 +907,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/groups/sampleGroup${threadCount}</stringProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
@@ -938,7 +938,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/pap/v1/pdps</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
@@ -1003,9 +1003,9 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
- <stringProp name="HTTPSampler.path">/metrics</stringProp>
+ <stringProp name="HTTPSampler.path">/policy/pap/v1/metrics</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
@@ -1084,7 +1084,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">policy/pap/v1/pdps/groups/defaultGroup?state=PASSIVE</stringProp>
<stringProp name="HTTPSampler.method">PUT</stringProp>
@@ -1114,7 +1114,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
</elementProp>
<stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
<stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
- <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/policy/api/v1/policies/operational.modifyconfig${threadCount}/versions/1.0.0</stringProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
@@ -1173,7 +1173,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/asreekumar/s3p/resultSummary.jtl</stringProp>
+ <stringProp name="filename">/home/ramesh/s3pTestResults.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
@@ -1210,7 +1210,7 @@ if (prev.getResponseCode() == &apos;200&apos;) {
<connectTime>true</connectTime>
</value>
</objProp>
- <stringProp name="filename">/home/asreekumar/s3p/resultTree.jtl</stringProp>
+ <stringProp name="filename">/home/ramesh/s3pTestResults.jtl</stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">