summaryrefslogtreecommitdiffstats
path: root/csit/pap/tests/pap-test.robot
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-12-10 17:17:20 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2021-12-14 14:49:38 +0000
commit794b0c933f409a8cdba8216072103a2abf7207fe (patch)
tree56c1c5fcb18552a33e73303b3cd9898559b2395f /csit/pap/tests/pap-test.robot
parentdb7cf5ea93025864526e466cf71618a5c9eeefa3 (diff)
PAP CSIT changes for spring boot migration
Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/pap/tests/pap-test.robot')
-rw-r--r--csit/pap/tests/pap-test.robot8
1 files changed, 6 insertions, 2 deletions
diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot
index 9fb7e61f..d9713013 100644
--- a/csit/pap/tests/pap-test.robot
+++ b/csit/pap/tests/pap-test.robot
@@ -30,8 +30,12 @@ Consolidated Healthcheck
Metrics
[Documentation] Verify policy pap is exporting prometheus metrics
- ${resp}= GetReq /metrics
- Should Contain ${resp.text} jvm_threads_current
+ 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}
+ Should Contain ${resp.text} jvm_threads_live_threads
Statistics
[Documentation] Verify policy pap statistics