summaryrefslogtreecommitdiffstats
path: root/csit/common-library.robot
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-01-19 15:30:30 +0000
committerliamfallon <liam.fallon@est.tech>2023-01-19 21:50:04 +0000
commitc49f64d146fc89c47aeedfc5f99993785d33e80f (patch)
tree37be9fc12a757a0b402e5bf763c2f03584032583 /csit/common-library.robot
parent1ef4c1ba986fed2a7611dc0e3c6d071c68d74296 (diff)
Fix context paths in CSITs
THe context path for API and PAP is now configurable. Issue-ID: POLICY-4482 Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/common-library.robot')
-rw-r--r--csit/common-library.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/common-library.robot b/csit/common-library.robot
index 42d3ed12..95831b0d 100644
--- a/csit/common-library.robot
+++ b/csit/common-library.robot
@@ -113,9 +113,9 @@ QueryPolicyStatus
Should Be Equal As Strings ${responseEntry['state']} SUCCESS
GetMetrics
- [Arguments] ${hostname} ${auth}
+ [Arguments] ${hostname} ${auth} ${context_path}
Log Creating session http://${hostname}:6969
${session}= Create Session policy http://${hostname}:6969 auth=${auth}
- ${resp}= GET On Session policy /metrics expected_status=200
+ ${resp}= GET On Session policy ${context_path}metrics expected_status=200
Log Received response from policy ${resp.text}
[return] ${resp}