diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2021-03-30 11:06:03 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2021-03-30 14:07:24 +0100 |
commit | d6c3b88b98960353daa7fbd61fc4e44656ffff63 (patch) | |
tree | 0d5138b59906775e7f78bc700f05075e483ec204 /testsuites/performance/src/main | |
parent | baee9c938ce5caaa20879c494cce9beb01f3a8e0 (diff) |
Distribution S3P test
Updating scripts and files related to S3P tests.
Issue-ID: POLICY-3113
Change-Id: I6c6d50a2f0e6b47deac5e505fb841eebbbbea437
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'testsuites/performance/src/main')
11 files changed, 13 insertions, 13 deletions
diff --git a/testsuites/performance/src/main/resources/testplans/performance.jmx b/testsuites/performance/src/main/resources/testplans/performance.jmx index 6fd00bfb..d92fe041 100644 --- a/testsuites/performance/src/main/resources/testplans/performance.jmx +++ b/testsuites/performance/src/main/resources/testplans/performance.jmx @@ -10,7 +10,7 @@ <collectionProp name="Arguments.arguments"> <elementProp name="PAP_HOST" elementType="Argument"> <stringProp name="Argument.name">PAP_HOST</stringProp> - <stringProp name="Argument.value">${__P(host,10.2.0.27)}</stringProp> + <stringProp name="Argument.value">${__P(host,10.2.0.110)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="PAP_PORT" elementType="Argument"> @@ -20,7 +20,7 @@ </elementProp> <elementProp name="API_HOST" elementType="Argument"> <stringProp name="Argument.name">API_HOST</stringProp> - <stringProp name="Argument.value">${__P(host,10.2.0.27)}</stringProp> + <stringProp name="Argument.value">${__P(host,10.2.0.110)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="API_PORT" elementType="Argument"> @@ -35,12 +35,12 @@ </elementProp> <elementProp name="DISTRIBUTION_PORT" elementType="Argument"> <stringProp name="Argument.name">DISTRIBUTION_PORT</stringProp> - <stringProp name="Argument.value">7001</stringProp> + <stringProp name="Argument.value">7002</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="DURATION" elementType="Argument"> <stringProp name="Argument.name">DURATION</stringProp> - <stringProp name="Argument.value">${__P(duration, 259200)}</stringProp> + <stringProp name="Argument.value">${__P(duration, 14400)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="SCRIPT_DIR" elementType="Argument"> @@ -50,7 +50,7 @@ </elementProp> <elementProp name="WATCHED_FOLDER" elementType="Argument"> <stringProp name="Argument.name">WATCHED_FOLDER</stringProp> - <stringProp name="Argument.value">${__P(watchedfolder, /tmp/policydistribution/distributionmounts)}</stringProp> + <stringProp name="Argument.value">${__P(watchedfolder, /tmp/policydistribution/distributionmount)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> @@ -87,21 +87,21 @@ <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> <collectionProp name="AuthManager.auth_list"> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">https://${PAP_HOST}:7000/policy/pap/v1</stringProp> + <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> </elementProp> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">https://${API_HOST}:6969/policy/api/v1</stringProp> + <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> </elementProp> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">http://127.0.0.1:6969/</stringProp> + <stringProp name="Authorization.url">http://${DISTRIBUTION_HOST}:${DISTRIBUTION_PORT}/</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> @@ -116,7 +116,7 @@ <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Remove CSAR" enabled="true"> <boolProp name="SystemSampler.checkReturnCode">false</boolProp> <stringProp name="SystemSampler.expectedReturnCode">0</stringProp> - <stringProp name="SystemSampler.command">${SCRIPT_DIR}removecsars.sh</stringProp> + <stringProp name="SystemSampler.command">${SCRIPT_DIR}/removecsars.sh</stringProp> <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="Argument"> @@ -360,7 +360,7 @@ <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Undeploy/Delete Policies" enabled="true"> <boolProp name="SystemSampler.checkReturnCode">false</boolProp> <stringProp name="SystemSampler.expectedReturnCode">0</stringProp> - <stringProp name="SystemSampler.command">${SCRIPT_DIR}clearuppolicies.sh</stringProp> + <stringProp name="SystemSampler.command">${SCRIPT_DIR}/clearuppolicies.sh</stringProp> <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="Argument"> @@ -537,21 +537,21 @@ <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true"> <collectionProp name="AuthManager.auth_list"> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">https://${PAP_HOST}:7000/policy/pap/v1</stringProp> + <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> </elementProp> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">https://${API_HOST}:6969/policy/api/v1</stringProp> + <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> <stringProp name="Authorization.realm"></stringProp> </elementProp> <elementProp name="" elementType="Authorization"> - <stringProp name="Authorization.url">http://127.0.0.1:6969/</stringProp> + <stringProp name="Authorization.url">http://${DISTRIBUTION_HOST}:${DISTRIBUTION_PORT}/</stringProp> <stringProp name="Authorization.username">healthcheck</stringProp> <stringProp name="Authorization.password">zb!XztG34</stringProp> <stringProp name="Authorization.domain"></stringProp> diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_1.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_1.csar Binary files differindex 8fbe9e3b..af2f1b7e 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_1.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_1.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_10.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_10.csar Binary files differindex 49d7cbeb..a7efde6a 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_10.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_10.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_2.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_2.csar Binary files differindex d9e49a95..2d753a9f 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_2.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_2.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_3.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_3.csar Binary files differindex 16260a69..7f79af6c 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_3.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_3.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_4.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_4.csar Binary files differindex 228c710d..cf60e614 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_4.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_4.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_5.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_5.csar Binary files differindex 3e9f73cf..a0cde2f6 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_5.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_5.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_6.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_6.csar Binary files differindex 17b9f117..a3a734fb 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_6.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_6.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_7.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_7.csar Binary files differindex 8cbd3583..57cd9536 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_7.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_7.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_8.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_8.csar Binary files differindex d1047b72..0912002f 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_8.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_8.csar diff --git a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_9.csar b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_9.csar Binary files differindex 9b777de9..98cd56aa 100644 --- a/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_9.csar +++ b/testsuites/performance/src/main/resources/testplans/testCsars/test_csar_9.csar |