aboutsummaryrefslogtreecommitdiffstats
path: root/csit/drools-applications
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2021-11-01 10:40:32 +0000
committeradheli.tavares <adheli.tavares@est.tech>2021-11-05 19:18:24 +0000
commit496b301c101f2a21e8408048dc0fd57c59a12d92 (patch)
treecc4761ab8dbe6c29caefd08391a2e06341fe29dd /csit/drools-applications
parent6db3db236b6987af30a6fdb12ae6f9ea017c3856 (diff)
Rename username for API and PAP operations.
Use an account other than healthcheck in API and PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: Id2cbba8e5e5095996622572fbf42383bb854fb43 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/drools-applications')
-rw-r--r--csit/drools-applications/tests/drools-applications-test.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/csit/drools-applications/tests/drools-applications-test.robot b/csit/drools-applications/tests/drools-applications-test.robot
index 60bccfed..a908f79b 100644
--- a/csit/drools-applications/tests/drools-applications-test.robot
+++ b/csit/drools-applications/tests/drools-applications-test.robot
@@ -222,10 +222,10 @@ PeformGetRequest
PerformPostRequest
[Arguments] ${url} ${params} ${hostname} ${port} ${jsonfile} ${filepath} ${contenttype} ${expectedstatus}
- ${auth}= Create List healthcheck zb!XztG34
+ ${auth}= Create List policyadmin 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 https://${hostname}:${port}
+ ${session}= Create Session policy https://${hostname}:${port} auth=${auth}
${headers}= Create Dictionary Accept=application/${contenttype} Content-Type=application/${contenttype}
${resp}= POST On Session policy ${url} params=${params} data=${postjson} headers=${headers} expected_status=${expectedstatus}
Log Received response from policy ${resp.text}