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>
diff --git a/csit/common-library.robot b/csit/common-library.robot
index 42d3ed1..95831b0 100644
--- a/csit/common-library.robot
+++ b/csit/common-library.robot
@@ -113,9 +113,9 @@
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}