From 45b444a488323b37b442348063f8c5ac8493ce9c Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 29 Mar 2022 13:52:35 +0100 Subject: sp3 tests update on setup - versions of images updated - fix run_tests with extra slash - add call to metrics on stability and performance tests Issue-ID: POLICY-4006 Change-Id: Idad63e9d256e149b224796c486f7322ecbc6ff61 Signed-off-by: adheli.tavares --- .../src/main/resources/testplans/performance.jmx | 51 ++++++++++++++++++++-- .../src/main/resources/testplans/run_test.sh | 4 +- 2 files changed, 50 insertions(+), 5 deletions(-) (limited to 'testsuites/performance/src/main') diff --git a/testsuites/performance/src/main/resources/testplans/performance.jmx b/testsuites/performance/src/main/resources/testplans/performance.jmx index 530f1312..7abd7e4e 100644 --- a/testsuites/performance/src/main/resources/testplans/performance.jmx +++ b/testsuites/performance/src/main/resources/testplans/performance.jmx @@ -10,7 +10,7 @@ PAP_HOST - ${__P(paphost,172.19.0.8)} + ${__P(paphost,172.18.0.8)} = @@ -20,7 +20,7 @@ API_HOST - ${__P(apihost,172.19.0.7)} + ${__P(apihost,172.18.0.7)} = @@ -30,7 +30,7 @@ DISTRIBUTION_HOST - ${__P(disthost,172.19.0.3)} + ${__P(disthost,172.18.0.4)} = @@ -589,6 +589,51 @@ + + + + + + + ${DISTRIBUTION_HOST} + ${DISTRIBUTION_PORT} + http + + metrics + GET + true + false + true + false + + + + + + + + 200 + + + Assertion.response_code + false + 8 + policies_matchNr + + + + + jvm_ + + + Assertion.response_data + false + 2 + policies_matchNr + + + + false diff --git a/testsuites/performance/src/main/resources/testplans/run_test.sh b/testsuites/performance/src/main/resources/testplans/run_test.sh index 7b959587..1022a8e6 100755 --- a/testsuites/performance/src/main/resources/testplans/run_test.sh +++ b/testsuites/performance/src/main/resources/testplans/run_test.sh @@ -1,6 +1,6 @@ #!/bin/bash # ============LICENSE_START======================================================= -# Copyright (c) 2021 Nordix Foundation. +# Copyright (c) 2021-2022 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ # ============LICENSE_END========================================================= DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -JMETER_HOME=~/jmeter/apache-jmeter-5.4.1/ +JMETER_HOME=~/jmeter/apache-jmeter-5.4.1 POLICY_API_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' policy-api) POLICY_PAP_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' policy-pap) -- cgit 1.2.3-korg