aboutsummaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/api-test.robot
diff options
context:
space:
mode:
Diffstat (limited to 'csit/resources/tests/api-test.robot')
-rw-r--r--csit/resources/tests/api-test.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/csit/resources/tests/api-test.robot b/csit/resources/tests/api-test.robot
index e8679a7f..f3c87de3 100644
--- a/csit/resources/tests/api-test.robot
+++ b/csit/resources/tests/api-test.robot
@@ -140,6 +140,11 @@ GetReq
${resp}= PerformGetRequest ${POLICY_API_IP} ${url} 200 null ${auth}
[return] ${resp}
+ValidateResponseTimeForApi
+ [Arguments] ${url} ${method}
+ [Documentation] Check if url response is under required time for api metrics
+ ValidateResponseTime api-metrics ${url} ${method} 500
+
DeleteReq
[Arguments] ${url} ${expectedstatus}
${auth}= PolicyAdminAuth