summaryrefslogtreecommitdiffstats
path: root/csit/common-library.robot
diff options
context:
space:
mode:
Diffstat (limited to 'csit/common-library.robot')
-rw-r--r--csit/common-library.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/csit/common-library.robot b/csit/common-library.robot
index 95831b0d..c19f78cd 100644
--- a/csit/common-library.robot
+++ b/csit/common-library.robot
@@ -119,3 +119,8 @@ GetMetrics
${resp}= GET On Session policy ${context_path}metrics expected_status=200
Log Received response from policy ${resp.text}
[return] ${resp}
+
+QueryPrometheus ${query}
+ ${resp}= GET http://localhost:30259/api/v1/query?query=${query} expected_status=200
+ Log Received response from policy ${resp.text}
+ [return] ${resp}