false true false SCRIPT_DIR ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)} = rescode 0 = RETRY ${__P(retry, 10)} = RETRY_WAIT ${__P(wait, 1000)} = counter 0 = API_HOST ${__P(apihost,172.19.0.7)} = API_PORT 6969 = PAP_HOST ${__P(paphost,172.19.0.8)} = PAP_PORT 6969 = DISTRIBUTION_HOST ${__P(disthost,172.19.0.2)} = DISTRIBUTION_PORT 6969 = TESTCSARLOCATION ${__P(csardir, ${SCRIPT_DIR}/sample_csar_with_apex_policy.csar)} = DURATION ${__P(duration, 259200)} = DEPLOY_STATUS = 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}/removecsar.sh false 0 ${SCRIPT_DIR}/addcsar.sh ${SCRIPT_DIR}/sample_csar_with_apex_policy.csar = CSAR Copied Successfully Assertion.response_data false 2 ${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 true vars.put("DEPLOY_STATUS", "notset"); beanshell ${__jexl3("${DEPLOY_STATUS}"!="true")} ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/policies/status/defaultGroup/operational.apex.sampledomain/1.0.0 GET true false true false false DEPLOY_STATUS "deploy":(.+?),"state":"SUCCESS" $1$ NotFound 1 ${__jexl3("${DEPLOY_STATUS}"!="true")} false true 60000 false true false ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/pdps GET true false true false $.groups[0].pdpSubgroups[0].policies[0].name operational.apex.sampledomain true false false false ${PAP_HOST} ${PAP_PORT} http policy/pap/v1/policies/deployed GET true false true false $[:2].policy-type onap.policies.controlloop.operational.common.Apex true false false false $[:2].policy-id operational.apex.sampledomain true false false false ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/pdps/policies/operational.apex.sampledomain DELETE true false true false 202 Assertion.response_code false 8 true vars.put("DEPLOY_STATUS", "notset"); groovy ${__jexl3("${DEPLOY_STATUS}"!="[]")} ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/policies/status/ GET true false true false false DEPLOY_STATUS (\W{2}) $1$ NotFound 1 ${__jexl3("${DEPLOY_STATUS}"!="[]")} false true 60000 false true false 120000 ${PAP_HOST} ${PAP_PORT} http /policy/pap/v1/pdps GET true false true false $.groups[0].pdpSubgroups[0].policies operational.apex.sampledomain false true false false 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