diff options
author | liamfallon <liam.fallon@est.tech> | 2022-09-13 14:31:50 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-09-13 16:15:35 +0100 |
commit | 2b49812712d2d87847f0f00d60397f2131f2bf5b (patch) | |
tree | b16072578b0372d07a72344dc3e158b81f4e2675 /csit/xacml-pdp | |
parent | c8a97bce56677612d63d63da3a814e4501a4a38a (diff) |
Convert CSIT tests to use HTTP rather than HTTPS
This commit converts the CSITs from HTTPS to HTTP. It also does some
refactoring and tidying up on the CSIT environment.
Issue-ID: POLICY-4338
Change-Id: I6f2a3ea672b757f27e47b09183fd4c3f33709135
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/xacml-pdp')
-rw-r--r-- | csit/xacml-pdp/tests/xacml-pdp-test.robot | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/csit/xacml-pdp/tests/xacml-pdp-test.robot b/csit/xacml-pdp/tests/xacml-pdp-test.robot index e19e0042..9532e77b 100644 --- a/csit/xacml-pdp/tests/xacml-pdp-test.robot +++ b/csit/xacml-pdp/tests/xacml-pdp-test.robot @@ -132,8 +132,8 @@ PerformPostRequest [Arguments] ${url} ${params} ${hostname} ${expectedstatus} ${jsonfile} ${filepath} ${auth}= Create List healthcheck zb!XztG34 ${postjson}= Get file ${filepath}/${jsonfile} - Log Creating session https://${hostname}:6969 - ${session}= Create Session policy https://${hostname}:6969 auth=${auth} + Log Creating session http://${hostname}:6969 + ${session}= Create Session policy http://${hostname}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${resp}= POST On Session policy ${url} params=${params} data=${postjson} headers=${headers} expected_status=${expectedstatus} Log Received response from policy ${resp.text} @@ -142,8 +142,8 @@ PerformPostRequest PeformGetRequest [Arguments] ${url} ${expectedstatus} ${auth}= Create List healthcheck zb!XztG34 - Log Creating session https://${POLICY_PDPX_IP}:6969 - ${session}= Create Session policy https://${POLICY_PDPX_IP}:6969 auth=${auth} + Log Creating session http://${POLICY_PDPX_IP}:6969 + ${session}= Create Session policy http://${POLICY_PDPX_IP}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${resp}= GET On Session policy ${url} headers=${headers} expected_status=${expectedstatus} Log Received response from policy ${resp.text} @@ -152,8 +152,8 @@ PeformGetRequest PeformDeleteRequest [Arguments] ${url} ${expectedstatus} ${auth}= Create List healthcheck zb!XztG34 - Log Creating session https://${POLICY_PAP_IP}:6969 - ${session}= Create Session policy https://${POLICY_PAP_IP}:6969 auth=${auth} + Log Creating session http://${POLICY_PAP_IP}:6969 + ${session}= Create Session policy http://${POLICY_PAP_IP}:6969 auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json ${resp}= DELETE On Session policy ${url} headers=${headers} expected_status=${expectedstatus} Log Received response from policy ${resp.text} |