Change-Id: I64d0b00aba255ab0a84be6f1d5ab5a0c063b5df0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
*** Variables ***
-${timeout} 1000
+${timeout} 30
${max_retries} 1
[Arguments] ${prometheus_ip} ${prometheus_port} ${querystring}
Create Session prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries}
- ${resp}= Get Request prometheus /api/v1/query?${querystring} timeout=${timeout}
+ ${resp}= GET On Session prometheus /api/v1/query?${querystring} timeout=${timeout}
Status Should Be 200 ${resp}
[Return] ${resp.json()}