Policy PAP Performance Tests false true true POLICY_PAP_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_PAP_HOST} 6969 https policy/pap/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 PAP"; assert res.healthy==true; assert res.message=="alive"; } Accept application/json Content-Type application/json https://${POLICY_PAP_HOST}:6969/policy/pap/v1/healthcheck healthcheck zb!XztG34 true continue false -1 ${USERS} 1 true ${DURATION} 1 ${POLICY_PAP_HOST} 6969 https policy/pap/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; } Accept application/json Content-Type application/json https://${POLICY_PAP_HOST}:6969/policy/pap/v1/statistics healthcheck zb!XztG34 true