diff options
author | waynedunican <wayne.dunican@est.tech> | 2024-11-06 10:13:23 +0000 |
---|---|---|
committer | waynedunican <wayne.dunican@est.tech> | 2024-11-12 09:36:56 +0000 |
commit | 2a1a87646d4d797a67f4fe2881cd4e67dfb781c1 (patch) | |
tree | 5a60b4f4f9471517c0321ed579cf7c954296a930 /testsuites | |
parent | d101f30f39531b45d568a177cb32e73e07486433 (diff) |
Fix S3P weekly tests
- Fix stability and performance tests
- Add stability test action
Issue-ID: POLICY-5153
Change-Id: Ia789335d21b96dada010f75eedbfcfcd14e71dfa
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'testsuites')
-rwxr-xr-x | testsuites/performance/src/main/resources/testplans/perf.jmx | 618 | ||||
-rwxr-xr-x | testsuites/run-s3p-test.sh | 4 | ||||
-rwxr-xr-x | testsuites/stability/src/main/resources/testplans/stability.jmx | 624 |
3 files changed, 438 insertions, 808 deletions
diff --git a/testsuites/performance/src/main/resources/testplans/perf.jmx b/testsuites/performance/src/main/resources/testplans/perf.jmx index 54f45fea..f0e88804 100755 --- a/testsuites/performance/src/main/resources/testplans/perf.jmx +++ b/testsuites/performance/src/main/resources/testplans/perf.jmx @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2"> +<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Performance" enabled="true"> <stringProp name="TestPlan.comments">Policy XACML PDP Performance Tests</stringProp> @@ -87,7 +87,7 @@ </elementProp> </TestPlan> <hashTree> - <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> @@ -101,22 +101,25 @@ </HeaderManager> <hashTree/> <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <longProp name="ThreadGroup.start_time">1587406332000</longProp> - <longProp name="ThreadGroup.end_time">1587406332000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </SetupThreadGroup> <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Monitoring Policy" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Monitoring Policy"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -177,21 +180,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -208,9 +196,9 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -220,6 +208,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Optimization Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -775,21 +771,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -806,9 +787,9 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -818,6 +799,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Min/Max Guard Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -852,21 +841,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -883,9 +857,9 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -895,6 +869,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Frequency Limiter Guard Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -929,21 +911,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -960,9 +927,9 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -972,6 +939,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Monitoring Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -982,21 +957,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1013,7 +973,7 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion"> <collectionProp name="Asserion.test_strings"> <stringProp name="49588">202</stringProp> </collectionProp> @@ -1025,6 +985,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Optimization Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1035,21 +1003,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1078,6 +1031,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Min/Max Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1088,21 +1049,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1131,6 +1077,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Frequency Limiter Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1141,21 +1095,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1222,43 +1161,33 @@ <hashTree/> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check " enabled="true"> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> + <intProp name="ThreadGroup.ramp_time">10</intProp> + <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> + <longProp name="ThreadGroup.delay">1</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> - <stringProp name="ThreadGroup.ramp_time">10</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> - <stringProp name="ThreadGroup.delay">1</stringProp> - <longProp name="ThreadGroup.start_time">1587406332000</longProp> - <longProp name="ThreadGroup.end_time">1587406332000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <stringProp name="TestPlan.comments">Basic Health Check</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pdpx/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Basic Health Check</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1345,23 +1274,29 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions" enabled="true"> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> + <intProp name="ThreadGroup.ramp_time">10</intProp> + <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> + <longProp name="ThreadGroup.delay">1</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> - <stringProp name="ThreadGroup.ramp_time">10</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> - <stringProp name="ThreadGroup.delay">1</stringProp> - <longProp name="ThreadGroup.start_time">1587406332000</longProp> - <longProp name="ThreadGroup.end_time">1587406332000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1381,22 +1316,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1432,6 +1351,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions with Abbreviated Results" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1451,22 +1379,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1502,6 +1414,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Naming Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1524,22 +1445,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1575,6 +1480,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Optimization Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1599,22 +1513,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1650,6 +1548,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Default Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1675,22 +1582,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1715,6 +1606,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Frequency Limiter Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1743,22 +1643,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1783,6 +1667,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Min/Max Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1808,22 +1701,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1899,42 +1776,30 @@ if (prev.getResponseCode() == '200') { </ResultCollector> <hashTree/> </hashTree> - <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true"> + <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <longProp name="ThreadGroup.start_time">1587406332000</longProp> - <longProp name="ThreadGroup.end_time">1587406332000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </PostThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Monitoring Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/onap.restart.tca</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1953,25 +1818,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Optimization Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1990,25 +1848,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Min/Max Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.minmax.scaleout</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2027,25 +1878,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Frequency Limiter Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.frequency.scaleout</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2064,25 +1908,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Monitoring Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2101,25 +1938,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Optimization Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2138,25 +1968,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Min/Max Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2175,25 +1998,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Frequency Limiter Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> diff --git a/testsuites/run-s3p-test.sh b/testsuites/run-s3p-test.sh index 32ff5586..0598f2fc 100755 --- a/testsuites/run-s3p-test.sh +++ b/testsuites/run-s3p-test.sh @@ -1,6 +1,6 @@ #!/bin/bash # ============LICENSE_START======================================================= -# Copyright (C) 2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023-2024 Nordix Foundation. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ export XACML_STAB_TEST_FILE=$TESTDIR/stability/src/main/resources/testplans/stab if [ $1 == "run" ] then - mkdir automate-performance;cd automate-performance; + mkdir automate-s3p-test;cd automate-s3p-test; git clone "https://gerrit.onap.org/r/policy/docker" cd docker/csit diff --git a/testsuites/stability/src/main/resources/testplans/stability.jmx b/testsuites/stability/src/main/resources/testplans/stability.jmx index 2cf36cfc..d21acb40 100755 --- a/testsuites/stability/src/main/resources/testplans/stability.jmx +++ b/testsuites/stability/src/main/resources/testplans/stability.jmx @@ -1,16 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> -<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2"> +<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3"> <hashTree> - <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Stability" enabled="true"> + <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Stability"> <stringProp name="TestPlan.comments">Policy XACML PDP Stability Tests</stringProp> - <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> - <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> - <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> + <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> <collectionProp name="Arguments.arguments"> <elementProp name="DURATION" elementType="Argument"> <stringProp name="Argument.name">DURATION</stringProp> - <stringProp name="Argument.value">${__P(duration, 86400)}</stringProp> + <stringProp name="Argument.value">${__P(duration, 1800)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="USERS" elementType="Argument"> @@ -87,7 +85,7 @@ </elementProp> </TestPlan> <hashTree> - <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> @@ -100,23 +98,26 @@ </collectionProp> </HeaderManager> <hashTree/> - <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true"> + <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <longProp name="ThreadGroup.start_time">1587409928000</longProp> - <longProp name="ThreadGroup.end_time">1587409928000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </SetupThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Monitoring Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -177,21 +178,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -210,7 +196,7 @@ <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -220,6 +206,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Optimization Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -775,21 +769,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -808,7 +787,7 @@ <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -818,6 +797,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Min/Max Guard Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -852,21 +839,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -885,7 +857,7 @@ <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -895,6 +867,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Frequency Limiter Guard Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -929,21 +909,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -962,7 +927,7 @@ <hashTree/> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> - <stringProp name="49586">200</stringProp> + <stringProp name="49587">201</stringProp> </collectionProp> <stringProp name="Assertion.custom_message"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> @@ -972,6 +937,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Monitoring Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -982,21 +955,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1025,6 +983,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Optimization Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1035,21 +1001,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1078,6 +1029,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Min/Max Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1088,21 +1047,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1131,6 +1075,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Frequency Limiter Policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1141,21 +1093,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1221,44 +1158,34 @@ </ResultCollector> <hashTree/> </hashTree> - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check " enabled="true"> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check "> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> + <intProp name="ThreadGroup.ramp_time">10</intProp> + <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> + <longProp name="ThreadGroup.delay">1</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> - <stringProp name="ThreadGroup.ramp_time">10</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> - <stringProp name="ThreadGroup.delay">1</stringProp> - <longProp name="ThreadGroup.start_time">1587409928000</longProp> - <longProp name="ThreadGroup.end_time">1587409928000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <stringProp name="TestPlan.comments">Basic Health Check</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pdpx/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Basic Health Check</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1291,7 +1218,7 @@ if (prev.getResponseCode() == '200') { </JSR223Assertion> <hashTree/> </hashTree> - <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> + <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager"> <collectionProp name="AuthManager.auth_list"> <elementProp name="" elementType="Authorization"> <stringProp name="Authorization.url">${HTTP}://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp> @@ -1344,24 +1271,30 @@ if (prev.getResponseCode() == '200') { </ResultCollector> <hashTree/> </hashTree> - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions" enabled="true"> + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions"> + <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> + <intProp name="ThreadGroup.ramp_time">10</intProp> + <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> + <longProp name="ThreadGroup.delay">1</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp> - <stringProp name="ThreadGroup.ramp_time">10</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">${DURATION}</stringProp> - <stringProp name="ThreadGroup.delay">1</stringProp> - <longProp name="ThreadGroup.start_time">1587409929000</longProp> - <longProp name="ThreadGroup.end_time">1587409929000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions"> + <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1381,22 +1314,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1432,6 +1349,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions with Abbreviated Results" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1451,22 +1377,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1502,6 +1412,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Naming Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1524,22 +1443,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1575,6 +1478,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Optimization Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1599,22 +1511,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1650,6 +1546,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Default Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1675,22 +1580,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1715,6 +1604,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Frequency Limiter Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1743,22 +1641,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1783,6 +1665,15 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Min/Max Guard Decisions" enabled="true"> + <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> + <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -1808,22 +1699,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> - <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -1899,42 +1774,30 @@ if (prev.getResponseCode() == '200') { </ResultCollector> <hashTree/> </hashTree> - <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true"> + <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <longProp name="ThreadGroup.start_time">1587409929000</longProp> - <longProp name="ThreadGroup.end_time">1587409929000</longProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </PostThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Monitoring Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/onap.restart.tca</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1953,25 +1816,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Optimization Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -1990,25 +1846,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Min/Max Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.minmax.scaleout</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2027,25 +1876,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Frequency Limiter Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp> <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.frequency.scaleout</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2064,25 +1906,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Monitoring Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2101,25 +1936,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Optimization Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2138,25 +1966,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Min/Max Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> @@ -2175,25 +1996,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Frequency Limiter Guard Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp> <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> |