diff options
Diffstat (limited to 'csit')
-rw-r--r-- | csit/config/pap/papParameters.yaml | 1 | ||||
-rw-r--r-- | csit/pap/tests/pap-test.robot | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/csit/config/pap/papParameters.yaml b/csit/config/pap/papParameters.yaml index e5894acb..9a57ebb6 100644 --- a/csit/config/pap/papParameters.yaml +++ b/csit/config/pap/papParameters.yaml @@ -28,6 +28,7 @@ server: pap: name: PapGroup + aaf: false pdpParameters: heartBeatMs: 120000 updateParameters: diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot index a6d5d42d..9c020ee8 100644 --- a/csit/pap/tests/pap-test.robot +++ b/csit/pap/tests/pap-test.robot @@ -32,7 +32,12 @@ Metrics [Documentation] Verify policy pap is exporting prometheus metrics ${auth}= PolicyAdminAuth ${resp}= GetMetrics ${POLICY_PAP_IP} ${auth} - Should Contain ${resp.text} jvm_threads_live_threads + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/healthcheck",} 1.0 + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/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="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 |