Policy XACML PDP Stability Tests false true false POLICY_XACML_PDP_HOST ${__P(host,10.12.6.164)} = DURATION ${__P(duration, 5)} = USERS ${__P(users, 1)} = PORT ${__P(port, 6969)} = continue false -1 ${USERS} 1 true ${DURATION} 1 ${POLICY_XACML_PDP_HOST} 6969 https policy/pdpx/v1/healthcheck GET true false true false Basic Health Check 200 Assertion.response_code false 1 groovy true import groovy.json.JsonSlurper; def res = []; if (prev.getResponseCode() == '200') { def jsonSlurper = new JsonSlurper(); res = jsonSlurper.parseText(prev.getResponseDataAsString()); assert res instanceof Map; assert res.code == 200; assert res.name == "Policy Xacml PDP"; assert res.healthy==true; assert res.message=="alive"; } Accept application/json Content-Type application/json https://${POLICY_XACML_PDP_HOST}:6969/policy/pdpx/v1/healthcheck healthcheck zb!XztG34 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 ${USERS} 1 true ${DURATION} 1 ${POLICY_XACML_PDP_HOST} 6969 https policy/pdpx/v1/statistics GET true false true false Basic Health Check 200 Assertion.response_code false 1 groovy true import groovy.json.JsonSlurper; def res = []; if (prev.getResponseCode() == '200') { def jsonSlurper = new JsonSlurper(); res = jsonSlurper.parseText(prev.getResponseDataAsString()); assert res instanceof Map; assert res.code == 200; assert res.totalPoliciesCount == 0; assert res.permitDecisionsCount == 0; assert res.denyDecisionsCount == 0; assert res.indeterminantDecisionsCount == 0; assert res.notApplicableDecisionsCount == 0; } Accept application/json Content-Type application/json https://${POLICY_XACML_PDP_HOST}:6969/policy/pdpx/v1/statistics healthcheck zb!XztG34 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