diff options
author | 2025-02-25 08:12:19 +0000 | |
---|---|---|
committer | 2025-02-25 14:48:48 +0000 | |
commit | 218b32432a5d96cbbf09bcbc7ba0ff2ecd5be4bf (patch) | |
tree | 272fa211473baa51f592fe1a0c86fea5a4381671 /csit/resources/tests/apex-pdp-test.robot | |
parent | 726faa724804ee355f24e87daea367d098de9185 (diff) |
Update CSIT metric tests
Removal of comma after pdpa metrics in Apex tests
Removal of decisions_created metric test in Xacml - not needed
Issue-ID: POLICY-5190
Change-Id: Icbc4cb0f75a48b207e49d7104cb77427b1c4e121
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'csit/resources/tests/apex-pdp-test.robot')
-rw-r--r-- | csit/resources/tests/apex-pdp-test.robot | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/csit/resources/tests/apex-pdp-test.robot b/csit/resources/tests/apex-pdp-test.robot index cf4c713d..0de2b908 100644 --- a/csit/resources/tests/apex-pdp-test.robot +++ b/csit/resources/tests/apex-pdp-test.robot @@ -58,20 +58,20 @@ Metrics [Documentation] Verify policy-apex-pdp is exporting prometheus metrics ${auth}= PolicyAdminAuth ${resp}= PerformGetRequest ${APEX_IP} /metrics 200 null ${auth} - Should Contain ${resp.text} pdpa_policy_deployments_total{operation="deploy",status="TOTAL",} 3.0 - Should Contain ${resp.text} pdpa_policy_deployments_total{operation="deploy",status="SUCCESS",} 3.0 - Should Contain ${resp.text} pdpa_policy_executions_total{status="SUCCESS",} 3.0 - Should Contain ${resp.text} pdpa_policy_executions_total{status="TOTAL",} 3.0 - Should Match ${resp.text} *pdpa_engine_event_executions{engine_instance_id="NSOApexEngine-*:0.0.1",}* - Should Match ${resp.text} *pdpa_engine_event_executions{engine_instance_id="MyApexEngine-*:0.0.1",}* - Should Match ${resp.text} *pdpa_engine_state{engine_instance_id=*,} 2.0* + Should Contain ${resp.text} pdpa_policy_deployments_total{operation="deploy",status="TOTAL"} 3.0 + Should Contain ${resp.text} pdpa_policy_deployments_total{operation="deploy",status="SUCCESS"} 3.0 + Should Contain ${resp.text} pdpa_policy_executions_total{status="SUCCESS"} 3.0 + Should Contain ${resp.text} pdpa_policy_executions_total{status="TOTAL"} 3.0 + Should Match ${resp.text} *pdpa_engine_event_executions{engine_instance_id="NSOApexEngine-*:0.0.1"}* + Should Match ${resp.text} *pdpa_engine_event_executions{engine_instance_id="MyApexEngine-*:0.0.1"}* + Should Match ${resp.text} *pdpa_engine_state{engine_instance_id=*} 2.0* Should Contain ${resp.text} pdpa_engine_event_executions Should Contain ${resp.text} pdpa_engine_average_execution_time_seconds Should Contain ${resp.text} pdpa_engine_last_execution_time_bucket Should Contain ${resp.text} pdpa_engine_last_execution_time_count Should Contain ${resp.text} pdpa_engine_last_execution_time_sum - Should Match ${resp.text} *pdpa_engine_last_start_timestamp_epoch{engine_instance_id="NSOApexEngine-*:0.0.1",}*E12* - Should Match ${resp.text} *pdpa_engine_last_start_timestamp_epoch{engine_instance_id="MyApexEngine-*:0.0.1",}*E12* + Should Match ${resp.text} *pdpa_engine_last_start_timestamp_epoch{engine_instance_id="NSOApexEngine-*:0.0.1"}*E12* + Should Match ${resp.text} *pdpa_engine_last_start_timestamp_epoch{engine_instance_id="MyApexEngine-*:0.0.1"}*E12* Should Contain ${resp.text} jvm_threads_current *** Keywords *** |