summaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/api-test.robot
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2023-07-14 08:42:33 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-14 08:42:33 +0000
commita9e3d48571d7d3c958ac981c6eda60ed3b951279 (patch)
tree6c6d49578c90b558838379bfcd860cf02a206d75 /csit/resources/tests/api-test.robot
parenta3b2a48c3d3810d46aad53b28bc3bafdf226e055 (diff)
parent0fbd752b37e66a06fe419ba7d607d786f5bf8582 (diff)
Merge "Remove statistics from csit tests"
Diffstat (limited to 'csit/resources/tests/api-test.robot')
-rw-r--r--csit/resources/tests/api-test.robot7
1 files changed, 0 insertions, 7 deletions
diff --git a/csit/resources/tests/api-test.robot b/csit/resources/tests/api-test.robot
index e8679a7f..74ea7c4a 100644
--- a/csit/resources/tests/api-test.robot
+++ b/csit/resources/tests/api-test.robot
@@ -14,11 +14,6 @@ Healthcheck
Should Be Equal As Strings ${resp.json()['healthy']} True
Should Be Equal As Strings ${resp.json()['message']} alive
-Statistics
- [Documentation] Verify policy api statistics
- ${resp}= GetReq /policy/api/v1/statistics
- Should Be Equal As Strings ${resp.json()['code']} 200
-
RetrievePolicyTypes
[Documentation] Retrieve all policy types
FetchPolicyTypes /policy/api/v1/policytypes 37
@@ -84,7 +79,6 @@ DeleteSpecificNodeTemplate
DeleteReq /policy/api/v1/nodetemplates/apexMetadata_adaptive/versions/2.3.1 200
DeleteReq /policy/api/v1/nodetemplates/apexMetadata_adaptive/versions/2.3.1 404
-
DeleteSpecificPolicy
[Documentation] Delete a policy named 'onap.restart.tca' and version '1.0.0' using generic api
DeleteReq /policy/api/v1/policies/onap.restart.tca/versions/1.0.0 200
@@ -115,7 +109,6 @@ Metrics
${auth}= PolicyAdminAuth
${resp}= GetMetrics ${POLICY_API_IP} ${auth} /policy/api/v1/
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/healthcheck",}
- Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/statistics",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policytypes",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policies",} 1.0
Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policies/{policyId}/versions/{policyVersion}",} 1.0