false true false PAP_HOST ${__P(paphost,172.18.0.8)} = PAP_PORT 6969 = API_HOST ${__P(apihost,172.18.0.7)} = API_PORT 6969 = DISTRIBUTION_HOST ${__P(disthost,172.18.0.4)} = DISTRIBUTION_PORT 6969 = DURATION ${__P(duration, 14400)} = SCRIPT_DIR ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)} = WATCHED_FOLDER ${__P(watchedfolder, /tmp/policydistribution/distributionmount)} = POLICIES_UNDEPLOYED = continue false -1 1 1 true ${DURATION} 1 true Accept application/json Content-Type application/json http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 policyadmin zb!XztG34 http://${API_HOST}:${API_PORT}/policy/api/v1 policyadmin zb!XztG34 http://${DISTRIBUTION_HOST}:${DISTRIBUTION_PORT}/ healthcheck zb!XztG34 true false false 0 ${SCRIPT_DIR}removecsars.sh ${WATCHED_FOLDER} = false 0 ${SCRIPT_DIR}addcsars.sh ${SCRIPT_DIR}testCsars = ${WATCHED_FOLDER} = 60000 ${PAP_HOST} ${PAP_PORT} http policy/pap/v1/policies/deployed GET true false true false policies $[*] -1 10 Assertion.response_data false 8 variable policies_matchNr ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/pdps GET true false true false checkpdppolicies $.groups[0].pdpSubgroups[0].policies[*] -1 10 Assertion.response_data false 8 variable checkpdppolicies_matchNr false 0 ${SCRIPT_DIR}/clearuppolicies.sh ${API_HOST} = ${API_PORT} = ${PAP_HOST} = ${PAP_PORT} = vars.put("POLICIES_UNDEPLOYED", "NotSet") false ${__jexl3("${POLICIES_UNDEPLOYED}"!="[]")} ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/policies/status/ GET true false true false false POLICIES_UNDEPLOYED (\W{2}) $1$ NotEmpty 1 ${__jexl3("${POLICIES_UNDEPLOYED}"!="[]")} false true 120000 false true false ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/pdps GET true false true false deletedpolicies $.groups[0].pdpSubgroups[0].policies[*] -1 0 Assertion.response_data false 8 variable deletedpolicies_matchNr false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true continue false -1 3 1 true ${DURATION} 1 true Accept application/json Content-Type application/json http://${PAP_HOST}:${PAP_PORT}/policy/pap/v1 policyadmin zb!XztG34 http://${API_HOST}:${API_PORT}/policy/api/v1 policyadmin zb!XztG34 http://${DISTRIBUTION_HOST}:${DISTRIBUTION_PORT}/ healthcheck zb!XztG34 true false 1000 ${DISTRIBUTION_HOST} ${DISTRIBUTION_PORT} http healthcheck GET true false true false 200 Assertion.response_code false 8 ${DISTRIBUTION_HOST} ${DISTRIBUTION_PORT} http statistics GET true false true false 200 Assertion.response_code false 8 ${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 saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true