From b46d137c04a78f62d097f680e016558b815bd915 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Fri, 9 Jul 2021 12:51:10 +0100 Subject: Expose Prometheus metrics for monitoring Issue-ID: CPS-492 Signed-off-by: puthuparambil.aditya Change-Id: I264066bd543daf2a45f2ec9a6b8cdf8012927828 --- csit/tests/cps-data/cps-data.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'csit/tests/cps-data') diff --git a/csit/tests/cps-data/cps-data.robot b/csit/tests/cps-data/cps-data.robot index 9fd8451d28..e7334ae11e 100644 --- a/csit/tests/cps-data/cps-data.robot +++ b/csit/tests/cps-data/cps-data.robot @@ -23,7 +23,7 @@ Library Collections Library OperatingSystem Library RequestsLibrary -Suite Setup Create Session CPS_HOST ${CPS_HOST} +Suite Setup Create Session CPS_URL http://${CPS_HOST}:${CPS_PORT} *** Variables *** @@ -37,14 +37,14 @@ Create Data Node ${uri}= Set Variable ${basePath}/v1/dataspaces/${dataspaceName}/anchors/${anchorName}/nodes ${headers} Create Dictionary Content-Type=application/json Authorization=${auth} ${jsonData}= Get Binary File ${DATADIR}${/}test-tree.json - ${response}= POST On Session CPS_HOST ${uri} headers=${headers} data=${jsonData} + ${response}= POST On Session CPS_URL ${uri} headers=${headers} data=${jsonData} Should Be Equal As Strings ${response.status_code} 201 Get Data Node by XPath ${uri}= Set Variable ${basePath}/v1/dataspaces/${dataspaceName}/anchors/${anchorName}/node ${params}= Create Dictionary xpath=/test-tree/branch[@name='Left']/nest ${headers}= Create Dictionary Authorization=${auth} - ${response}= Get On Session CPS_HOST ${uri} params=${params} headers=${headers} expected_status=200 + ${response}= Get On Session CPS_URL ${uri} params=${params} headers=${headers} expected_status=200 ${responseJson}= Set Variable ${response.json()} Should Be Equal As Strings ${responseJson['name']} Small -- cgit 1.2.3-korg