aboutsummaryrefslogtreecommitdiffstats
path: root/tests/so/sanity-check/macroflow.robot
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2021-03-11 14:41:39 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2021-03-19 13:10:18 +0000
commit07f0edf35f1ebbbe5642c19ad840fa076d9dff8c (patch)
tree4a79e6faa66fc2572f4883431a16db1bada22b89 /tests/so/sanity-check/macroflow.robot
parent86da3849ae2d9503267c6d04af056e9570de649d (diff)
Updating image version and fixing tests
Plus adding basic test for macroflow Change-Id: Ic21b833b5f466065bb2982783f564f515cab1444 Issue-ID: SO-3579 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'tests/so/sanity-check/macroflow.robot')
-rw-r--r--tests/so/sanity-check/macroflow.robot15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/so/sanity-check/macroflow.robot b/tests/so/sanity-check/macroflow.robot
new file mode 100644
index 00000000..149797a1
--- /dev/null
+++ b/tests/so/sanity-check/macroflow.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+
+*** Test Cases ***
+Healthcheck
+ [Documentation] Runs AAI SIMULATOR Health check
+ Create Session aai_simulator_session https://${REPO_IP}:9993
+ &{headers}= Create Dictionary Accept=text/plain
+ ${resp}= Get Request aai_simulator_session /aai/v19/healthcheck headers=${headers}
+ log to console Received response from AAI SIMULATOR ${resp.text}
+ Should Be Equal As Strings '${resp.status_code}' '200'
+ Should Be Equal As Strings '${resp.text}' 'healthy'