diff options
author | 2023-01-19 15:30:30 +0000 | |
---|---|---|
committer | 2023-01-19 21:50:04 +0000 | |
commit | c49f64d146fc89c47aeedfc5f99993785d33e80f (patch) | |
tree | 37be9fc12a757a0b402e5bf763c2f03584032583 /csit/pap | |
parent | 1ef4c1ba986fed2a7611dc0e3c6d071c68d74296 (diff) |
Fix context paths in CSITs
THe context path for API and PAP is now configurable.
Issue-ID: POLICY-4482
Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/pap')
-rw-r--r-- | csit/pap/tests/pap-test.robot | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/csit/pap/tests/pap-test.robot b/csit/pap/tests/pap-test.robot index 8bf32300..624a4150 100644 --- a/csit/pap/tests/pap-test.robot +++ b/csit/pap/tests/pap-test.robot @@ -41,12 +41,12 @@ Consolidated Healthcheck Metrics [Documentation] Verify policy pap is exporting prometheus metrics ${auth}= PolicyAdminAuth - ${resp}= GetMetrics ${POLICY_PAP_IP} ${auth} - 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="PolicyStatusRepository",state="SUCCESS",} 1.0 + ${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",} Statistics [Documentation] Verify policy pap statistics @@ -106,7 +106,7 @@ QueryPdpGroupsAfterUndeploy QueryPolicyAuditAfterUnDeploy [Documentation] Verify policy audit record after undeploy - Sleep 130 seconds + Sleep 20 seconds QueryPolicyAudit /policy/pap/v1/policies/audit 200 testGroup pdpTypeA onap.restart.tca UNDEPLOYMENT QueryPolicyAuditWithMetadataSetAfterUnDeploy |