From 0132d7a9ea3ad03ed0350a7d89694420a4d8221c Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 23 Jan 2023 09:52:24 +0000 Subject: Make API context path configurable in CSITs Issue-ID: POLICY-4143 Change-Id: I17010b16b03a002130b5a8d619f561c9deab19c8 Signed-off-by: liamfallon --- csit/pap/tests/pap-test.robot | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'csit/pap/tests/pap-test.robot') diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot index 624a4150..e79f6ede 100644 --- a/csit/pap/tests/pap-test.robot +++ b/csit/pap/tests/pap-test.robot @@ -42,11 +42,11 @@ Metrics [Documentation] Verify policy pap is exporting prometheus metrics ${auth}= PolicyAdminAuth ${resp}= GetMetrics ${POLICY_PAP_IP} ${auth} /policy/pap/v1/ - Should Contain ${resp.text} tomcat_sessions_active_current_sessions - Should Contain ${resp.text} jdbc_connections_idle{name="dataSource",} - Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="save",repository="PdpGroupRepository",state="SUCCESS",} - Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findByKeyName",repository="PdpGroupRepository",state="SUCCESS",} - Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PolicyStatusRepository",state="SUCCESS",} + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/healthcheck",} 1.0 + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/components/healthcheck",} 1.0 + Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="save",repository="PdpGroupRepository",state="SUCCESS",} 1.0 + Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findByKeyName",repository="PdpGroupRepository",state="SUCCESS",} 1.0 + Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PolicyStatusRepository",state="SUCCESS",} 1.0 Statistics [Documentation] Verify policy pap statistics -- cgit 1.2.3-korg