summaryrefslogtreecommitdiffstats
path: root/csit/pap
diff options
context:
space:
mode:
Diffstat (limited to 'csit/pap')
-rw-r--r--csit/pap/tests/pap-test.robot7
1 files changed, 2 insertions, 5 deletions
diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot
index d9713013..a6d5d42d 100644
--- a/csit/pap/tests/pap-test.robot
+++ b/csit/pap/tests/pap-test.robot
@@ -30,11 +30,8 @@ Consolidated Healthcheck
Metrics
[Documentation] Verify policy pap is exporting prometheus metrics
- Log Creating session https://${POLICY_PAP_IP}:6969
- ${policyadmin}= Create list policyadmin zb!XztG34
- ${session}= Create Session policy https://${POLICY_PAP_IP}:6969 auth=${policyadmin}
- ${resp}= GET On Session policy url=/metrics expected_status=200
- Log Received response from policy ${resp.text}
+ ${auth}= PolicyAdminAuth
+ ${resp}= GetMetrics ${POLICY_PAP_IP} ${auth}
Should Contain ${resp.text} jvm_threads_live_threads
Statistics